Page 1 of 1

How do I add an admin?

Posted: Sun Mar 02, 2008 3:02 pm
by Nick|NFo
The easiest way is to add them under the AMXmodx section of Easy Setup on your control panel.

Manually:
You can also add admins via file manager, you need to edit addons/amxmodx/configs/users.ini. We recommend that you add users in this format:

"STEAMID" "" "ACCESSLETTERS" "ce"

Add one line to the bottom of that file for each user you wish to add. STEAMID represents the user's STEAMID/unique ID, and ACCESSLETTERS represents a combination of letters from this list:

Access flags:
a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
b - reservation (can join on reserved slots)
c - amx_kick command
d - amx_ban and amx_unban commands
e - amx_slay and amx_slap commands
f - amx_map command
g - amx_cvar command (not all cvars will be available)
h - amx_cfg command
i - amx_chat and other chat commands
j - amx_vote and other vote commands
k - access to sv_password cvar (by amx_cvar command)
l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
m - custom level A (for additional plugins)
n - custom level B
o - custom level C
p - custom level D
q - custom level E
r - custom level F
s - custom level G
t - custom level H
u - menu access
z - user (no admin)
For instance, if my SteamID were STEAM_0:1:3810, I might add the following line to give myself full access:

"STEAM_0:1:3810" "" "abcdefghijklmnopqrstu" "ce"

Please do not give admins the z access flag, or they will have issues with a bunch of admin commands because it means "no admin".