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

!admin [SM] You do not have access to this command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
insertnamehere1012
New Member
Join Date: Sep 2014
Old 09-02-2014 , 10:19   !admin [SM] You do not have access to this command
Reply With Quote #1

I locally host a server for me and my friends to play on, normally I could use admin commands. But suddenly it just completely stopped working and I get [SM] You do not have access to this command. I never tried using !admin before it stopped
I have tried adding myself in admins_simple.ini and also admins.cfg, also I have tried adding myself by SteamId and also Ip and Name but it didnt work. I also tried reinstalling the server, sourcemod and metamod. I also only have the default sourcemod plugins. I also did sm_reloadadmins multiple times
My 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
{
    "(InsertNameHere)"
    {
        "auth"            "ip"
        "identity"        "192.168.1.1"
        "flags"            "z"
    }
        "(InsertNameHere)"
    {
        "auth"            "ip"
        "identity"        "!192.168.1.1"
        "flags"            "z"
    }
        "(InsertNameHere)"
    {
        "auth"            "ip"
        "identity"        "!127.0.0.1"
        "flags"            "z"
    }
        "(InsertNameHere)"
    {
        "auth"            "ip"
        "identity"        "127.0.0.1"
        "flags"            "z"
    }
}
Plz help!
Edit: Nevermind, I fixed it. For anyone trying to fix this, update sourcemod to 1.6.2 and it will work.

Last edited by insertnamehere1012; 09-02-2014 at 10:40.
insertnamehere1012 is offline
Chesterfield
Senior Member
Join Date: Apr 2013
Old 09-02-2014 , 11:01   Re: !admin [SM] You do not have access to this command
Reply With Quote #2

You shouldnt use IP for admins, better steam ID.

you should use the admin_simple.ini file and put admins like this

//Yourname
"STEAM_ID" "99:z"

//Friendname
"STEAM_ID" "99:z"

//Friendname
"STEAM_ID" "99:z"
Chesterfield is offline
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 09-03-2014 , 14:34   Re: !admin [SM] You do not have access to this command
Reply With Quote #3

What game is this?
If TF2, I believe you need at least 1.6.2-4558
xSpeced is offline
goodBEan
Senior Member
Join Date: Jul 2010
Location: St. Louis Mo USA
Old 09-07-2014 , 12:14   Re: !admin [SM] You do not have access to this command
Reply With Quote #4

Is it the same issue I am having on tf2 where valve ditched Steam ID for Uid?

https://forums.alliedmods.net/showthread.php?t=247576
goodBEan 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 19:42.


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