Skip to main content

CS 1.6: Become an admin on your own server

Administrator rights allows you to make changes directly in the game on your server without having to change it in the Config. Adding an admin is done via the users.ini config. To be able to become an admin and find those files you have to install AMXmodX and Metamod first. If you haven't done this yet, then the following guide is worth a look: AMXmodX/Metamod + Plugins

In order to edit the users.ini config file, you need to connect to the server via FTP. There you have to navigate to the /gXXXX/cs16/cstrike/addons/amxmodx/configs directory. As next we open the Config with a text editor and modify it.

...
; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"

"loopback" "" "abcdefghijklmnopqrstu" "de"

In the config the entry "loopback" "" "abcdefghijklmnopqrstu" "en" must be adjusted. Back then the authentication was done only by name and password. Nowadays it is only done via the the SteamID64. You can find your SteamID64 by opening your Steam profile and right-clicking anywhere on it. There you click on Copy Steam URL.

Afterwards, the URL must be typed in one of the following websites:

image

This will provide you the general account information as well as the Steam ID. In this case we only need the SteamID64. The Steam ID must then be added to the client entry under SteamID. The result of this looks like this:

"STEAM_0:0:XXXXXX" "" "abcdefghijklmnopqrstu" "ce"

The line contains the following information:

  1. name/SteamID - Unique ID of the player.
  2. password - none available if Steam authentication
  3. permission level
  4. connection flags - The flags control how AMX Mod X attempts to authorize a connecting admin.

In that case, no password is needed since it is an authentication via Steam. Therefore we set ce instead of en. Below you can find an overview of all authorization levels and connection flags:

Authorization level

Authorization levelDescription
aimmunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
breservation (can join on reserved slots)
camx_kick command
damx_ban and amx_unban commands
eamx_slay and amx_slap commands
famx_map command
gamx_cvar command (not all cvars will be available)
hamx_cfg command
iamx_chat and other chat commands
jamx_vote and other vote commands
kaccess to sv_password cvar (by amx_cvar command)
laccess to amx_rcon command and rcon_password cvar (by amx_cvar command)
mcustom level A (for additional plugins)
ncustom level B (for additional plugins)
ocustom level C (for additional plugins)
pcustom level D (for additional plugins)
qcustom level E (for additional plugins)
rcustom level F (for additional plugins)
scustom level G (for additional plugins)
tcustom level H (for additional plugins)
umenu access
zuser (no admin)

Connection flags

FlagDescription
adisconnect player on invalid password
bclan tag
cthis is steamid/wonid
dthis is ip
epassword not checked (only name/ip/steamid needed)