Adding Admins
From SOPWiki
Drunken F00l (Talk | contribs)
(Laid out the format and filled out the adding an admin by SteamID section)
Next diff →
Revision as of 23:36, 9 September 2007
All admins are controlled by the DF_admins.txt file. This file can be found in the {gamedir}\addons\SourceOP folder. All lines in this file that begin with //
are ignored by SourceOP when parsing the file and are just used for commentary purposes.
Contents |
[edit] Adding an Admin by SteamID
At the end of the DF_admins file.txt, on a new line add "SteamID:STEAM_ID_GOES_HERE"
(with quotes). Replace STEAM_ID_GOES_HERE
with the actual SteamID of the admin. Then, on a new line below that, add the {
character. Next, add any directives for the admin. For example, to give the admin full access, simply put baseLevel = 131071
on a new line below the '{'. You can deny access to specific commands by writing denyAdminCmd =
and then the users name for the specific command. After you have added all directives for the admin, close it off by adding a }
character on a new line below all directives.
[edit] Examples
Admin with SteamID STEAM_0:1:5637637 with full access.
"SteamID:STEAM_0:1:5637637" { baseLevel = 131071 }
Admin with SteamID STEAM_0:1:5637637 with full access. This admin must login with the password mypass
before being allowed access to any commands.
"SteamID:STEAM_0:1:5637637" { baseLevel = 131071 password = mypass }
Admin with SteamID STEAM_0:1:5637637 with access to all commands except for the admin_ban command.
"SteamID:STEAM_0:1:5637637" { baseLevel = 131071 denyAdminCmd = ban }