mp_autokick

mp_autokick
<0 / 1>
It is a command that allows you to enable or disable the autokick function, which will automatically kick AFK players and players who cause team damage (also killing their own teammates) repeatedly. Below, we will explore all the facets of this command.
Name:
0 / 1
Description:
Input this to 0 to disable all auto kick functionality. Setting this to 1 will allow for the autokick functionality.
EXTRA INFORMATION
Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Client
Default Value
1

If you want to disable the auto kick feature in CS:GO and CS2, you need to use the mp_autokick command. As its name clearly suggests, it’s a command that will allow you to deactivate or activate this function whenever you wish to.

On this page, we will explore what this command is, how it works, how you can use it and also examples on how it’s implemented in the game.

What is the mp_autokick Command?

Auto-kicking is a built-in function in CS:GO and CS2 to prevent users from altering the normal flow of the game, such as players away from keyboard, and hence unable to play at the moment, as well as potentially toxic players in competitive matches who kill their own teammates deliberately.

In online competitive matches, it’s not uncommon to encounter players who inflict excessive team damage or remain idle for extended periods, which can significantly disadvantage your team. Valve recognized these issues and implemented the auto-kick function to swiftly address them, ensuring a smoother gameplay experience for all participants.

However, Valve introduced the mp_autokick command, also known as the AFK command CSGO, to give players the freedom to enable or disable this function at will. With this command, players can choose whether to automatically kick those who cause excessive team damage or are away from keyboard for extended periods, or allow them to remain in the match without consequences.

As such, this command is only available for server hosts or players with admin rights, bringing the chance to deactivate the auto-kick function, hence allowing users to cause team damage or remain AFK without consequences, in case they want to run their game or server this way.

Understanding the Arguments of the mp_autokick Command

The command only accepts two values: 1 and 0, which correspond to “true” and “false” respectively. By default, the mp_autokick command is set to 1, meaning the autokick function is automatically enabled for all games. Therefore, if you wish to change it, you need to set it to 0 in order to deactivate it.

The command only accepts two numeric arguments, making it impossible to use other arguments such as 3, 4, or 5, because it won’t accept any other value. It’s designed to act as a switch to activate or deactivate the auto-kick function, and only accepts 1 or 0 as valid inputs.

This command doesn’t require you to set sv_cheats at 1 for using it, as it won’t alter the normal mechanics of the game. However, as we previously mentioned, you must have admin rights to use the command, otherwise it won’t work.

Available for CS:GO and CS2

The availability of this command in both CS:GO and CS2 is due to the inclusion of the auto-kick function in both versions. Unlike some commands exclusive to CS:GO, Valve has retained the mp_autokick command for CS2, allowing players to customize private matches and servers in both games.

The command follows the same syntax and rules in both versions of Counter-Strike. To deactivate automatic kicks, set the command to “0” in either CS:GO or CS2. To reactivate it, simply set it to “1”, and the change will apply to both games.

When Should You Deactivate the Auto-Kick Function?

We recommend you to use this command carefully, because deactivating the auto-kick function might lead to getting your game infested by toxic players. Considering it’s a big problem in the world of CS:GO and CS2, you should only deactivate it if you are playing with friends you trust won’t remain idle or cause team damage unnecessarily. 

Nonetheless, if you are just learning the ins and outs of the Competitive game mode in your own private server or match, and you want to do so without risking an automatic kick, it’s a good idea to use this command. Because even if you kill your teammates multiple times, you won’t get kicked.

Therefore, you should only deactivate this function by setting the mp_autokick command to “0” if you’re playing with non-toxic players – preferably your friends – or if you are just getting started along with other players, and you all would like to practice your skills in the Competitive game modes without the risk of getting automatically banned.

Now that you know what this command is and how it works, let’s see how you can use it via console, so you can activate or deactivate the auto-kick function at will.

How to Use the mp_autockick Command

If you want to activate or deactivate the auto-kick function, here is how you can do it by using the mp_autokick command via console:

  1. Press the key “~” to launch the console
  2. Type in the command mp_autokick #
  3. Press enter
  4. The command will execute automatically

You only need to replace “#” for 1 or 0, depending on what you want to accomplish with the command. As we have previously seen, using “1” will activate the auto-kick function, whereas using “0” will deactivate it.

Therefore, if you wanted to prevent the game from automatically kicking players away from keyboard or who cause too much team damage, you’d only need to use the command like this: mp_autokick 0.

On the other hand, if you wanted to reactivate this function, because your game is now full of idle players and those who kill their own teammates just for fun, you’d need to use the command like this: mp_autokick 1.

Now that you have learned how to use the command, let’s check some practical examples on how it’s implemented in CS:GO and CS2.

Examples on How to Use the mp_autokick Command

Because the command only accepts two arguments, we can only explore a limited number of examples, and here you have them.

Disable Auto Kicking

If you want to disable auto kicking, allowing all users to remain in the game even if they’re AFK or cause too much team damage, you only need to use the command like this: mp_autokick 0. Next, just press enter and the command will execute automatically, disabling auto kicking in the game.

Enable Auto Kicking

If you want to enable auto kicking, so all players who are AFK or cause too much team damage will be banned from the game, you just need to use the command like this: mp_autokick 1. Then, press enter and it will execute instantly.

Reset the mp_autokick Command Back to Default

If you played around with the mp_autokick command, and you want to reset it back to default, you only need to input it like this via console: mp_autokick 1. This will reactivate the auto kick feature in CS:GO and CS2 automatically. 

Using Another Argument for the mp_autokick Command

If you input an argument other than “1” or “0” for this command, it won’t work. For instance, typing the command like this in the console won’t have any effect: mp_autokick 5. This is because there’s no action associated with “5” for this command, causing it to fail.