Configuring AMX Mod X
First, open the amxmodx/configs/users.ini file with your favorite text editor. Scroll to the bottom. Admin entries are stored with four options: Authentication, Password, Access Right, Connection Properties.
In the early days of Half-Life 1 it was common to have admins authenticate by name. However, now it is recommended to auth by steamid. An example of a typical admin entry is:
"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
Entries are one-per-line, and each of the four options are space separated, contained in double-quotes. This one means:
- The user has SteamID STEAM_0:0:123456
- The user has no password (steamid-authentication)
- Access rights are levels a through u
- The user is a steamid ("c") and has no password ("e")
It is also possible to authenticate by username:
"BAILOPAN" "mypass" "abcdefghijklmnopqrstu" "a"
To authenticate, BAILOPAN would put this in his client's autoexec.cfg, where "_pw" is the value of "amx_password_field" in amxx.cfg.
setinfo "_pw" "mypass"
For information on what access levels mean, see AMX Mod X Access Levels.
Note: Note: It is important that you do not use the 'z' flag for admins.