![]() |
Installation of TS3 Music Bots - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials) +--- Thread: Installation of TS3 Music Bots (/Thread-Installation-of-TS3-Music-Bots) |
Installation of TS3 Music Bots - HarisHayat - 04-28-2018 Hello Guys, I'm Haris Hayat Today i'm going to show you how to install SinusBot. A free TeamSpeak 3 music bot Note: This WILL ONLY work on Ubuntu/Debian on X64! NOTE: Make sure you run Code: 1. apt-get update before installing the bot. First off, you want to install screen with command: Code: 2. apt-get install screen Follow the prompts. Then, You want to install these dependencies: 3. apt-get install x11vnc xinit xvfb libxcursor1 ca-certificates bzip2 update-ca-certificates Then, Add the user musicbot with this command: 4. adduser musicbot Then, make this directory. This is where the bot files will go: 5. mkdir -p /opt/ts3soundboard Then, cd into that directory and run this command: 6. wget wget https://www.sinusbot.com/pre/sinusbot-0.9.10-e1fdee3.tar.bz2 Now, Extract the bot: 7. tar -xjf sinusbot-0.9.10-e1fdee3.tar.bz2 Then, Copy the config for the bot to run: Code: 8. cp config.ini.dist config.ini Then, Instead of running the bot under root, give the musicbot the rights to run it as a normal user: Code: 9. -R musicbot:musicbot /opt/ts3soundboard After that, Download and run TeamSpeak 3 client: Code: $ wget http://dl.4players.de/ts/releases/3.0.18.2/TeamSpeak3-Client-linux_amd64-3.0.18.2.run Agree to the terms. Now, Run this command: Code: 10. nano config.ini You want to be looking for this: Code: 11. TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64" Now, Once every thing is A-ok, Press Ctrl-X Then, copy this plugin so you can get sound: Code: 12. cp plugin/libsoundbot_plugin.so /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/plugins Now, make this file executable: Code: 13. chmod 0755 sinusbot Yay! you now have all the files to run a bot. But we are not done yet. To run the bot, logout of your VPS as root and login as sinusbot and cd into /opt/ts3soundboard and run this to start the bot: Code: 14. LC_ALL="en_US.UTF-8" xinit /opt/ts3soundboard/sinusbot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac Be sure to run the bot in screen! Now, deatach from the console with Ctrl-A-D Now, login with: Code: 15. http://yourip:8087 The login is admin, the password is foobar. Once you login, Click on Settings- Instance settings and you can change the name of your bot and point it on your teamspeak 3 server. Good luck with your bot! Oh! I almost forgot! To update your bot, run: Code: 16. ./sinusbot -update Thanks! |