- Additional Requirements
- Web Server with PHP
*This tutorial is based on Linux Ubuntu.
If you want in to run it in the background, start the script in a screen session
- Upload the file to a server
- Extract it
- Edit line 14 to match your server and change the desired offset on line 42
PHP:14 $tsHandle = TeamSpeak3::factory("serverquery://serveradmin:[email protected]:10011/?server_port=9987&blocking=0&nickname=SlotChanger"); 42 $offset = 5; // Current client + OFFSET = Max slots
- If you don't already have it, insatll the php-cli package.
Bash:apt-get install php-cli
- Make sure the file is executable and run it using these command:
PHP:chmod +x /path/to/slotchanger.php php /path/to/slotchanger.php
If you want in to run it in the background, start the script in a screen session
Bash:
sudo apt-get install screen
screen -S slotchangerbot php /path/to/slotchanger.php