Skip to content

CS:GO: Becoming an Admin

Discover how to grant and manage administrator rights for full server control in CS:GO with Sourcemod

20 November 20265 min read41 Views0 helpful

Don't have your own server yet? Host your Counter-Strike: Global Offensive server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

As an admin, you control your CS:GO server directly in the game. For example, you can kick or ban players, change the map, or start votes. To do this, you use SourceMod. This guide explains how to add yourself and other players as admins, create groups, and grant immunity.

Preparation

Metamod:Source and SourceMod are already preinstalled on your CS:GO server in ZapX. You don't need to install anything yourself. Learn more in our guide Installing plugins.

All admin files are in the csgo/addons/sourcemod/configs folder. You can edit them in the Files tab or via SFTP. For instructions on setting up SFTP access, see our guide Access via SFTP. ZapX creates the addons folder only the first time the server starts and won't overwrite your changes afterward.

Info

Add admins to these files in SourceMod. Then apply your changes by restarting the server or, without restarting, through your server's Console in ZapX (see Applying changes).

Finding your Steam ID

SourceMod usually identifies admins by their Steam ID. Connect to your server, open the developer console, and enter this command:

Code
status

Your Steam ID appears in the player list, for example STEAM_1:1:12345678. Add this ID to the files. It doesn't matter to SourceMod whether it starts with STEAM_0 or STEAM_1. SourceMod also recognizes the format [U:1:24691357].

Adding admins (admins_simple.ini)

For most servers, the admins_simple.ini file is sufficient. Each line contains one admin and their permissions.

  1. Open your server in ZapX and go to the Files tab.
  2. Open the csgo/addons/sourcemod/configs folder, then open the admins_simple.ini file.
  3. Add a line at the end of the file for each admin:
Code
"STEAM_1:1:12345678" "z"
"STEAM_1:0:87654321" "bcdefgk"
  1. Save the file and restart your server using Restart.

In this example, the first admin gets all permissions with z. The second admin can only perform selected actions, such as kicking and banning players.

To also grant an admin immunity, add the value followed by a colon before the permissions. To assign a group from the admin_groups.cfg file, use @:

Code
"STEAM_1:1:12345678" "99:z"
"STEAM_1:0:87654321" "@Moderator"

Permissions (flags)

Each permission is represented by a letter. You can write multiple letters in a row, for example bcdefgk.

FlagPermission
aReserved slot, even when the server is full
bGeneral admin; required for all admins
cKick players
dBan players
eLift bans
fKill or hurt players (slay)
gChange the map or important game settings
hChange most server variables (cvars)
iExecute configuration files
jSpecial chat permissions
kStart votes
lSet a password on the server
mUse RCON commands
nChange sv_cheats and use cheat commands
o to tCustom permissions for plugins (custom1 to custom6)
zAll permissions; ignores other admins' immunity

Adding admins with admins.cfg

Instead of admins_simple.ini, you can use the admins.cfg file in the same folder. This file is easier to manage if you have many admins with groups, immunity, or passwords. The file already contains an empty Admins { } section. Add a separate block for each admin inside it:

Code
Admins
{
	"Max"
	{
		"auth"		"steam"
		"identity"	"STEAM_1:1:12345678"
		"flags"		"z"
		"immunity"	"99"
	}

	"Lena"
	{
		"auth"		"steam"
		"identity"	"STEAM_1:0:87654321"
		"group"		"Moderator"
	}
}
  • auth and identity are required. With "auth" "steam", SourceMod identifies the admin by the Steam ID in identity.
  • flags sets the permissions, and immunity sets the immunity value.
  • group assigns a group. Enter the group name here without @.

Add each admin to only one of the two files. Save the file and restart your server afterward.

Creating admin groups (admin_groups.cfg)

Groups let you avoid setting permissions individually for each admin. Groups are defined in the admin_groups.cfg file in the csgo/addons/sourcemod/configs folder. SourceMod already includes the Full Admins group, which has all permissions (flag z) and an immunity value of 99.

Add your own groups inside the Groups { } section. For example, here's a group for moderators:

Code
	"Moderator"
	{
		"flags"		"bcdefgk"
		"immunity"	"10"
	}

You can then assign the group to an admin in admins_simple.ini using "@Moderator" or in admins.cfg using "group" "Moderator". For the included group, use "@Full Admins" or "group" "Full Admins", respectively. Groups can't inherit from each other, so you need to assign permissions to each group individually.

Immunity

Immunity protects admins from one another. Whether an admin can kick or ban another admin depends on which one has the higher immunity value.

  • A value of 0 means no immunity.
  • If two admins have the same value, they can target each other. You can change this with the sm_immunity_mode setting in the csgo/cfg/sourcemod/sourcemod.cfg file. A value of 2 also protects admins from others with the same value.
  • Admins with the z permission aren't checked for immunity, so they can target any player.
  • If an admin has an immunity value, but their group has a higher one, the admin gets the group's higher value.

Applying changes

After every change to the admin files, restart your server using Restart. Your new permissions will then take effect.

You can also apply the changes without restarting by using your server's Console in ZapX. While the server is running, open the Console tab and enter this command:

Code
sm_reloadadmins

SourceMod will then reload all admins and groups.

Info

Command input is new for CS:GO. If your server was created before this feature was available, it needs a one-time update. If the console says “Your server isn't accepting commands yet,” apply the offered update: when you open your server, the Update available window appears. Click Apply update there. The server will be briefly re-created, but your game data will remain intact. A regular restart isn't enough. If you don't see an update, contact support.

Alternatively, you can use RCON. You can find your RCON password in the Configuration tab under Startup parameters, in the RCON password field. Connect to your server, open the developer console, and enter these commands:

Code
rcon_password [your RCON password]
rcon sm_reloadadmins
Warning

Only share your RCON password with people you trust. RCON gives full control over your server.

Using admin commands in the game

Connect to your server. To open the admin menu, enter sm_admin in the developer console. You can also enter all admin commands in chat. To do this, use ! instead of sm_ before the command, for example !admin or !kick. Use / instead of ! to keep your command from appearing in chat to other players.

If the menu doesn't open, check your Steam ID and make sure you've applied your changes.

Summary

Add admins to csgo/addons/sourcemod/configs/admins_simple.ini or admins.cfg, and groups to admin_groups.cfg. After a restart or running sm_reloadadmins in the Console, you'll have your admin permissions in the game. For an overview of all the sections of your server, see our guide Dashboard overview.

If you have questions or need help, our support team is here for you every day! 🙂

Free tools

CS:GO Tools

View all

FAQ

Frequently asked questions

No. Metamod:Source and SourceMod are already preinstalled on CS:GO servers in ZapX. You can find the admin files in the Files tab, in the csgo/addons/sourcemod/configs folder.
The easiest option is csgo/addons/sourcemod/configs/admins_simple.ini, with one line per admin. For example, "STEAM_1:1:12345678" "z" grants all permissions. To manage groups, immunity, or passwords, use admins.cfg in the same folder, with a separate block for each admin.
Connect to your server and enter status in the developer console. Your Steam ID appears in the player list. It doesn't matter to SourceMod whether it starts with STEAM_0 or STEAM_1.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.