Raised This Month: $32 Target: $400
 8% 

Solved Can't get admin rights


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
goldug
New Member
Join Date: Apr 2017
Old 04-14-2017 , 16:16   Can't get admin rights
Reply With Quote #1

Hello.

I decided to make my own CS:S server and was recommended that I use sourcemods addon.
However, I have gone through every guide in existence that I can find, but I cannot get admin on my own server!
I tried admin_simple.ini and admin.cfg to no avail.
At first I thought it was a matter of not using the right syntax for STEAM_ID, so I tried using password based admin, but that didn't work. I even tried setting my IP as identifier, did not work either!
I'm running out of ideas. What should my admin.cfg look like?

And yes, I've checked that both metamod and sourcemod is loaded and working, every file is in the correct place.
I'm running the server on Linux.

My current admins.cfg:
Code:
"Admins"
{
	"NeXter"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:[U:1:3898063]"
		"group"		"admin"
		"immunity"		"99"
		"flags"		"z"
	}
}
I have tried these also:
Code:
"Admins"
{
	"NeXter"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:1:1949031"
		"group"		"admin"
		"immunity"		"99"
		"flags"		"z"
	}
}
Code:
"Admins"
{
	"NeXter"
	{
		"auth"		"steam"
		"identity"		"[U:1:3898063]"
		"group"		"admin"
		"immunity"		"99"
		"flags"		"z"
	}
}
And the SteamID64, but you get the picture.

I'm getting desperate.

Last edited by goldug; 04-15-2017 at 06:36.
goldug is offline
M3Power
Member
Join Date: Apr 2017
Old 04-14-2017 , 16:59   Re: Can't get admin rights
Reply With Quote #2

Hey,

Try to use admins_simple.ini instead of admins.cfg. You can find it in cstrike/addons/sourcemod/configs/admins_simple.ini

Open it up and add admin. Here is an example of an admin called "Test" on the bottom:

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
//
////////////////////////////////
// U:1:108451187




"Test" "z" "STEAM_0:1:54225593" // Test
"Test" - name of admin
"z" - flag
"STEAM_0:1:54225593" - SteamID
//Test - Comment

Last edited by M3Power; 04-14-2017 at 17:00.
M3Power is offline
goldug
New Member
Join Date: Apr 2017
Old 04-14-2017 , 17:06   Re: Can't get admin rights
Reply With Quote #3

Quote:
Originally Posted by M3Power View Post
Hey,

Try to use admins_simple.ini instead of admins.cfg. You can find it in cstrike/addons/sourcemod/configs/admins_simple.ini

Open it up and add admin. Here is an example of an admin called "Test" on the bottom:
As I already said, I have tried admins_simple already, but I copied yours and exchanged it for my steam_id just in case I typed something wrong. Didn't work.

EDIT: I noticed that my server was still going even though I typed "quit" in the command and it seemed to shut down. Apparantly I had like 20 instances of the server going. Rebooting to see if this fixes it...

EDIT2: Yep. Ignore me, I'm dumb.

Last edited by goldug; 04-14-2017 at 17:32. Reason: I'm dumb.
goldug 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:51.


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