- Jul 18, 2015
- 635
- 588
- 157
You need the TeamSpeak 3 PHP Framework! I don't write a tutorial how to use this, because you should know PHP to use this and i don't like to see that somebody just uses copy pasta
PHP:
//Show the ip of your server
$ts3->getAdapterHost()
PHP:
//Show the port of your server
$ts3->virtualserver_port
PHP:
//Show the name of your server
$ts3->virtualserver_name
PHP:
//Show the current uptime of your server
TeamSpeak3_Helper_Convert::seconds($ts3->virtualserver_uptime)
PHP:
//Show the current server version
TeamSpeak3_Helper_Convert::version($ts3->virtualserver_version)
PHP:
//Show the current online clients
$ts3->virtualserver_clientsonline
PHP:
//Show the max clients
$ts3->virtualserver_maxclients