/** * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES. * * Each admin should have its own "Admin" section, followed by a name. * The name does not have to be unique. * * Available properties: (Anything else is filtered as custom) * "auth" - REQUIRED - Auth method to use. Built-in methods are: * "steam" - Steam based authentication * "name" - Name based authentication * "ip" - IP based authentication * Anything else is treated as custom. * * "identity" - REQUIRED - Identification string, for example, a steamid or name. * "password" - Optional password to use. * "group" - Inherits a set of group permissions. * "flags" - Inherits a set of flags. * "immunity" - Sets an immunity to a group (* for all, empty string for default users) * CommandGroups - See the Permissions section. * Commands - See the Permissions section. * * Example: "BAILOPAN" { "auth" "steam" "identity" "STEAM_0:1:16" "flags" "abcdef" } * */ Admins { } /** * 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 { "reservation" "a" "kick" "b" "ban" "c" "unban" "d" "slay" "e" "changemap" "f" "cvars" "g" "configs" "h" "chat" "i" "votes" "j" "password" "h" "rcon" "i" //Custom flags START //Custom flags END //Note - root is a magic access flag that grants all permissions. "root" "z" } /** * By default, commands are registered with three pieces of information: * 1)Command Name (for example, "csdm_enable") * 2)Command Group Name (for example, "CSDM") * 3)Command Level (for example, "changemap") * You can override the default flags assigned to individual commands or command groups in this way. * You can specify either a one-character, lower-case flag, or a named flag from "Levels." * Examples: * "CSDM" "i" * "csdm_enable" "j" */ Overrides { CommandGroups { } Commands { } } } Permissions { //Lastly, you can define groups for admins. This helps organize large admin lists. Groups { /** * Allowed properties for a group: * * "flags" - Flag string (you can use -/+ as allowed earlier). * "inherit" - Inherits permissions from another group. * "immunity" - Specifies a group to be immune to. Use "*" for all or "" for users with no group. * Note: You can use - to strip immunity from a group, in the case of inheritance. */ "Sample" { /** * You can override commands and command groups here. * Specify a command name or group and either "allow" or "deny" * You can have multiple entries for both sections in order to override/tweak them. * Examples: * "CSDM" "allow" * "csdm_enable" "deny" */ CommandGroups { } Commands { } } } }