Skip to content
Permalink
Browse files

Updated clientList example

Updated clientList example because the permission
b_virtualserver_client_list seems to have a new default value in newer
teamspeak versions that a clientList without authentication is
impossible
  • Loading branch information...
par0noid
par0noid committed Jul 19, 2016
1 parent bf4d630 commit 13e6eb3b91ef3ec14c3cf09c3532a88481002cbb
Showing with 5 additions and 0 deletions.
  1. +5 −0 examples/clientlist.php
@@ -11,6 +11,8 @@
/*-------SETTINGS-------*/
$ts3_ip = '127.0.0.1';
$ts3_queryport = 10011;
$ts3_user = 'serveradmin';
$ts3_pass = 'password';
$ts3_port = 9987;
/*----------------------*/
@@ -21,6 +23,9 @@
$tsAdmin = new ts3admin($ts3_ip, $ts3_queryport);
if($tsAdmin->getElement('success', $tsAdmin->connect())) {
#login as serveradmin
$tsAdmin->login($ts3_user, $ts3_pass);
#select teamspeakserver
$tsAdmin->selectServer($ts3_port);

0 comments on commit 13e6eb3

Please sign in to comment.
You can’t perform that action at this time.