AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Server Groups (https://forums.alliedmods.net/showthread.php?t=226427)

clutchh 09-17-2013 20:15

Server Groups
 
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.

FlyingMongoose 09-18-2013 15:08

Re: Server Groups
 
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.

WildCard65 09-25-2013 09:04

Re: Server Groups
 
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)


All times are GMT -4. The time now is 12:42.

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