Forum
Wiki
Your Licenses
Dashboard
Support
Jobs
Hyatlas - ALL IN ONE ツ
Search
Search titles only
By:
Search titles only
By:
Hyatlas - ALL IN ONE ツ
Home
Hyatlas Team
Your Invoices
Search resources
Schematics
Maps
Survival Games
Bedwars
Skywars
Sky PVP
Skyblock
Prison Mines
Arenas
Spawns
Lobbies
Hubs
Waiting Lobbies
Components/Structure
Plugins
Graphics
Models
Templates
Photoshop
After Effects
Cinema 4D
Websites
Illustrator
Banner
Merchandising
Hosting
Dashboard
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Edit history
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
[LIST=1] [*]If you havn't already done so, download the program "[URL='https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html']PuTTY[/URL]". [*]Connect to your root server or VPS/vServer via SSH using [URL='https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html']PuTTY[/URL]. To do this, open [URL='https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html']PuTTY[/URL] and enter the domain or IP address of your server in the text box named "Host Name (or IP address)". Then click the "OK" button below. [*]Update your package lists with the command apt update. [*]Now install any available updates of the packages already installed on your server using the command [COLOR=rgb(184, 49, 47)][B][U]apt upgrade -y[/U][/B][/COLOR] [*]Next, install the packages needed for the music bot by executing the following command: a[COLOR=rgb(184, 49, 47)][U][B]pt install x11vnc xvfb libxcursor1 ca-certificates bzip2 libnss3 libegl1-mesa x11-xkb-utils libasound2 libpci3 libxslt1.1 libxkbcommon0 libxss1 libglib2.0-0 libxcomposite1 curl screen nano -y[/B][/U][/COLOR] [*][B]Optional[/B](if you want to use the YouTube playback feature): [LIST=1] [*]Install the packages needed for the YouTube playback feature using the command [COLOR=rgb(184, 49, 47)][U][B]apt install python -y[/B][/U][/COLOR] [*]Download the software package for the YouTube download function ("youtube-dl"). This software will be used from the music bot to play the audio of any YouTube video. To do this, execute the command [COLOR=rgb(184, 49, 47)][U][B]wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl[/B][/U][/COLOR] [*]After that run the command [COLOR=rgb(184, 49, 47)][U][B]chmod +x /usr/local/bin/youtube-dl[/B][/U][/COLOR] to assign the required execution permissions. [/LIST] [*]Then add a user with the username "sinusbot" who will run the music bot. Use the following command: [COLOR=rgb(184, 49, 47)][B][U]adduser --disabled-login sinusbot[/U][/B][/COLOR] [*]You can skip all further information such as the name, telephone number, etc. by pressing enter as well. [*]Now create the directory in which the music bot will be installed by executing this command: [COLOR=rgb(184, 49, 47)][U][B]mkdir -p /opt/sinusbot[/B][/U][/COLOR][COLOR=rgb(0, 0, 0)] and use the command[/COLOR][COLOR=rgb(184, 49, 47)][U][B] chown -R sinusbot:sinusbot /opt/sinusbot/[/B][/U][/COLOR] to give the music bot user the required permissions for this directory. [*]After that use the command [COLOR=rgb(184, 49, 47)][U][B]su sinusbot[/B][/U][/COLOR] to switch to your music bot user. [*]Run the command [COLOR=rgb(184, 49, 47)][U][B]cd /opt/sinusbot/[/B][/U][/COLOR] to get to the directory where the music bot will be installed [*]Now download the music bot called "SinusBot" by running the following command: [COLOR=rgb(184, 49, 47)][U][B]wget https://www.sinusbot.com/dl/sinusbot.current.tar.bz2[/B][/U][/COLOR] [*]After the download is completed, you should see the downloaded .tar.bz2 archive using the command [COLOR=rgb(184, 49, 47)][B][U]ls[/U][/B][/COLOR] Extract the archive you just downloaded by executing the command [COLOR=rgb(184, 49, 47)][U][B]tar xjf sinusbot.current.tar.bz2[/B][/U][/COLOR] Then you can delete it using the command [COLOR=rgb(184, 49, 47)][U][B]rm sinusbot.current.tar.bz2[/B][/U][/COLOR] [*]Then copy the configuration file using the following command: [COLOR=rgb(184, 49, 47)][U][B]cp config.ini.dist config.ini[/B][/U][/COLOR] [*]Now you need the TeamSpeak 3 Client for Linux, so that the music bot can connect to your TeamSpeak 3 server. [I]Even if you only want to use the music bot in conjunction with a Discord server, you'll need to download the TeamSpeak 3 client, otherwise the music bot won't start[/I]. Download this client with the following command: [COLOR=rgb(184, 49, 47)][B][U]wget https://files.teamspeak-services.com/releases/client/3.5.3/TeamSpeak3-Client-linux_amd64-3.5.3.run[/U][/B][/COLOR] [*]Use the command [COLOR=rgb(184, 49, 47)][B][U]chmod +x TeamSpeak3-Client-linux_amd64-3.5.3.run[/U][/B][/COLOR] to assign the required execution permissions to this file. [*]Now you need to start the TeamSpeak 3 client on your server once in order to accept the license terms. To do this, run the command [COLOR=rgb(184, 49, 47)][U][B]./TeamSpeak3-Client-linux_amd64-3.5.3.run[/B][/U][/COLOR] Use the enter key to scroll through the text. By pressing the "Q" key you'll jump to the end of this file. Confirm that you have read and accepted the license terms by pressing the "Y" key and then hit enter. [*][B]Optional[/B] (if you want to use the YouTube playback feature): Open the configuration file with the command [COLOR=rgb(184, 49, 47)][U][B]nano config.ini[/B][/U][/COLOR] and add the parameter "[B]YoutubeDLPath[/B]" in a new line. Enter the path to the YouTube download software as the value for this parameter (in the same format as the existing parameters/lines). This path is "[B]/usr/local/bin/youtube-dl[/B]". Save your changes by pressing [B]CTRL + X, then hit the "Y" key and press enter[/B]. [*]Next, delete the file "libqxcb-glx-integration.so" using the command [COLOR=rgb(184, 49, 47)][U][B]rm TeamSpeak3-Client-linux_amd64/xcbglintegrations/libqxcb-glx-integration.so[/B][/U][/COLOR] [*]Then create the plugin directory for the TeamSpeak 3 client with the command [COLOR=rgb(184, 49, 47)][U][B]mkdir TeamSpeak3-Client-linux_amd64/plugins[/B][/U][/COLOR] and copy the music bot plugin into this directory. To do this, use this command: [COLOR=rgb(184, 49, 47)][B][U]cp plugin/libsoundbot_plugin.so /opt/sinusbot/TeamSpeak3-Client-linux_amd64/plugins/[/U][/B][/COLOR] [*]Now you have to assign the required permissions, so that you can run the music bot script. Do that with the command [COLOR=rgb(184, 49, 47)][B][U]chmod +x sinusbot[/U][/B][/COLOR] [*]The music bot is now installed and you can start it. Make sure that you are logged in with the music bot user you created earlier and that you are in the music bot directory. If this is not the case, you can use the command [COLOR=rgb(184, 49, 47)][B][U]su sinusbot[/U][/B][/COLOR] to switch to this user and then run the command [COLOR=rgb(184, 49, 47)][U][B]cd /opt/sinusbot/[/B][/U][/COLOR] to go to your music bot directory. Execute the following command for the first start of the music bot: [COLOR=rgb(184, 49, 47)][B][U]screen -dmS sinusbot ./sinusbot -override-password YourPassword[/U][/B][/COLOR] Instead of "YourPassword" you need to specify a password for the web interface. [*]Your music bot is now running. You can access the web interface with the IP address or domain of your root server or VPS/vServer and the port [B]8087[/B]. For example, open "[B]http://123.123.123.123:8087[/B]" in your web browser. The username is "[B]admin[/B]" and the password is what you just set within the start command. [*]Because this password is just temporarily set at the first start (using the command from step 22), you must now change it permanently within the settings in the web interface. To do this, click on "[B]Settings[/B]" in the web interface's top menu and then click on "[B]User Accounts[/B]" on the left. A user overview table now appears. Click on the edit button next to the admin user and set your desired password. Finally save this change by clicking on the "[B]Save changes[/B]" button. Then you have to log in again with the password you just set. [*][I]If you want to use the music bot on a Discord server, also follow these steps:[/I] [LIST=1] [*]Click on "[B]Instances[/B]" within the settings menu of the web interface (on the left) and add another music bot instance using the "[B]Add Instance[/B]" button. [*]Now select "[B]Discord[/B]" as "[B]Backend[/B]" and set a name for the music bot. [*]Click the red marked word/link "[B]here[/B]" below the last text box to get to the overview page of your Discord apps. Here you have to register the music bot as a Discord app by clicking on "[B]New Application[/B]". [*]Specify a name for your music bot, which will later be displayed on the Discord server (e.g. "SinusBot"). [*]Then create your Discord app by clicking the "[B]Create[/B]" button. [*]Now click on the menu item "[B]Bot[/B]" on the left, then click on the button called "[B]Add Bot[/B]", then click on "[B]Yes, do it![/B]". [*]Next, click on the "[B]Copy[/B]" button under the headline "Token" to copy the token for your music bot. Paste this token into the text box called "[B]Bot-Token[/B]" in the music bot web interface. After you've done this, click on "[B]Create[/B]". [*]In the instance overview, select the newly created Discord instance by clicking on the corresponding "[B]Select[/B]" button. [*]Now go to the "[B]Instance Settings[/B]" within the web interface settings (on the left). [*]Click on the red link named "[B]Click here to allow the bot to join your server[/B]", then select your Discord server and click on the "[B]Authorize[/B]" button to connect the music bot with your Discord server. [*]Start the music bot instance by clicking on the power button in the top menu of the web interface. Now the music bot should join your Discord server. [*]Reload the web interface settings page in your browser, select your Discord channel under "[B]Default Channel[/B]" and save your changes by clicking on "[B]Save changes[/B]". The music bot should now join the selected Discord channel and is ready to use. [/LIST] [*]In order to be able to control the music bot via chat commands (in addition to the web interface), you must link the users of your TeamSpeak 3 server or Discord server with the corresponding web interface users. To do this, click on "[B]User Accounts[/B]" in the web interface settings (on the left). [*]Currently there is only the user "[B]admin[/B]", but you can add more users by clicking on "[B]Add User Account[/B]". [*]You can associate a user with a TeamSpeak or Discord user by clicking the Edit button on the right. Here you can select the user on your server under "[B]Bind to another identity[/B]". Then you have to click on the "[B]Save changes[/B]" button. In the user table you can click on the buttons in the column named "[B]Privileges[/B]" to select which actions a specific user is allowed to perform. [*]To see all available chat commands, click on "[B]Info[/B]" in the web interface settings on the left and then click the "[B]Commands[/B]" tab. [*]Your music bot is now running continuously in the background, so you can close PuTTY without causing the bot to stop. To stop the music bot, use the command [COLOR=rgb(184, 49, 47)][B][U]screen -r sinusbot -X quit[/U][/B][/COLOR] You can start it at any time. Just log in to your root server or VPS/vServer as the music bot user (either directly at the SSH login in PuTTY or with the command [COLOR=rgb(184, 49, 47)][U][B]su sinusbot[/B][/U] [/COLOR]). Then go to the music bot directory (using the command [COLOR=rgb(184, 49, 47)][B][U]cd /opt/sinusbot/[/U] [/B][/COLOR]) and run the command [COLOR=rgb(184, 49, 47)][B][U]screen -dmS sinusbot ./sinusbot[/U][/B][/COLOR] [/LIST]
Revert