help me whit ts3 Framework

AndryGabry

Member
Joined
Dec 16, 2016
Messages
26
Reaction score
9
Points
38
English:
How can I get the list of users who have a certain servergoup?

(linux debian 64bit , php ts3)

//MOD EDIT > English only, edited post to only contain English
 
Last edited by a moderator:

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
Check out the ts3admin.class - You'll see your answer in the docs.
 

kalle

high minded
Contributor
Joined
Oct 28, 2015
Messages
411
Reaction score
253
Points
178
English:
How can I get the list of users who have a certain servergoup?

(linux debian 64bit , php ts3)

You could do this:
PHP:
foreach($client->memberOf() as $id => $group)
{
  echo $client . " is  member of " . $group . " (id:" . $id . ")<br />";
}

memberOf is TS3 PHP Framework function.
 

AndryGabry

Member
Joined
Dec 16, 2016
Messages
26
Reaction score
9
Points
38
I'll explain better I'm looking for the way to see (username, client dbid) that are registered in a certain server group, to make sure to add other permissions (thanks to id)
 

senheiser

Member
Joined
May 4, 2016
Messages
41
Reaction score
6
Points
58
Output the ClientList ... You'll see all IDs, IPs and other things. I'm not 100 procent sure if that will output the serversgroups aswell
 

AndryGabry

Member
Joined
Dec 16, 2016
Messages
26
Reaction score
9
Points
38
come stampare la lista nel browser
using serverGroupClientList ( $ sgid )
 
Top