configs/admins_simple.ini
author David Anderson <dvander@alliedmods.net>
Wed Jul 25 01:18:11 2007 +0000 (2007-07-25)
changeset 1163 0bb03cb6277b
parent 1161 b122ca4464ec
child 1170 d152a2d9011b
permissions -rw-r--r--
- added MenuAction_DisplayItem callback for plugins
- fixed various bugs in MenuAction_Display
- added an "access" parameter for IMenuManager. better to do this now than later, even though it's not used yet
- hard bumped menu api to change the OnMenuDisplayItem callback. sorry!
     1 //
     2 // READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
     3 //
     4 // For each admin, you need three settings:
     5 //  "identity"		"permissions"		"password"
     6 //
     7 // For the Identity, you can use a SteamID or Name.  To use an IP address, prepend a ! character.
     8 // For the Permissions, you can use a flag string and an optional password.
     9 //
    10 // PERMISSIONS:
    11 //  Flag definitions are in "admin_levels.cfg"
    12 //  You can combine flags into a string like this:
    13 //  "abcdefgh"
    14 //  There is also one additional "magic" flag, $, which gives admins default immunity.
    15 //
    16 //  If you want to specify a group instead of a flag, use an @ symbol.  Example:
    17 //  "@Full Admins"
    18 //
    19 // PASSWORDS:
    20 //  Passwords are generally not needed unless you have name-based authentication.
    21 //  In this case, admins must type this in their console:
    22 //
    23 //   setinfo "KEY" "PASSWORD"
    24 //
    25 //  Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
    26 //  is their password.  With name based authentication, this must be done before
    27 //  changing names or connecting.  Otherwise, SourceMod will automatically detect
    28 //  the password being set.
    29 //
    30 ////////////////////////////////
    31 // Examples:
    32 //   "STEAM_0:1:16"		"bce"				//kick, ban, slay for this steam ID
    33 //   "127.0.0.1"		"z"					//all permissions for this ip
    34 //   "BAILOPAN"			"abc"	"Gab3n"		//name BAILOPAN, password "Gab3n": gets reservation, kick, ban
    35 //
    36 ////////////////////////////////
    37  
    38 "!127.0.0.1" "$z"
    39