Sunday, 13 October 2013

How to Add Admins in Amx CS 1.6 server

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
  • Open HLDS\cstrike\addons\amxmodx\configs\users.ini with text editor (like Notepad)
  • 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
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
ocustom level C
pcustom level D
qcustom level E
rcustom level F
scustom level G
tcustom level H
umenu access
zuser (no admin)
Account /Connection Flags
adisconnect player on invalid password
bclan tag
cthis is steamid/wonid
dthis is ip
epassword not checked (only name/ip/steamid needed)
  1. 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
aimmunity (can’t be kicked/baned/slayed/slaped and affected by other commmands)
breservation (can join on reserved slots)
camx_kick command=Enable
damx_ban and amx_unban commands=Disbale
eamx_slay and amx_slap commands=Enable
famx_map command=Enable
gamx_cvar command (not all cvars will be available)=Disbale
hamx_cfg command=Disbale
iamx_chat and other chat commands=Enable
jamx_vote and other vote commands=Disbale
kaccess to sv_password cvar (by amx_cvar command)=Disbale
laccess to amx_rcon command and rcon_password cvar (by amx_cvar command)=Disbale
mcustom level A (for additional plugins)=Disbale
ncustom level B=Disbale
ocustom level C=Disbale
pcustom level D=Disbale
qcustom level E=Disbale
rcustom level F=Disbale
scustom level G=Disbale
tcustom level H=Disbale
umenu access=Disbale
zuser (no admin)
Account /Connection Flags
adisconnect player on invalid password
bclan tag=Disbale
cthis is steamid/wonid
dthis is ip
epassword 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