Admins File

From SOPWiki

(Difference between revisions)
Jump to: navigation, search

Drunken F00l (Talk | contribs)
(New page: This is the file that SourceOP uses to determine the permissions for users. It accepts users either by their name, SteamID, or IP. To denote the start of a user, place a line containing ...)
Next diff →

Revision as of 05:39, 11 May 2007

This is the file that SourceOP uses to determine the permissions for users. It accepts users either by their name, SteamID, or IP.


To denote the start of a user, place a line containing the type of user being defined, a colon (:), and the user identifier all surrounded in quotes. The three types of users are Name, SteamID, and IP.


For example, to add a SourceOP admin by SteamID, you would have a line containing the following:
"SteamID:STEAM_0:0:550269"


Next, the data about the user or admin is to be placed between lines containing solely curly braces ({ and }). The available parameters you can set for a user are as follows:

  • baseLevel - Sets the admin level of the user. Default is 0. The level determines what commands a user has access to. See the [Admin Commands|admin command listing] for more information.
  • password - Sets the password a particular user must use in order for the specified settings to apply. If no password is given, the user will not be required to login for the settings to apply.
  • denyCmd - Denies a user access to a regular player command. As of now, this only applies to hook, jetpack, say, and say_team.
  • addAdminCmd - Adds access to an admin command when given the command's DF_Admins_users_name
  • denyAdminCmd - Denies access to an admin command when given the command's DF_Admins_users_name


[edit] Examples

"SteamID:STEAM_0:1:1234"<br/>
{<br/>
	baseLevel = 127<br/>
	denyAdminCmd = pass<br/>
	addAdminCmd = noclip<br/>
	addAdminCmd = rcon<br/>
	password = exampleuser<br/>
}<br/>

TODO: Finish

Personal tools