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

Admins.cfg Not Permitting Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
trannygranny
Junior Member
Join Date: Jul 2017
Old 07-24-2017 , 16:57   Admins.cfg Not Permitting Commands
Reply With Quote #1

For whatever reason, people that are listed in my admins.cfg with specified permissions are not permitted to use the specified permitted commands.

Code:
"Inverse"
{
	"auth"			"steam"
	"identity"		"STEAM_0:1:105199057"
	"flags"			"ab"
	"immunity"		"1"
	
	"Overrides"
	{
		"sm_votemute"		"allow"
		"votemute"		"allow"
		"sm_votekick"		"allow"
		"votekick"			"allow"
		"sm_votemap"		"allow"
		"votemap"			"allow"
        }
}
The above player does not have permission to use commands that are included with the flags (a, b). Neither the override commands. However, in my admins_simple.ini, all players listed with specified permissions are permitted in the server to use the commands specified.

Code:
"STEAM_0:0:3974567" "z" //me
"STEAM_0:0:24581782" "z" //bboy
"STEAM_0:1:182839201" "2:abcjk" //bedrock
I have restarted my server and refreshed admin cache. Any help is appreciated.

Last edited by trannygranny; 07-24-2017 at 16:58. Reason: fixed code tag
trannygranny is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-24-2017 , 17:17   Re: Admins.cfg Not Permitting Commands
Reply With Quote #2

Are there any errors in your logs about a malformed admins format?
__________________
Neuro Toxin is offline
trannygranny
Junior Member
Join Date: Jul 2017
Old 07-24-2017 , 17:31   Re: Admins.cfg Not Permitting Commands
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
Are there any errors in your logs about a malformed admins format?
Yeah, it says:
Code:
L 07/24/2017 - 15:58:55: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 07/24/2017 - 15:58:55: [admin-flatfile.smx]  (line 51) Section beginning without a matching ending
Although my sections have openings and closings...
trannygranny is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-24-2017 , 17:47   Re: Admins.cfg Not Permitting Commands
Reply With Quote #4

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
{
	"Add all admins here"
	{
	}
	
	"Like This"
	{
	}
	
	"You know"
	{
	}
}
__________________
Do not Private Message @me
Bacardi is offline
trannygranny
Junior Member
Join Date: Jul 2017
Old 07-24-2017 , 19:11   Re: Admins.cfg Not Permitting Commands
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
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
{
	"Add all admins here"
	{
	}
	
	"Like This"
	{
	}
	
	"You know"
	{
	}
}
Okay, so I put a group down for the player, and I added the player to the group from admins.cfg

Code:
//(ADMINS.CFG)

LowMod
{
	"Inverse"
	{
		"auth"			"steam"
		"identity"		"STEAM_0:1:105199057"
		"group"			"LowMods"
	}
}
--------------------------------------------------
"Groups"
{
	"LowMods"
	{
		"flags"	"ab"
		"immunity"	"1"
		
		"Overrides"
		{
			"sm_votekick"	"allow"
			"sm_msay"		"allow"
			"sm_mute"		"allow"
		}
	}
}
Still doesn't work and throws no errors in logs...
trannygranny is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-24-2017 , 20:11   Re: Admins.cfg Not Permitting Commands
Reply With Quote #6

https://forums.alliedmods.net/showpo...54&postcount=3

*edit
In admins.cfg, use first "key" as "admins". Not "lowmod"
__________________
Do not Private Message @me

Last edited by Bacardi; 07-24-2017 at 20:13.
Bacardi is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-24-2017 , 22:45   Re: Admins.cfg Not Permitting Commands
Reply With Quote #7

Try this:

admins.cfg


admin_groups.cfg
__________________
WildCard65 is offline
VPPGamingNetwork
Veteran Member
Join Date: Sep 2012
Location: Japan
Old 07-26-2017 , 19:34   Re: Admins.cfg Not Permitting Commands
Reply With Quote #8

Do you have sourceban?
__________________

We provide MOTD Ads
Net 1 payments
Visit us
VPPGamingNetwork 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 22:43.


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