2007-01-25 03:40:14 +01:00
|
|
|
/**
|
|
|
|
* Use this section to tweak admin permission levels and groupings.
|
|
|
|
* You can also define admin roles in this section.
|
|
|
|
*/
|
|
|
|
Levels
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* These are the default role flag mappings.
|
|
|
|
* You can assign new letters for custom purposes, however you should
|
|
|
|
* not change the default names, as SourceMod hardcodes these.
|
|
|
|
*/
|
|
|
|
Flags
|
|
|
|
{
|
2007-02-07 04:34:24 +01:00
|
|
|
"reservation" "a" //Reserved slots
|
|
|
|
"generic" "b" //Generic admin, required for admins
|
|
|
|
"kick" "c" //Kick other players
|
|
|
|
"ban" "d" //Banning other players
|
|
|
|
"unban" "e" //Removing bans
|
|
|
|
"slay" "f" //Slaying other players
|
|
|
|
"changemap" "g" //Changing the map
|
|
|
|
"cvars" "h" //Changing cvars
|
|
|
|
"config" "i" //Changing configs
|
|
|
|
"chat" "j" //Special chat privileges
|
|
|
|
"vote" "k" //Voting
|
|
|
|
"password" "l" //Password the server
|
|
|
|
"rcon" "m" //Remote console
|
|
|
|
"cheats" "n" //Change sv_cheats and related commands
|
2007-01-25 03:40:14 +01:00
|
|
|
|
2007-02-07 04:34:24 +01:00
|
|
|
/**
|
|
|
|
* Custom flags can be used by plugins, but they can also be used to
|
|
|
|
* for you to expand on the previous groups, using Overrides.
|
|
|
|
*/
|
2007-01-25 03:40:14 +01:00
|
|
|
|
2007-02-07 04:34:24 +01:00
|
|
|
"custom1" "o"
|
|
|
|
"custom2" "p"
|
|
|
|
"custom3" "q"
|
|
|
|
"custom4" "r"
|
|
|
|
"custom5" "s"
|
|
|
|
"custom6" "t"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Root is a magic access flag that grants all permissions.
|
|
|
|
* This should only be given to trusted administrators.
|
|
|
|
* Root users can only be targetted by other root users.
|
|
|
|
*/
|
2007-01-25 03:40:14 +01:00
|
|
|
"root" "z"
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* By default, commands are registered with three pieces of information:
|
|
|
|
* 1)Command Name (for example, "csdm_enable")
|
2007-02-07 04:34:24 +01:00
|
|
|
* 2)Command Group Name (for example, "CSDM")
|
2007-01-25 03:40:14 +01:00
|
|
|
* 3)Command Level (for example, "changemap")
|
|
|
|
* You can override the default flags assigned to individual commands or command groups in this way.
|
2007-01-30 00:54:04 +01:00
|
|
|
* To override a group, use the "@" character before the name. Example:
|
2007-01-25 03:40:14 +01:00
|
|
|
* Examples:
|
2007-02-07 04:34:24 +01:00
|
|
|
* "@CSDM" "b" // Override the CSDM group to 'b' flag
|
|
|
|
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
|
2007-01-25 03:40:14 +01:00
|
|
|
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
|
|
|
|
* any setting that csdm_enable previously had.
|
|
|
|
*/
|
|
|
|
Overrides
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|