· 7 years ago · Sep 05, 2018, 09:42 PM
11. REQUIREMENTS:
2• Java has to be installed. You can check if java is installed with following command:
3java -version
4COPY If no java is installed use following command to install it (this package names are for ubuntu/debian if you use an other linux distribution then the package name and install command can be different):
5apt-get install openjdk-7-jre
6COPY or
7apt-get install openjdk-8-jre
8COPY
92. CHOOSE YOUR RUNNING MODE:
10The TS3MusicBot can run in two different modes. One is called query mode, the other is noquery mode.
11• With the query mode you can take advantage of the security bot settings for afk move, welcome message, record kick and much more.
12You can enable the noquery mode with the starting argument -noquery or remove this argument to use the query mode.
13
14IMPORTANT:
15• If you use the TS3MusicBot with enabled query mode and the TS3MusicBot doesn't run on the same server as your teamspeak server you have to whitelist the server ip which runs the TS3MusicBot in the query_ip_whitelist.txt file of your teamspeak server.
163. DOWNLOAD, EXTRACT AND START:
17wget http://download1.ts3musicbot.net/TS3MusicBot_v4.5.tar
18COPY
19tar xfv TS3MusicBot_v4.5.tar
20COPY
21cd TS3MusicBot
22COPY
23./TS3MusicBot_runscript.sh -account logan@ferezy.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
24COPY • To keep the TS3MusicBot running after you close the console start it with screen on the beginning:
25screen ./TS3MusicBot_runscript.sh -account logan@ferezy.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
26COPY Then you can access the TS3MusicBot webinterface with: http://yourServerIp:8080.
27
28PARAMETER DESCRIPTION:
29-account: set your email registered at ts3musicbot.net
30-port: optional, default port is 8080. Access over http://yourServer:8080
31-webif-pw: secure your webinterface with an admin password (full access).
32-webif-pw-user: webinterface password for users (no access to settings, functionality can be limited by the admin).
33-noquery: Start the TS3MusicBot without server query.
34-webif-bind-ip: With this option you can bind the webinterface to a specific ip in your network. Useful for hosters with multiple ip addresses.
35-max-disk-space: Set the maximum allowed amount of disk space to use in megabyte for music+radio folder.
36-web-log-dir: With this flag you can enable and set the directory where the webinterface access logs will be saved. Example: "-web-log-dir /folder/for/log/"
37-number: Can set which configuration should get loaded. Valid values are 1, 2 or 3 (for private licenes only). Example: -number 1
38-secretkey: -secretkey To use with the hoster API. If you start the bot with a hoster secret key from your account panel the license get automatically extended for 30 days if enough money (see the volume license table) is charged in your account balance.
39-disable-ytdl: This flag disables the "youtube to mp3" functionality (if the conversation needs too much cpu, disable this feature).
40-beta: This flag enables the BETA version mode. Please note that the BETA mode will get frequently more updates for testing new features, bugsfixes and other stuff. There can be unfinished functions or bugs.