Gif #1 | Gif #2 |
---|---|
Requirements
- PHP 7.x,
mbstring
- TeamSpeak Server - v3.4.0 (build >= 1536564584) or higher.
- Install the TS3 PHP Framework by manually downloading it or using Composer:
composer require planetteamspeak/ts3-php-framework
- Channels must be as subsubchannels!
screen -AmdS tsbot php bot.php
$cf['bot'] = [
'host' => '127.0.0.1',
'username' => 'franta',
'password' => '9oB2odwh',
'vport' => 9987,
'qport' => 10011,
'nickname' => 'channel sorter',
'channel' => 1, //after connect bot switch to this channel | false to disable this feature
];
$cf['settings'] = [
'interval' => 10,
'main_channel' => 60020, //parent channel of sub-channels that will be sorted
'separator' => '. ' //EXAMPLE: {number}. {channel}
];