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

SourceMod not adding admins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JackRabbit
Junior Member
Join Date: Dec 2018
Old 12-27-2018 , 04:36   SourceMod not adding admins?
Reply With Quote #1

Hey, so I recently installed the newest version of SourceMod onto my Left 4 Dead 2 server and no matter what I do, I cannot get it to register me as one.

I've tried using the admins_simple.ini file with this format:

"STEAM_0:1:176806218" "99:z"

And I've tried using the admins_cfg file with all the required details:

Admins
{
"JackRabbit"
{
"auth" "steam"
"identity" "STEAM_0:1:176806218"
"flags" "z"
"immunity" "99"
}
}

I don't know if I am doing something wrong or what, but I every time I try opening up sm_admin, it just says that I don't have access despite the files looking right. Any suggestions for a fix?

Thank you.
JackRabbit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2018 , 04:50   Re: SourceMod not adding admins?
Reply With Quote #2

*edit
Btw, check your server is not in LAN mode.
Use status command, can you see your steamid ?

Clear admin_simple.ini

Use this admins.cfg file
- Change map or use command sm_reloadadmins

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"
	}
 *
 *	You start add admins below
 *
 */



Admins
{
	"JackRabbit"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:176806218"
		"flags"			"z"
		"immunity"		"99"
	}
}
Make sure you run all required plugins:

rcon sm plugins list
Attached Files
File Type: cfg admins.cfg (1.5 KB, 64 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 12-27-2018 at 05:01.
Bacardi is offline
JackRabbit
Junior Member
Join Date: Dec 2018
Old 12-27-2018 , 05:19   Re: SourceMod not adding admins?
Reply With Quote #3

I checked the status and I do see my Steam ID so it's not in LAN mode.

I cleared out the admins_simple.ini file and put in the admins.cfg file you gave me but still no luck. It still says I have no access. I can't run the sm_reloadadmins command because of this.
JackRabbit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2018 , 05:20   Re: SourceMod not adding admins?
Reply With Quote #4

rcon sm plugins list
__________________
Do not Private Message @me
Bacardi is offline
JackRabbit
Junior Member
Join Date: Dec 2018
Old 12-27-2018 , 05:27   Re: SourceMod not adding admins?
Reply With Quote #5

I apologize, I'm a little ignorant. What do you mean rcon the sm plugin list?

Last edited by JackRabbit; 12-27-2018 at 05:27.
JackRabbit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2018 , 05:34   Re: SourceMod not adding admins?
Reply With Quote #6

If you have dedicated server (srcds) and you can't reach server console, you can remote control your server through game (rcon).
So you not necessary need mods for change server settings.
- With rcon sm plugins list you get whole plugins list.

However, you can join your server and use only
sm plugins
sm plugins 11


you get partial of plugins






*edit edit
You could check in ...addons/sourcemod/logs/
do you have any errors in log files.
__________________
Do not Private Message @me

Last edited by Bacardi; 12-27-2018 at 05:47. Reason: not list in parameters
Bacardi is offline
JackRabbit
Junior Member
Join Date: Dec 2018
Old 12-27-2018 , 05:50   Re: SourceMod not adding admins?
Reply With Quote #7

The server is set up through a third-party site. It's not created through L4D2 Dedicated Server. So honestly, I'm not sure what I should be doing. Again, very ignorant.
JackRabbit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2018 , 05:55   Re: SourceMod not adding admins?
Reply With Quote #8

Join your server, open your console.
type these

sm plugins
sm plugins 11


Or share IP address to me
__________________
Do not Private Message @me

Last edited by Bacardi; 12-27-2018 at 05:56.
Bacardi is offline
JackRabbit
Junior Member
Join Date: Dec 2018
Old 12-27-2018 , 06:03   Re: SourceMod not adding admins?
Reply With Quote #9

Server's IP address is 67.231.246.11:54501

I put those two commands into console and it brought up the list of plugins but other than that, nothing changes.

Last edited by JackRabbit; 12-27-2018 at 06:03.
JackRabbit is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 12-27-2018 , 07:20   Re: SourceMod not adding admins?
Reply With Quote #10

All through depuggin, seems server is not connected in steam and that is why admin access didn't work.

So for now steam validation have bypassed through core.cfg setting...
Bacardi 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 14:52.


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