Simple Maintenance Bot

crusher44

New Member
May 14, 2017
2
0
13
Simple Maintenance Bot

- The Bot Is About Simple Script Kick All From Script With Reason ' Maintenance '
- You Can edit the reason
- Do Not forget to change ( query ) (username and password )

PHP:
<?php>
// Simple Maintenance Bot By CrusheRz
// framwork files
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
// connect to the server [ do not forget to put your username(serveradmin) + password
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://username:[email protected]:10011/?server_port=9987");
// query clientlist from virtual server
$arr_ClientList = $ts3_VirtualServer->clientList();
// Kick All Clients
$ts3_VirtualServer->clientKick($arr_ClientList, TeamSpeak3::KICK_SERVER, "maintenance");
?>
 

FarisDev

L oryh brx
Contributor
Jun 9, 2016
277
111
107
You are write your copyright because you only changed the kick reason LOL
- Do Not forget to change ( query ) (username and password ) / then why you aren't do the query bot name?, how do you add copyright when you aren't make anything only Changed kick message like Riddic said.
- You can make another idea when the Maintenance turn on everyone in the server moved to Maintenance On room, and add all server a group with Sticky perms. I do not have time to make it, because I'm working in UCP.
- and you are missing <?php>
 
Top