This site is a testing version, but all data is shared with the live forum.


Raised This Month: $12 Target: $400
 3% 

Alittle Problem.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Killor1
Junior Member
Join Date: Apr 2011
Old 04-19-2011 , 21:51   Alittle Problem.
Reply With Quote #1

After a little working and coding I still fail to recognize how to "setpassword" in L4d2. =/

"Admins"
{
"Killor1"
{
"auth" "name"
"identity" "Killor1"
"group" "Main Administrators"
"immunity" "99"
"flags" "abcdefghijklmnz"
"password" "d3monhere"
}
}


Is how I got it set up as I want a password to go with my "admin settings".

I would like an explanation on what I did wrong? All I actually need to do is set up a password to access the server.
Killor1 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 04-19-2011 , 21:56   Re: Alittle Problem.
Reply With Quote #2

Why don't you just use Steam ID?
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-20-2011 , 16:07   Re: Alittle Problem.
Reply With Quote #3

Documentation
Adding Admins
Quote:
Passwords

For passwords to work, the server administrator must change the "PassInfoVar" line in addons/sourcemod/configs/core.cfg.
Code:
	/**
	 * Password setinfo key that clients must set.  You must change this in order for
	 * passwords to work, for security reasons.
	 */
	"PassInfoVar"			"_password"
Quote:
For example:
Code:
	"PassInfoVar"			"_sm1337"
addons/sourcemod/configs/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:
	"BAILOPAN"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:16"
		"flags"			"abcdef"
	}
 *
 */
Admins
{
	"BAILOPAN"
	{
		"auth"			"name"
		"identity"		"BAILOPAN"
		"password"		"Gab3n"
		"flags"			"abcdef"
		"immunity"		"1"
	}

	"Some admin"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:17"
		"flags"			"z"
		"immunity"		"99"
	}
}
Quote:
Next, if an admin has a password, he or she must set the password via the setinfo command in the client console. For example, using the examples above, BAILOPAN would need to type:


Name based authentication with password, kick player with that name if not have add password.


For steam and IP authentication, can connect normal to server.
But admin privileges will be behind password.
Attached Thumbnails
Click image for larger version

Name:	name_atuth_password.jpg
Views:	629
Size:	27.6 KB
ID:	85031   Click image for larger version

Name:	name_atuth_password_kick.jpg
Views:	684
Size:	22.1 KB
ID:	85032  
Bacardi is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 04-20-2011 , 18:11   Re: Alittle Problem.
Reply With Quote #4

Bacardi
I can't help but comment on how thorough your posts are.
Always a pleasure to read.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-21-2011 , 01:19   Re: Alittle Problem.
Reply With Quote #5

Quote:
Originally Posted by nightrider View Post
Bacardi
I can't help but comment on how thorough your posts are.
Always a pleasure to read.
Dam, this was straight copyt/paste from AlliedModders Wiki page
Hehahaha...
Bacardi is offline
Killor1
Junior Member
Join Date: Apr 2011
Old 04-21-2011 , 10:45   Re: Alittle Problem.
Reply With Quote #6

Appreciated the help bacardi. I just could comprehend on how to add the admin. Your service has been a good deed. Thanks for it.
Killor1 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode