How to Add Admins in Amx CS 1.6 server
To execute AMX commands through client console (i.e in-game) you need to have Admin access on the server.You can add admins on your server by editing users.ini as follows. File users.ini is located in your HLDS folder
eg. E:\HLDS\cstrike\addons\amxmodx\configs\users.ini
- Add Admins at the bottom of users.ini with format
<name|ip|steamid> <password> <access flags> <account flags>
- Enter 1 entry per line separating the four fields with a space eg.
This Code Make ANy PLayers Full Access
"Noobstrike" "password" "abcdefghijklmnopqrstu" "a"
"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
"123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
To connect to server as a admin users have to type
setinfo "_pw" "pass"
in console before connecting to the server
- Restart the server or type amx_reloadadmins in console to load new users.ini
Access Levels/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) |
Account /Connection Flags
a | disconnect player on invalid password |
b | clan tag |
c | this is steamid/wonid |
d | this is ip |
e | password not checked (only name/ip/steamid needed) |
- If You Want Players Make Admin But Not Full Access
Add This Code In To user.ini"Noobstrike" "pass" "abcfhrtu" "a" "STEAM_0:0:123456" "" "abcfhrtu" "ce" "123.45.67.89" "" "abcfhrtu" "de"
To connect to server as a admin users have to type
setinfo "_pw" "pass"
in console before connecting to the server
- Restart the server or type amx_reloadadmins in console to load new users.ini
Access Levels/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=Enable |
d | amx_ban and amx_unban commands=Disbale |
e | amx_slay and amx_slap commands=Enable |
f | amx_map command=Enable |
g | amx_cvar command (not all cvars will be available)=Disbale |
h | amx_cfg command=Disbale |
i | amx_chat and other chat commands=Enable |
j | amx_vote and other vote commands=Disbale |
k | access to sv_password cvar (by amx_cvar command)=Disbale |
l | access to amx_rcon command and rcon_password cvar (by amx_cvar command)=Disbale |
m | custom level A (for additional plugins)=Disbale |
n | custom level B=Disbale |
o | custom level C=Disbale |
p | custom level D=Disbale |
q | custom level E=Disbale |
r | custom level F=Disbale |
s | custom level G=Disbale |
t | custom level H=Disbale |
u | menu access=Disbale |
z | user (no admin) |
Account /Connection Flags
a | disconnect player on invalid password |
b | clan tag=Disbale |
c | this is steamid/wonid |
d | this is ip |
e | password not checked (only name/ip/steamid needed) |
In <name|ip|steamid> field you can add any name , IP or steam id. To add host as admin type loopback in this field.
To Remove an Admin you can delete that line or put a semi-colon in front of the line.
Adding Admins via Console
You can also add admins via console command amx_addadmin eg.
amx_addadmin "noob" "abcdefghijklmnopqrstu"
amx_addadmin "noob" "abcfhrtu"
Type amx_reloadadmins in console after editing users.ini or restart your server.
Leave Your Comments Here
0 comments:
Post a Comment