Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
1,194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. This is a license server emulator.
  2. It works on Windows and Linux. (Debian 7 x64 and Windows 8.1 tested)
  3. Only tested with TS3MusicBot Linux client.
  4. You need root privileges and java jre 8.
  5. http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
  6.  
  7. 1)sudo su or su root
  8.  
  9. 2)nano /etc/hosts
  10.  
  11. 127.0.0.1 ts3musicbot.net
  12. 127.0.0.1 www.ts3musicbot.net
  13.  
  14. 3) Extract Ts3MusicBotServer_4.5.0
  15.  
  16. tar -xvf Ts3MusicBotServer.tar
  17.  
  18. Go to resource/conf
  19. *edit server_settings.ini
  20.  
  21. *if you want to use query mode
  22. Add bot IP in query_whitelist.txt of your teamspeak server.
  23. Set teamspeak security level to 8.
  24. Then configure query login and password on web interface (127.0.0.1:8080)
  25.  
  26. 4) screen java -jar Ts3MusicBotServer.jar
  27.  
  28. 5) Extract Ts3MusicBot_v4.tar
  29.  
  30. tar -xvf Ts3MusicBot_v4.tar
  31.  
  32. cd Ts3MusicBot
  33.  
  34. no query:
  35.  
  36. screen ./TS3MusicBot_runscript.sh -account fake@email.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery
  37.  
  38. query mode :
  39.  
  40. screen ./TS3MusicBot_runscript.sh -account fake@email.com -port 8080 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD
  41.  
  42. Parameter description: (from ts3musicbot.net)
  43. -account: "your account registered at ts3musicbot.net" (or not :) )
  44. -port: optional, default port is 8080. Access over http://yourServer:8080
  45. -webif-pw: secure your webinterface with an admin password (full access).
  46. -webif-pw-user: webinterface password for users (can only control and upload files, no access to settings).
  47. -noquery: Start the TS3MusicBot without server query (webinterface control only).
  48. -max-disk-space: Set the maximum allowed amount of disk space to use in megabyte for music+radio folder.
  49. -disable-ytdl: This flag disables the "youtube to mp3" functionality (if the conversation needs too much cpu, disable this feature).
  50.  
  51. 6) Everything should work fine now !
  52.  
  53. if not check firewall rules, server_settings.ini and java version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement