X-Ecutioner
Contributor
- Sep 16, 2015
- 183
- 121
- 175

WORKING ON: Debian Wheezy 7 and Jessie 8.
INFORMATION:
1- The webserver is running on port 80, so if you have already a service bind on that port it will not work.
2- The Bot Version working on the old version TeamSpeak 3 server (3.0.11.4 and older).
If you want it to work on the new version of the TeamSpeak 3 Server ( 3.0.12 and newer), made the update Bot TeamSpeak 3 Client.

STEP 1: Install APP
Code:
apt-get install sudo nano zip tar python curl screen
STEP 2: Install ORACLE JAVA 8
Code:
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
java -version
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
STEP 3: Change Hosts
Code:
nano /etc/hosts
127.0.0.1 ts3musicbot.net
127.0.0.1 www.ts3musicbot.net
STEP 4: Download to directory home
STEP 5: Extraction
Code:
cd /home/
unzip Ts3MusicBot_4.5.0.zip
tar -xvf Ts3MusicBot_v4.tar
tar -xvf Ts3MusicBotServer_4.5.0.tar
STEP 6: Config Ts3MusicBot
Code:
cd /home/Ts3MusicBot/Ts3MusicBotServer_4.5.0/resource/conf
nano server_settings.ini
*if you want to use query mode
Add bot IP in query_whitelist.txt of your teamspeak server.
Set teamspeak security level to 8.
Then configure query login and password on web interface (127.0.0.1:8080)
STEP 7: Launch Ts3MusicBot Emulator
Code:
cd /home/Ts3MusicBot/Ts3MusicBotServer_4.5.0
screen java -jar Ts3MusicBotServer.jar
*CTRL+A D to detach screen from terminal
STEP 8: Launch Ts3MusicBot
Code:
cd /home/Ts3MusicBot/TS3MusicBot
*no query:
screen ./TS3MusicBot_runscript.sh -account [email protected] -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
*with query mode :
screen ./TS3MusicBot_runscript.sh -account [email protected] -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD
*CTRL+A D to detach screen from terminal
STEP 9: READ ME
Code:
Parameter description: (from ts3musicbot.net)
-account: "your account registered at ts3musicbot.net" (or not :) )
-port: optional, default port is 8080. Access over http://yourServer:8080
-webif-pw: secure your webinterface with an admin password (full access).
-webif-pw-user: webinterface password for users (can only control and upload files, no access to settings).
-noquery: Start the TS3MusicBot without server query (webinterface control only).
-max-disk-space: Set the maximum allowed amount of disk space to use in megabyte for music+radio folder.
-disable-ytdl: This flag disables the "youtube to mp3" functionality (if the conversation needs too much cpu, disable this feature).
if not check firewall rules, server_settings.ini and java version
OPTIONAL: UPDATE CLIENT
Code:
1. Go to folder: /Ts3MusicBot/TS3MusicBot/system/.dep/cde-root/client/
2. Download new client: wget http://dl.4players.de/ts/releases/3.0.19.4/TeamSpeak3-Client-linux_amd64-3.0.19.4.run
3. Install new client: ./TeamSpeak3-Client-linux_amd64-3.0.19.4.run
4. Remove old client folder: rm -R client
5. Rename new client folder: "TeamSpeak3-Client-linux_amd64" to "client"
6. Enjoy !

Last edited: