How to ban a player from a CS:GO Server

Every CS:GO server comes equipped with a built-in banning system that allows you to prevent unwanted players from connecting and playing on your server. Of course, you can also ban a player that you previously banned if you would like them to be able to play again. 

GETTING A USER's ID

Before you can ban a user, it is important to know what their User ID is. To find it you can use the status command.

After running the command, you will want to locate the user you wish to ban. The data is displayed in the following format:
# [user_id] [number] “[user_name]” [steam_id]

BANNING A PLAYER OR IP ADDRESS

There are different commands that you may use to ban a player from your server.

Command Description
banid [Minutes] [User ID]

 

Example: banid 15 STEAM_1:1:123456789

Bans a user based on their SteamID or Player ID.

Minutes: the number of minutes the ban should be, if set to 0, the ban will be permanent.

User ID: The ID of the user that should be banned.

banip [Minutes] [User IP]

 

Example: ban 60 1.1.1.1

Bans a user based on their IP.

Minutes: the number of minutes the ban should be, if set to 0, the ban will be permanent.

User IP: The IP of the user that should be banned.

UNBANNING A PLAYER OR IP ADDRESS

Unbanning a player works in a similar manner. The following commands can be used to unban a player from your server.

Command Description
removeid [User ID]

 

Example: removeid STEAM_1:1:123456789

Unbans a user based on their SteamID or Ban ID.

User ID: The ID of the user that should be unbanned.

removeip [User IP]

 

Example: ban 60 1.1.1.1

Unbans a user based on their IP.

User IP: The IP of the user that should be unbanned.

VIEWING BANNED PLAYERS OR IP ADDRESSES

Command Description
listid

 

Example: listid

Lists the users in the "banlist".

User ID: The ID of the user that should be unbanned.

listip

 

Example: listip

Lists the IP’s in the "banlist".

User IP: The IP of the user that should be unbanned.

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • csgo, ban, ban a player
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to open or enable the console on your CS:GO Server

CS:GO has its own Developer Console which can be used to run commands on your server. To use the...

How to enable RCON on your CS:GO Server

RCON is an important protocol that allows you to execute commands without joining your server....

How to join your CS:GO Server

HOW TO FIND YOUR SERVER IP In order to join your CS:GO server, you'll need to find your Server's...

How to make your CS:GO Server Private

If you are looking to run a server for your friends or a small group of people, we recommend that...

How to setup player Permissions in CS:GO

Info: In order to make a player an admin, you will need to install Sourcemod and Metamod. You can...