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

HELP! Cannot add admins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
magiixog
Junior Member
Join Date: Apr 2018
Old 05-12-2018 , 11:42   HELP! Cannot add admins
Reply With Quote #1

Hello. I simply... cannot add admins for sourcemod plugin.
I have warmod installed on my server - this server i log into online on clanforge to access the files there.

I have metamod, sourcemod & warmod installed. On launch of server, warmod is launched so it is smooth and successfully runs - but whenever i do !admin in chat or sm_admin in console, it says [SM] You do not have access to this command!

I've looked at tutorials, i've tried adding my steam id in the admin_simple.ini followed by "99:z" or "z" in the file, just literally it doesn't seem to work and it's been doing my head in for the past 24 hours. Please someone help me.

My current admin_simple screenshot
https://imgur.com/Gq9TOi9

My current admin.cfg screenshot
https://imgur.com/igT8BiV

My steamid.io so i'm not putting the wrong id (instead of STEAM_0:1:59442017 i've tried that and also STEAM_1:1:59442017 as the 1 is what comes up when i type status on the server)
https://imgur.com/jmACckc

Can someone PLEASE try help and figure this out with me? I'm so confused nothing will work.
magiixog is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 05-12-2018 , 13:28   Re: HELP! Cannot add admins
Reply With Quote #2

You are missing a quote "" in your admin.cfg for the identity section.
__________________

Last edited by MUN; 05-12-2018 at 13:29.
MUN is offline
magiixog
Junior Member
Join Date: Apr 2018
Old 05-12-2018 , 13:39   Re: HELP! Cannot add admins
Reply With Quote #3

Quote:
Originally Posted by MUN View Post
You are missing a quote "" in your admin.cfg for the identity section.
I fixed that and it's still giving me the same error.. https://imgur.com/SbDkfeh
magiixog is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 05-12-2018 , 13:42   Re: HELP! Cannot add admins
Reply With Quote #4

Try removing the one in admin_simple as you don't need it in both.
__________________
MUN is offline
magiixog
Junior Member
Join Date: Apr 2018
Old 05-12-2018 , 14:31   Re: HELP! Cannot add admins
Reply With Quote #5

Quote:
Originally Posted by MUN View Post
Try removing the one in admin_simple as you don't need it in both.
Done. Still same error message
magiixog is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 05-12-2018 , 14:59   Re: HELP! Cannot add admins
Reply With Quote #6

Have you restart your server &/or used sm_reloadadmins after editing these files?

please copy paste your cfg instead of a screenshot.
Maybe you use '' (two single ') instead of "
__________________
coding & free software

Last edited by shanapu; 05-12-2018 at 14:59.
shanapu is offline
magiixog
Junior Member
Join Date: Apr 2018
Old 05-12-2018 , 15:21   Re: HELP! Cannot add admins
Reply With Quote #7

Quote:
Originally Posted by shanapu View Post
Have you restart your server &/or used sm_reloadadmins after editing these files?

please copy paste your cfg instead of a screenshot.
Maybe you use '' (two single ') instead of "
The server gets force restarted after every change, so yes.
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
{
	"maiL"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:59442017"
		"flags"			"z"
	}
}
Admins.cfg ^


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
//
////////////////////////////////
^ admin_simple

https://steamid.io/lookup/76561198079149763 For my steam ID
magiixog is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 05-12-2018 , 15:39   Re: HELP! Cannot add admins
Reply With Quote #8

Just for giggles type "quit" in console, and see what happens!
__________________
MUN is offline
magiixog
Junior Member
Join Date: Apr 2018
Old 05-12-2018 , 15:43   Re: HELP! Cannot add admins
Reply With Quote #9

Quote:
Originally Posted by MUN View Post
Just for giggles type "quit" in console, and see what happens!
That doesn't really help..
magiixog is offline
MUN
Senior Member
Join Date: Jan 2012
Location: Cali
Old 05-12-2018 , 15:48   Re: HELP! Cannot add admins
Reply With Quote #10

By default, sourcemod doesn't update anything applied to the the admin config. It doesn't restart the server when you make changes. So... quit can help.
__________________
MUN 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 04:49.


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