Page 1 of 1

How to have more than 1 bot on ts3 server?

Posted: Sat Sep 12, 2015 12:44 am
by Spencer454
Hello i have looked all over but i cant find any guides on how to have more than 1 bot on the same ts with the same songs that are installed. Can anyone help?

Re: How to have more than 1 bot on ts3 server?

Posted: Sat Sep 12, 2015 4:33 am
by Shadow86
For english we havent a multibots manual, i try to translate it as good as i can.


Go to your Folder

1.st bot

start it the first time with:
Code: Select all
./TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
If all is fine and the client is connected, write stop in the console and press enter (now he gets shutdown and we can go to the next step)

in the next step setup all things you want. You can change the Port / Set other passwords (they both need to be different)

and then start the TS3MusicBot with screen
Code: Select all
screen -dmS bot1 ./TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
This bot runs now in the background. You can check that with following command:
Code: Select all
screen -ls

Now we repeat the things on top:

and the startcommand:
Code: Select all
screen -dmS bot2 ./TS3MusicBot_runscript.sh -account EMAIL -port 2001 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
And the 3.rd bot:
Code: Select all
screen -dmS bot3 ./TS3MusicBot_runscript.sh -account EMAIL -port 2002 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery

Hints:


The Mulitlicense in some case can mix up the config, if you start the 3 bots to fast, let a little bit time between the starts or make a restart.sh

For example(*Tested on Debian 7 / 64 bit*):
Code: Select all
#!/bin/sh

screen -S bot1 -X stuff 'stop\n'

screen -S bot2 -X stuff 'stop\n'

screen -S bot3 -X stuff 'stop\n'

sleep 5

cd /Path/to your/Folder

echo "start bot1"
screen -dmS bot1 ./TS3MusicBot_runscript.sh -account E-mail -port 2000 -webif-pw tom123 -webif-pw-user jack123 -noquery - number 1

sleep 15

echo "start bot2"

screen -dmS bot2 ./TS3MusicBot_runscript.sh -account E-mail -port 2001 -webif-pw tom123 -webif-pw-user jack123 -noquery -number 2

sleep 15

echo "start bot3"

screen -dmS bot3 ./TS3MusicBot_runscript.sh -account E-mail -port 2002 -webif-pw tom123 -webif-pw-user jack123 - noquery -number 3

i hope that helps you.

greetings

Shadow86

Re: How to have more than 1 bot on ts3 server?

Posted: Fri Sep 18, 2015 7:40 am
by Shadow86
Closed due to no response from you - If you still have questions make a new thread or join our Support-TS3.

greetings

Shadow86

*closed*