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

Server Groups


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
clutchh
SourceMod Donor
Join Date: Feb 2008
Old 09-17-2013 , 20:15   Server Groups
Reply With Quote #1

Does anyone know if there is a SQL query I can run to give all admins access to a specified server group? This would be a lot easier than editing them individually.
clutchh is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 09-18-2013 , 15:08   Re: Server Groups
Reply With Quote #2

If you have access to PHPMyAdmin you could probably build one yourself without much issue. (I unfortunately don't have a database to test with at the moment.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 09-25-2013 , 09:04   Re: Server Groups
Reply With Quote #3

There's a sm_overrides table that allows you to override commands when you run the sourcemod command in server console: sm_create_adm_tables
Also sm_admin_group(what ever it's name is I don't got access to my database to check), you define which admins are in which group:
Eg for me
Group 1 is owner
I'm index 1 as an admin
in the table sm_admin_group(index, admin index, group index) I put: 1 1 1
To sourcemod this is: the entry in table is read first because it's index 1, it locates admin index 1 which is associated with my entry in sm_admins table, it then finds group index 1 which is the Owner group which has all the flags defined for it, sourcemod assigns me to Owner group and grants me it's rights(which is every flag defined by sourcemod)

Last edited by WildCard65; 10-10-2013 at 11:30. Reason: Added more info.
WildCard65 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 03:28.


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