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

SM_Admin - No access


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-02-2022 , 09:39   SM_Admin - No access
Reply With Quote #1

Hello, everyone,

I got my gungame server fully up and running. So that everything runs perfectly, I installed Sourcebans++. I followed the instructions exactly and installed everything. Then created me alone as admin.

Bind the whole thing to F1 in the console with the command bind F1 "sm_admin". When I tap F1 nothing happens and the console says I don't have access to it.

I created a group in Sourcebans and registered as an admin. Still, that doesn't work. What did I miss? Many thanks for your help
Hasskasper is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 10-02-2022 , 19:37   Re: SM_Admin - No access
Reply With Quote #2

I dont know if that what you want, but if you want to be an admin, download SourceMod: Here

Then All you need to do is to go to this directory: "addons\sourcemod\configs"

Find file called "admins_simple.ini"

Edit it this way to add admins:
PHP 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
//
////////////////////////////////
 

"STEAM_1:1:xxxxxxxx" "99:z"
"STEAM_1:1:xxxxxxxx" "99:z"
"STEAM_1:1:xxxxxxxx" "99:z"
"STEAM_1:1:xxxxxxxx" "99:z"
"STEAM_1:1:xxxxxxxx" "99:z" 
You need then to restart your server or change the map I think it will also work

Then you should be able to access to "sm_admin"
__________________

Last edited by alasfourom; 10-02-2022 at 19:39.
alasfourom is offline
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-03-2022 , 02:30   Re: SM_Admin - No access
Reply With Quote #3

hello, thank you for your answer. sequentially:

the first thing i tried was to get my admin rights via admins_simple.ini. unfortunately I don't have access to the sm_menu. then updated souremod and metamod, updated sourcebans and entered the admins or just me as admin via sourcebans. none of this works.

but I don't know why I'm not successful with admins_simple.ini.

does nobody have an idea?
Hasskasper is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 10-03-2022 , 03:09   Re: SM_Admin - No access
Reply With Quote #4

Are u using windows or Linux?

and post your "admins_simple.ini" file\text here let me see
__________________

Last edited by alasfourom; 10-03-2022 at 03:11.
alasfourom is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-03-2022 , 03:49   Re: SM_Admin - No access
Reply With Quote #5

You need read SourceBans manual.
I don't remember, but you created admin through sourcebans php page,
or you can disable it from sourcebans configs and use local admins.... something like that.


read manual

*edit
I'm not huge fan of sourcebans plugin
__________________
Do not Private Message @me

Last edited by Bacardi; 10-03-2022 at 03:50.
Bacardi is offline
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-03-2022 , 03:50   Re: SM_Admin - No access
Reply With Quote #6

I use windows for editing, but I imagine that I would have done the whole thing with nano before. I'm slowly losing perspective of all the problems :/.

otherwise my admins_simple.ini looks the same as the one you posted (I'm at work right now, so I can't post the original)

"mysteamid" "99:z"

and it still doesn't work.

should I perhaps overwrite the admins.cfg/groups etc. with the original files? I can't imagine that's the reason, but it would be worth a try.
Hasskasper is offline
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-03-2022 , 05:25   Re: SM_Admin - No access
Reply With Quote #7

Here is my current admins_simple.ini

I completely overwrote all files in the /configs/ folder that it's a clean thing - still doesn't work - no access

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

"STEAM_0:129xxxxx" "99:z"

Last edited by Hasskasper; 10-03-2022 at 05:26.
Hasskasper is offline
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-04-2022 , 07:56   Re: SM_Admin - No access
Reply With Quote #8

No ideas? :/
Hasskasper is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 10-05-2022 , 05:49   Re: SM_Admin - No access
Reply With Quote #9

Did you add the group to the server?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Hasskasper
Junior Member
Join Date: Oct 2022
Old 10-06-2022 , 03:14   Re: SM_Admin - No access
Reply With Quote #10

it's been dealt with. I have completely reset and configured souremod, metamod and gungame - now calls works as it should.
Hasskasper 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 10:26.


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