SHOW:
|
|
- or go back to the newest paste.
| 1 | You need jre 8 and root privileges to launch the web server. | |
| 2 | You need a real Linux VM (KVM) not an openVZ container to run the bot. | |
| 3 | ||
| 4 | LINK TO DOWNLOAD version Linux: | |
| 5 | https://mega.nz/#!hIsTkbaZ (code: !grOUByXmRffuqx-YSh-GGwWlmSp5FwCtvQvpbCy3Ago) | |
| 6 | ||
| 7 | TUTORIAL: Debian 7 or 8 x64 | |
| 8 | Step 1: Install Java Oracle 8 | |
| 9 | http://www.webupd8.o...-in-debian.html | |
| 10 | ||
| 11 | Step 2: Modify hosts | |
| 12 | nano /etc/hosts | |
| 13 | 127.0.0.1 ts3musicbot.net | |
| 14 | 127.0.0.1 www.ts3musicbot.net | |
| 15 | ||
| 16 | Step 3: Extract Ts3MusicBotServer_4.5.0 and TS3MusicBot_v4 | |
| 17 | tar -xvf TS3MusicBot_v4.tar | |
| 18 | tar -xvf Ts3MusicBotServer_4.5.0.tar | |
| 19 | ||
| 20 | Step 4: Edit server_settings.ini and add you're Ip server and Port | |
| 21 | nano Ts3MusicBotServer_4.5.0/resource/conf/server_settings.ini | |
| 22 | ||
| 23 | NOTA: if you want to use query mode | |
| 24 | Add bot IP in query_whitelist.txt of your teamspeak server. | |
| 25 | Set teamspeak security level to 8. | |
| 26 | Then configure query login and password on web interface (127.0.0.1:8080) | |
| 27 | ||
| 28 | Step 5: Install Screen | |
| 29 | apt-get install screen | |
| 30 | ||
| 31 | Step 6: Launch Emulator | |
| 32 | Go to folder : Ts3MusicBotServer_4.5.0 | |
| 33 | screen java -jar Ts3MusicBotServer.jar | |
| 34 | ||
| 35 | Step 7: Launch Ts3MusicBot | |
| 36 | Go to folder : TS3MusicBot | |
| 37 | ||
| 38 | You choice with query mode or no query: | |
| 39 | #no query: | |
| 40 | screen ./TS3MusicBot_runscript.sh -account [email protected] -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery | |
| 41 | ||
| 42 | #query mode : | |
| 43 | screen ./TS3MusicBot_runscript.sh -account [email protected] -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD | |
| 44 | ||
| 45 | #exemple with query mode : | |
| 46 | screen ./TS3MusicBot_runscript.sh -account [email protected] -port 8080 -webif-pw admin -webif-pw-user user | |
| 47 | ||
| 48 | INFO: | |
| 49 | Parameter description: (from ts3musicbot.net) | |
| 50 | -account: "your account registered at ts3musicbot.net" (or not :D ) | |
| 51 | -port: optional, default port is 8080. Access over http://yourServer:8080 | |
| 52 | -webif-pw: secure your webinterface with an admin password (full access). | |
| 53 | -webif-pw-user: webinterface password for users (can only control and upload files, no access to settings). | |
| 54 | -noquery: Start the TS3MusicBot without server query (webinterface control only). | |
| 55 | -max-disk-space: Set the maximum allowed amount of disk space to use in megabyte for music+radio folder. | |
| 56 | -disable-ytdl: This flag disables the "youtube to mp3" functionality (if the conversation needs too much cpu, disable this feature). | |
| 57 | ||
| 58 | Step 8: Everything should work fine now ! | |
| 59 | if not check firewall rules, server_settings.ini and java version | |
| 60 | ||
| 61 | Enjoy it! |