Some of you might be wondering – what do the letters "abcdefghijklmnopqrstu" and "de" mean?
These are called flags. Let me explain in more detail with an example from the users.ini file:"127.0.0.1" "" "abcdefghijklmnopqrstu" "de"
The sequence "abcdefghijklmnopqrstu" represents access flags. They define the rights the administrator will have on your server. In this case, we’ve granted full access. You can also assign more limited permissions, for instance, only the ability to kick players. The flag for kicking is "c", and the entry would look like this:"127.0.0.1" "" "c" "de"
Here are all the available access flags, along with a description of what each one does:
AMX Admin Flags -
FLAG | INFO |
a | immunity (can't be kicked/banned/slayed/slapped and affected by other commands) |
b | reservation (can join on reserved slots) |
c | amx_kick command |
d | amx_ban and amx_unban commands (permanent and temporary bans) |
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 |
v | amx_ban and amx_unban commands (temporary bans only, about amx_unban, only self performed ban during map gonna be allowed) |
z | default user (No admin permissions) |
We've covered access flags, now it's the turn of the next type of flags - "account" flags. These define the type of administrator account. By default, account flags "d" and "e" are used to make admin by IP, and only "a" is used for admin by nick.
AMX Account Flags -
FLAG | INFO |
a | disconnect player on an invalid password |
b | clan tag |
c | this is steamid/wonid |
d | this is ip |
e | password is not checked (only name/ip/steamid needed |
k | name or tag is case sensitive. eg: if you set it so the name "Ham" is protected and case sensitive (flags "k" only), then anybody can use the names "haM", "HAM", "ham", etc, but not "Ham" |