Adding Admins

From SOPWiki

Revision as of 23:36, 9 September 2007 by Drunken F00l (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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

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.

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
}

Adding an Admin by Name

Adding an Admin by IP

Personal tools