- Jun 9, 2016
- 277
- 111
- 107
Hello, today I decided to release a bot, that's block people using custom badges plugin, I'm very sorry for this but server owners annoying from that plugin.
------------------------------------------------------------------------------------------------------------
- Developer's : SpeciaL (FarisDev) , PABLO.
- Tutorial Video: *SOON*
- Any bug or something feel free to contact me.
- Start it using cronjob as you like.
------------------------------------------------------------------------------------------------------------
PHP:
<?php
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
$ts3 = TeamSpeak3::factory("serverquery://serveradmin:yourpassword@ip:10011/?server_port=9987&nickname=CustomBadgesBlocker");
$array = array("overwolf=0:", "badges=");
foreach($ts3->clientList(array("client_type" => 0)) as $ts3client){
$nickname = $ts3client["client_nickname"];
$badges = $ts3client["client_badges"];
$badgesReplaced = str_replace($array, "", $badges);
$badgesReplaced2 = str_replace(":", ",", $badgesReplaced);
$count = count(explode(",", $badgesReplaced2));
if($count > 4){
$ts3client->kick(TeamSpeak3::KICK_SERVER, "Stop the custom badges plugin, and join the server!");
}
}
?>
- Developer's : SpeciaL (FarisDev) , PABLO.
- Tutorial Video: *SOON*
- Any bug or something feel free to contact me.
- Start it using cronjob as you like.
Last edited: