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

Can't access admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fragenstein
Member
Join Date: Mar 2005
Old 05-12-2022 , 20:06   Can't access admin menu
Reply With Quote #1

Here's what I've tried. Edited admins.cfg. Edited admins_simple.ini. In server console sm_reloadadmins.
Still getting you don't have permission to access admin menu (in game).

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.
 *
 Admins
	"Fragenstein"
	{
		"auth"		 "steam"
		"identity"	      "STEAM_76561197968912756
		"flags"		 "z"
	}
admins_simple.ini
Code:
"STEAM_76561197968912756"	"99:z"				//generic, kick, unban for this steam ID, no immunity
"!127.0.0.1"		        "99:z"				//all permissions for this ip, immunity value is 99

Last edited by Fragenstein; 05-12-2022 at 20:06.
Fragenstein is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-12-2022 , 22:01   Re: Can't access admin menu
Reply With Quote #2

I believe could be missing a "{" "}" between Admins and Fragenstein.
Probably you should log at sourcemod/logs folder for more info.
Try installing admins.cfg from vanilla Sourcemod download

Also check if sm is installed and running typing "sm plugins list" in server console.
__________________
Marttt is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-12-2022 , 23:01   Re: Can't access admin menu
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
I believe could be missing a "{" "}" between Admins and Fragenstein.
Probably you should log at sourcemod/logs folder for more info.
Try installing admins.cfg from vanilla Sourcemod download

Also check if sm is installed and running typing "sm plugins list" in server console.
Fixed 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
        "Fragenstein"
{
           "auth"			"steam"
		"identity"		      "STEAM_76561197968912756"
		"flags"			"z"
}
sm plugins
Code:
[SM] Listing 43 plugins:
  01 "Admin File Reader" (1.11.0.6883) by AlliedModders LLC
  02 "Admin Help" (1.11.0.6883) by AlliedModders LLC
  03 "Admin Menu" (1.11.0.6883) by AlliedModders LLC
  04 "Anti-Flood" (1.11.0.6883) by AlliedModders LLC
  05 "Basic Ban Commands" (1.11.0.6883) by AlliedModders LLC
  06 "Basic Chat" (1.11.0.6883) by AlliedModders LLC
  07 "Basic Comm Control" (1.11.0.6883) by AlliedModders LLC
  08 "Basic Commands" (1.11.0.6883) by AlliedModders LLC
  09 "Basic Info Triggers" (1.11.0.6883) by AlliedModders LLC
  10 "Basic Votes" (1.11.0.6883) by AlliedModders LLC
  11 "Client Preferences" (1.11.0.6883) by AlliedModders LLC
  12 "Fun Commands" (1.11.0.6883) by AlliedModders LLC
  13 "Fun Votes" (1.11.0.6883) by AlliedModders LLC
  14 "GunGame:SM" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  15 "GunGame:SM Afk Management" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  16 "GunGame:SM Bot Protection" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  17 "GunGame:SM Config Reader" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  18 "GunGame:SM Display Winner" (1.2.16.0) by bl4nk, Otstrel.ru Team
  19 "GunGame:SM Winner Logger" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  20 "GunGame:SM Map Vote Starter" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  21 "GunGame:SM Stats" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  22 "GunGame:SM TK Management" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  23 "GunGame:SM Warmup Configs Execution" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  24 "GunGame:SM Winner Effects" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  25 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
  26 "MapChooser" (1.11.0.6881) by AlliedModders LLC
  27 "Nextmap" (1.11.0.6883) by AlliedModders LLC
  28 "Player Commands" (1.11.0.6883) by AlliedModders LLC
  29 "Reserved Slots" (1.11.0.6883) by AlliedModders LLC
  30 "Rock The Vote" (1.11.0.6881) by AlliedModders LLC
  31 "seDirector" (6.11.2) by seDirector
  32 "DeathMatch:SM" (1.8.0) by Otstrel.ru Team, TigerOx, TechKnow
  33 "DeathMatch:SM Elimination" (1.8.0) by Otstrel.ru Team
  34 "DeathMatch:SM First Spawn" (1.8.0) by Otstrel.ru Team
  35 "DeathMatch:SM Ragdoll Remover" (1.8.0) by Otstrel.ru Team, TigerOx, TechKnow
  36 "DeathMatch:SM Spawn Protection" (1.8.0) by Otstrel.ru Team, TigerOx, TechKnow
  37 "DeathMatch:SM Preset Spawns" (1.8.0) by Otstrel.ru Team, TigerOx, TechKnow
  38 "DeathMatch:SM Weapons Remover" (1.8.0) by Otstrel.ru Team, TigerOx, TechKnow
  39 "Team Balance" (1.2) by Otstrel.ru Team
  40 "StickyNades Lite" (1.3.3) by TigerOx, Tsunami
  41 "Sound Commands" (1.11.0.6883) by AlliedModders LLC
  42 "SuperLogs: CSS" (1.2.4) by psychonic
  43 "SuperLogs: Generic" (1.0) by psychonic
Still not working
Fragenstein is offline
Toranks
Senior Member
Join Date: Dec 2021
Location: Spain
Old 05-12-2022 , 23:29   Re: Can't access admin menu
Reply With Quote #4

Quote:
Originally Posted by Fragenstein View Post
Fixed admins.cfg
[code]

Still not working
Code:
Admins
{
        "Fragenstein"
	{
		"auth"			"steam"
		"identity"		      "STEAM_76561197968912756"
		"flags"			"z"
	}
}
Toranks is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-13-2022 , 02:28   Re: Can't access admin menu
Reply With Quote #5

That is not valid steamid.
https://steamid.io/lookup/76561197968912756

Use
"STEAM_0:0:4323514"

or
"[U:1:8647028]"
__________________
Do not Private Message @me
Bacardi is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-13-2022 , 07:29   Re: Can't access admin menu
Reply With Quote #6

Quote:
Originally Posted by Bacardi View Post
That is not valid steamid.
https://steamid.io/lookup/76561197968912756

Use
"STEAM_0:0:4323514"

or
"[U:1:8647028]"
I thought that looked odd. I did a google search for "how to lookup steam ID and got this..

1. Open the Steam application on your Mac or PC and log in.

2. Open your profile by clicking the button at the top of the screen — it's your profile name in big letters.

3. You should see a URL appear below the button. Your Steam ID is the long string of numbers in that URL.



Thanks, Bacardi
Fragenstein is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-13-2022 , 07:36   Re: Can't access admin menu
Reply With Quote #7

I did notice this when executing sm_reloadadmins

Code:
sm_reloadadmins
L 05/13/2022 - 07:34:41: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 05/13/2022 - 07:34:41: [admin-flatfile.smx]  (line 38) A property was declared outside of a section
L 05/13/2022 - 07:34:41: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
[SM] Admin cache has been refreshed.
Fragenstein is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-13-2022 , 10:55   Re: Can't access admin menu
Reply With Quote #8

Quote:
Originally Posted by Fragenstein View Post
I did notice this when executing sm_reloadadmins

Code:
sm_reloadadmins
L 05/13/2022 - 07:34:41: [admin-flatfile.smx] Error(s) detected parsing addons\sourcemod\configs\admins.cfg
L 05/13/2022 - 07:34:41: [admin-flatfile.smx]  (line 38) A property was declared outside of a section
L 05/13/2022 - 07:34:41: [basecommands.smx] "Console<0><Console><Console>" refreshed the admin cache.
[SM] Admin cache has been refreshed.
:?:
Post what you have in admins.cfg so far when you got that error.

If you did it right, it should look like this and there shouldn't be any errors:
Code:
Admins
{
        "Fragenstein"
	{
		"auth"			"steam"
		"identity"		      "STEAM_0:0:4323514"
		"flags"			"z"
	}
}
__________________
Psyk0tik is offline
Fragenstein
Member
Join Date: Mar 2005
Old 05-14-2022 , 16:03   Re: Can't access admin menu
Reply With Quote #9

Thanks for all the replies. I now have admin (no errors)! Now I just need some players on the server
Fragenstein is offline
DennisSSebasiStephen
New Member
Join Date: Feb 2022
Old 06-01-2022 , 00:18   Re: Can't access admin menu
Reply With Quote #10

It's been a while since I've done it but I'll give it a shot from memory. You need to go to settings and check "allow developer console" then in game when you press ~ it brings up console commands. You need to create your own sever and host it when you make a lobby. Then type in the commands you want. Infinite ammo, God mode, I don't recall the commands but a Google search should shagle voojio get what you need.

Last edited by DennisSSebasiStephen; 09-16-2022 at 07:30.
DennisSSebasiStephen is offline
Reply


Thread Tools
Display Modes

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 07:35.


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