PHP Auto Assign ServerGroup by UniqueID

h1web

VIP
Sep 2, 2015
206
134
131
Hello,

Name of the script: -
Functions of the script: im looking for a way to assign multiple servergroups by the unique TS ident, (not database-ID!)
Why do you want it: I have tons of users/servergroups to move, and i cant do a snapshot backup. if the user connects to the server, it should detect his unique id and move him to multiple servergroups.
Screenshots:
Original source (if any):
Other notes:
I have multiple Unique ID's, every ID has its own list of servergroups, is this makeable?
 

RamboFR05TY

Member
Apr 24, 2016
13
6
35
would you like it to be web based where you enter the ID or would you like it to load the ID from a file like for adding admins to the admin group
 

h1web

VIP
Sep 2, 2015
206
134
131
It can be both, you enter your unique ID, and it assigns the servergroups then.
or: user connects to teamspeak, WEB detects by IP, finds the unique id in a TXT file and assigns the multiple groups
 
Last edited:

h1web

VIP
Sep 2, 2015
206
134
131
The perfect thing would be for me:
I have a PHP script,
i insert the Ident of the User and the servergroups to assign to.

Like this:

qtiBbGVl4eCcU48at0KiKT1PocY= (123,124,521,155)

So the User with the ident qtiBbGVl4eCcU48at0KiKT1PocY= should be added to the servergroups 123,124,521,155
and i should be able to add more lines with more idents / servergroups

$var1 = qtiBbGVl4eCcU48at0KiKT1PocY= (123,124,521,155)
$var2 = qtiBbGasdCcUasd0KiKTasffascY= (222,80)

and so on.. :)
 

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,857
381
What about using Multivitamin's script.
you can assign server groups based on your uid.
it's somewhere in the forum - uploaded
 

h1web

VIP
Sep 2, 2015
206
134
131
In one of the threads it was uploaded about two weeks ago.
It can't be down.
Found it, but the thing is, with that script everyone is able to assign himself every group, which is not the idea of the script. I want to limit the groups by UID
 
Last edited:

Alligatoras

Administrator
Mar 31, 2016
2,570
12
2,857
381
Found it, but the thing is, with that script everyone is able to assign himself every group, which is not the idea of the script. I want to limit the groups by UID
in the settings you can limit what groups people can get and how many to have
check the settings of the script
 

h1web

VIP
Sep 2, 2015
206
134
131
Yeah i know, but i have multiple Groups specific for certain peoples only. Not all peoples should be able to assign themself certain groups.

As example, John should only be able to get Groups: Victim, DotA, Moderator. While Thomas should be able to assign himself just Victim, CS:GO, Fan.
 
Top