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