You should now have an empty notepad window,
the title should read "server.cfg - Notepad". You
will also have a file in the cfg folder called 'server.cfg'.
Now you need to enter some information into
that file for each admin you want on your server.
The format is like this
admin_user "SteamID/IP" 3
One per line.
The 'admin_user' bit is always just that, no
capital letters or spaces and that includes no spaces before
the 'admin'. The steamID bit is unique for each admin you add.
You can get this by looking at 'status' (console command) when
they are in game. You can also use their IP address, this can
be looked up by doing the admin_status command from the game
or server console.
A steam ID should look something like this -
STEAM_0:0:43933 -. You should note that the 'SteamID' is in
" " in the above example. That is _very_ important.
You MUST place " " around the SteamID, if you forget
the command will print an error and admin will not be given.
The number at the end, in the above example
'3', is the level the admin gets, this means what commands they
can do..
Here is a list of all the levels (0 to 3). Each
level gets all the commands for the lower levels (level 1 gets
all of level 0s commands as well as its own).
*Lowest Access (Non-Admin)*
-- Level 0 (Non-Admin, Normal Player)
admin_help
admin_who
-- Level 1 (Basic admin)
admin_kick
admin_map
admin_slay
admin_status
admin_restrict
admin_unrestrict
admin_stuff
-- Level 2 (More access)
admin_ban
admin_clexec
-- Level 3 (Full Admin)
admin_user
admin_svexec
*Highest Access (Full Admin)*
You can not setup admins that use a password
or name/clan-tag for their login. You can only use their SteamIDs.
Examples:
admin_user "STEAM_0:1:29393" 1
admin_user "STEAM_1:0:3939" 3
[There is a single-space between admin_user,
the SteamId and another between the SteamID and the level]
In the above examples I created two new admins,
one with full admin (level 3) and another with basic admin (level
1). Their SteamIDs had " " around them.
IP Example:
admin_user "192.0.0.1" 3
You will need to change map or restart the server
in order for the admins in your server.cfg to get added.
You can also make new admins from the server
console if you have access. If you have level 3 access you can
also do it in-game.
< Back
|