View Single Post
Author Message
sk8terz0mbie
Junior Member
Join Date: May 2013
Location: California,USA
Old 07-07-2013 , 05:59   Can't Add Admins to Sourcemod?
Reply With Quote #1

For Some Reason, I can't add admins to Sourcemod. I'll attach "admins_simple.ini" code and "admins.cfg" code. If you need anymore codes just ask. BTW, I'm installing Sourcebans so if it works then I guess thats good.

Admins_Simple.ini
Code:
//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
//  "identity"		"permissions"		"password"
//
// For the Identity, you can use a SteamID or Name.  To use an IP 

address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional 

password.
//
// PERMISSIONS:
//  Flag definitions are in "admin_levels.cfg"
//  You can combine flags into a string like this:
//  "abcdefgh"
//
//  If you want to specify a group instead of a flag, use an @ 

symbol.  Example:
//  "@Full Admins"
//
//	You can also specify immunity values.  Two examples:
//	"83:abcdefgh"			//Immunity is 83, flags are 

abcdefgh
//	"6:@Full Admins"		//Immunity is 6, group is 

"Full Admins"
//
//	Immunity values can be any number.  An admin cannot target 

an admin with 
//	a higher access value (see sm_immunity_mode to tweak the 

rules).  Default 
//  immunity value is 0 (no immunity).
//
// PASSWORDS:
//  Passwords are generally not needed unless you have name-based 

authentication.
//  In this case, admins must type this in their console:
//
//   setinfo "KEY" "PASSWORD"
//
//  Where KEY is the "PassInfoVar" setting in your core.cfg file, 

and "PASSWORD"
//  is their password.  With name based authentication, this must 

be done before
//  changing names or connecting.  Otherwise, SourceMod will 

automatically detect
//  the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 

'comment')
//
//   "STEAM_0:1:16"		"bce"				

//generic, kick, unban for this steam ID, no immunity
//   "!127.0.0.1"		"99:z"				

//all permissions for this ip, immunity value is 99
//   "BAILOPAN"			"abc"	"Gab3n"		//name 

BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////

	"STEAM_0:1:43531680"	"99:z"
Admins.cfg
Code:
/**
 * 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.
 *					 Note: Only one auth method is allowed per entry.
 *
 *      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
 *					 Note: Only one identity is allowed per entry.
 *
 *      "password"      - Optional password to require.
 *      "group"         - Adds one group to the user's group table.
 *      "flags"         - Adds one or more flags to the user's permissions.
 *		"immunity"		- Sets the user's immunity level (0 = no immunity).
 *						  Immunity can be any value.  Admins with higher 
 *						  values cannot be targetted.  See sm_immunity_mode 
 *						  to tweak the rules.  Default value is 0.
 *
 * Example:

 *
 */
Admins
{

	"Kentucky Fried Carrots"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:43531680"
		"flags"			"abcdefghijklmnopqrstz"
	}
}
__________________
sk8terz0mbie is offline