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 Enable the In-Game Console on Your CS:GO Client

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

How to Add CS:GO Workshop Maps to Your Server

If you want to use a map that isn't one of the standard maps for the game, you will likely need...

How to Add Plugins to Your CS:GO server

Plugins are a great way to spice up your CS:GO server. From adding new items or bots to adding...

How to Adjust Your CS:GO Server Settings

This tutorial will teach you how to adjust your many server settings such as enabling cheats,...

How to Change the Map of Your CS:GO Server

This guide will assist you with changing your map to any map in the game. Before we start, it's...