Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You need jre 8 and root privileges to launch the web server.
- You need a real Linux VM (KVM) not an openVZ container to run the bot.
- LINK TO DOWNLOAD version Linux:
- https://mega.nz/#!hIsTkbaZ (code: !grOUByXmRffuqx-YSh-GGwWlmSp5FwCtvQvpbCy3Ago)
- TUTORIAL: Debian 7 or 8 x64
- Step 1: Install Java Oracle 8
- http://www.webupd8.o...-in-debian.html
- Step 2: Modify hosts
- nano /etc/hosts
- 127.0.0.1 ts3musicbot.net
- 127.0.0.1 www.ts3musicbot.net
- Step 3: Extract Ts3MusicBotServer_4.5.0 and TS3MusicBot_v4
- tar -xvf TS3MusicBot_v4.tar
- tar -xvf Ts3MusicBotServer_4.5.0.tar
- Step 4: Edit server_settings.ini and add you're Ip server and Port
- nano Ts3MusicBotServer_4.5.0/resource/conf/server_settings.ini
- NOTA: 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 5: Install Screen
- apt-get install screen
- Step 6: Launch Emulator
- Go to folder : Ts3MusicBotServer_4.5.0
- screen java -jar Ts3MusicBotServer.jar
- Step 7: Launch Ts3MusicBot
- Go to folder : TS3MusicBot
- You choice with query mode or no query:
- #no query:
- screen ./TS3MusicBot_runscript.sh -account fake@email.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
- #query mode :
- screen ./TS3MusicBot_runscript.sh -account fake@email.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD
- #exemple with query mode :
- screen ./TS3MusicBot_runscript.sh -account fake@email.com -port 8080 -webif-pw admin -webif-pw-user user
- INFO:
- Parameter description: (from ts3musicbot.net)
- -account: "your account registered at ts3musicbot.net" (or not :D )
- -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).
- Step 8: Everything should work fine now !
- if not check firewall rules, server_settings.ini and java version
- Enjoy it!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement