TS3MusicBot is Discord compatible!
By Shadow86

Step 1.

get Putty or Kitty and Check updates and getting packages

download putty: http://www.putty.org/


download kitty(kitty is a fork of putty): http://www.9bis.net/kitty/?page=Download


Code: Select allapt-get update && apt-get upgrade

Code: Select allapt-get install screen

Now we check if java is installed

Code: Select alljava -version

If Java isnt available (bash command not found) then install java 7 if java 7 isnt available choose 6

Code: Select allapt-get install openjdk-6-jre

Code: Select allapt-get install openjdk-7-jre



If the TS3MusicBot runs on the same machine you dont need to whitelist

If the TS3Musicbot runs on a other machine then you need to whitelist the Ip from the TS3MusicBot on your Teamspeak Server. Add the IP of your Server which runs your TS3MusicBot on into the query_ip_whitelist.txt (can be found in the TS3-Server Folder)

Step 3.

Install TS3MusicBot

First go to

Code: Select allcd /home

then you always know where your TS3MusicBot is in.

Now we download the file over Putty/Kitty. you can find the downloadlink on http://www.TS3Musicbot.net under "How to install" (if you have a valid license).

Code: Select allwget http://link.net

now we "untar" it

Code: Select alltar xfv dateiname.tar

Now there is a folder, because we want all 3 bots we rename and copy them

Code: Select allmv TS3MusicBot ts3mb && cp ts3mb ts3mb1 -R && cp ts3mb ts3mb2 -R

Step 4.

Start the TS3MusicBot

now we are going into the folder:

1.st bot
Code: Select allcd ts3mb

Now we start the first TS3MusicBot with the following command

Code: Select all./TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery

If all went fine the Client should be now online.

Now type
Code: Select allstop
in the console and hit enter (the TS3MusicBot should stop now)

now you can edit your port and also your passwords (they have to be different)

and then we start the whole thing with screen

Code: Select allscreen -dmS bot1 ./TS3MusicBot_runscript.sh -account EMAIL -port 2500 -webif-pw example123 -webif-pw-user example456 -noquery

This TS3MusicBot runs now in the background you can check that by

Code: Select allscreen -ls

now we are going one folder back

Code: Select allcd ..

Now repeat "Step 4." with the folder:


and the command:

Code: Select allscreen -dmS bot2 ./TS3MusicBot_runscript.sh -account EMAIL -port 2510 -webif-pw example123 -webif-pw-user example456 -noquery

and with the folder


and the command

Code: Select allscreen -dmS bot3 ./TS3MusicBot_runscript.sh -account EMAIL -port 2520 -webif-pw example123 -webif-pw-user example456 -noquery

Packages for Ubuntu:

Code: Select allsudo apt-get update && sudo apt-get upgrade

Code: Select allsudo apt-get install screen

Java Check:

Code: Select all java -version

Code: Select allsudo apt-get install openjdk-6-jre

Code: Select allsudo apt-get install openjdk-7-jre

If you really need java 8 there is a repository solution (for Ubuntu and Debian):

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

Packages for CentOS

Code: Select allyum update

Code: Select allyum install screen

Java Check:
Code: Select alljava -version

Code: Select allyum install java-1.6.0-openjdk java-1.6.0-openjdk-devel

Code: Select allyum install java-1.7.0-openjdk java-1.7.0-openjdk-devel

No java Version found on CentOs?

Search for Java:

Code: Select allyum search java | grep -i --color JDK