Base de connaissances Counter-Strike: Source How to Become an Admin on Your Counter-S...

How to Become an Admin on Your Counter-Strike: Source (CS:S) Server

Counter-Strike: Source (CS:S) does not have a built-in admin menu, but SourceMod adds a complete admin system to your server. With it you can kick and ban players, change maps, run votes and give other trusted players their own permissions. This guide shows you how to make yourself an admin and add other admins.

ℹ️ Before You Start: Install SourceMod
The admin system is part of SourceMod, so it has to be installed first. If you have not done this yet, follow the SourceMod install guide in Related Guides below. To check that it is working, type sm version into the Console tab of your panel.

Step 1: Find Your Steam ID

Your Steam ID is how SourceMod recognises you. It looks like STEAM_0:1:12345678.

01
Join your server.
02
Press the tilde key (~) to open the developer console.
03
Type status and press Enter.
04
Find your name in the list of players and copy the Steam ID shown next to it, exactly as it is written.
Developer Console
status

Step 2: Open the Admin File

01
Log into your MintServers panel and open the Files tab on the left-hand sidebar.
02
Follow this path to the admin file:
📁 cstrike (your Counter-Strike: Source game directory)
📁 addons
📁 sourcemod
📁 configs
📄 admins_simple.ini (Click to edit this file)
03
Click on admins_simple.ini to open the text editor.
💡 Tip
The file ends in .ini, not .cfg. If you cannot find a file called admins_simple.cfg, this is why.

Step 3: Add Yourself as an Admin

01
Scroll to the bottom of the file and add a new line with your own Steam ID in place of the example below:
📄 admins_simple.ini
"STEAM_0:1:12345678" "99:z"
02
Click Save Content at the top right of the editor.
03
Go to the Console tab, type the command below and press Enter:
Developer Console
sm_reloadadmins
04
The console should reply with [SM] Admin cache has been refreshed.

In "99:z", the 99 is your immunity level and the z is the root flag, which gives you every permission. This is the right choice for the server owner.

⚠️ Important Warning
The z flag bypasses every permission check and ignores immunity. Only give it to yourself. Other admins should get just the flags they need, as shown below.

Step 4: Test Your Admin Access

01
Reconnect to your server.
02
Open the developer console and type sm_admin, then return to the game. The admin menu should appear. You can also type !admin in chat.
Lance ton serveur Counter-Strike: SourceRAM illimitée · Slots illimités · À partir de $9.99/moisLancer mon serveur

Add More Admins

Every admin gets their own line in admins_simple.ini, in this format:

📄 admins_simple.ini
"STEAM_0:1:12345678" "99:z"
"STEAM_0:0:87654321" "10:bcdfgk"

The second line above gives a moderator immunity level 10 and the flags b, c, d, f, g and k. After editing the file, save it and run sm_reloadadmins again.


Admin Flags

Each permission is a single letter. Add the letters you want an admin to have:

a
Reserved slot access.
b
Generic admin. This flag is required for admins, so always include it.
c
Kick players.
d
Ban players.
e
Remove bans.
f
Slay and harm players.
g
Change the map and major gameplay features.
h
Change most settings.
i
Execute config files.
j
Special chat privileges.
k
Start votes.
l
Set a password on the server.
m
Use RCON commands.
n
Change sv_cheats and use cheat commands.
z
Root. Enables every flag and ignores immunity.

Immunity Levels

The number before the flags is the admin's immunity level. An admin can only target admins with a lower immunity number than their own, and 0 means no immunity. For example, an admin with immunity 10 can kick an admin with immunity 3, but not the other way around. By default, admins with the same number can target each other. Admins with the z flag are never subject to immunity checks.

Useful Admin Commands

You can type these in the developer console, or in chat by putting ! in front instead of sm_. For example, !kick PlayerName. Using / instead of ! hides your message from other players.

sm_admin
Opens the admin menu.
sm_kick <name> [reason]
Kicks a player.
sm_ban <name> <minutes> [reason]
Bans a player. Use 0 minutes for a permanent ban.
sm_unban <steamid>
Removes a ban.
sm_slay <name>
Kills a player.
sm_gag <name> and sm_mute <name>
Blocks a player's text chat or voice chat. Use sm_ungag and sm_unmute to undo.
sm_map <map>
Changes the map.
sm_cvar <setting> [value]
Shows or changes a server setting.
sm_who
Lists players and their admin access.
sm_help
Lists all the admin commands you can use.

Instead of typing a full name, you can target players in several ways:

PlayerName
A full or unique partial name.
#12
The player's user ID from the status command. This is the most reliable option when names contain spaces or symbols.
@all, @ct, @t
Everyone, all Counter-Terrorists, or all Terrorists.
@alive, @dead, @me
All living players, all dead players, or yourself.
💡 Tip
SourceMod gives every admin their own identity and permissions. This is safer than sharing your rcon_password, which gives full control to anyone who has it. For more admin options such as groups and passwords, see the SourceMod Adding Admins guide.

Related Guides

How to Install SourceMod Plugins on Your Counter-Strike: Source Server
Install Metamod:Source and SourceMod first, since the admin system is part of SourceMod.
How to Join Your Counter-Strike: Source (CS:S) Server
Help getting into your server so you can find your Steam ID.

🛠️ Troubleshooting Admin Issues

sm_admin does nothing

Check that SourceMod is loaded by typing meta list in the Console tab. If SourceMod is not listed, follow our plugins guide first.

The admin menu does not appear

Make sure you ran sm_reloadadmins and saw [SM] Admin cache has been refreshed. Then reconnect to the server.

Wrong Steam ID

The ID in admins_simple.ini must be exactly what the status command showed, in the format STEAM_n:o:p and inside quotation marks.

Typed in the wrong console

Type sm_admin in the in-game developer console, not in your panel's Console tab.

Admin with no access

An admin who has only some flags, such as c for kick, also needs the b (generic) flag.

Still stuck?

Our team is happy to help. Open a ticket through the live chat button in the bottom-right corner of our website, or join our Discord and open a ticket there.

Join our Discord

Cet article t'a-t-il été utile ?

Hébergement de serveurs Counter-Strike: Source

Lance ton propre serveur Counter-Strike: Source

Recreation of the original Counter-Strike Support par des experts 24h/24 et 7j/7 Change entre 60 jeux à tout moment
Lancer mon serveur À partir de $9.99/mois  ·  Garantie satisfait ou remboursé pendant 24 heures