What is a Discord bot used for?
A Discord bot is used to connect in-game chat with a room on your Discord and vice versa. Another function is the ability to connect the in-game chat of multiple servers. So, if you have, for example, a server with the Island map and another with the Scorched map, players can communicate with each other even if they are not on the same server.
How can I add a bot to an existing ARK Ascended server?
Log into the payment portal.
At the top, click on services and then on "View available add-ons."
Now you will see the option to order the mentioned bot for free, so click on "Order" and complete the order.
Upon completion, you will receive confirmation by email.
Where can I find the bot after completion?
You will find the bot in the server management, similarly to your game server.
Log into the server management at https://admin.czechchillout.cz
In the left column, click on "Voice & Bot Services."
In the list, you will see your Discord bots; you need and can have only one bot per ARK ASA server.
How do I set up and deploy the bot?
From the list, click on the bot you want to configure.
In the menu, click on "Configuration Files."
Next to the chilloutbot.cfg file, click on "Text editor."
Now you will see the complete configuration file, and it needs to be completely filled out.
[Server]
#Set the server name, for example, Island
Name=Island
[INFO]
#Here we set the "Connection info port" of the ARK server to which the Discord bot should connect
Port=7784
[SFTP]
#Here we set the SFTP and RCON Info, which we again see in the server administration we want to pair with the bot. Enter your login for SFTP in Username and Password, the same as for the server management
IP=93.99.7.63
Port=8802
Username=*********
Password=***
[RCON]
IP=93.99.7.63
Port=27027
#In the Password column, enter the Admin password, if you do not know it, you can find it in the configuration files of your ARK ASA server "gameusersettings.ini"
Password=test
#The next and final part is connecting the bot with your Discord server, fill in the bot's token, and the ID of the channel where the bot should communicate and OnlinePlayersChannelID is used to specify the location where the bot should send the list of online players
[Discord]
Token=
PreferredChannelID=733611160758255619
OnlinePlayersChannelID=1226633436080385588
How do I get a Token?
1. Visit the Discord Developer Portal:
URL: https://discord.com/developers/applications
2. Creating an application:
- Click on 'New Application' in the top right corner.
- Enter the name of the application and click on 'Create'.
3. Setting up the bot and enabling intents:
- In the application, go to the 'Bot' section and click on 'Add Bot'.
- Here set the name of the bot, profile picture, and more.
- Activate 'Presence Intent', 'Server Members Intent', and 'Message Content Intent'.
4. Obtaining the bot token:
- In the 'Bot' section, click on 'Copy' next to 'Token' to obtain the bot token.
5. Adding the bot to a server with permissions:
- Go to the 'OAuth2' > 'URL Generator' section.
- In 'Scopes', check 'bot' and 'application.commands'.
- In 'Bot Permissions' select the following permissions:
- 'Read Messages/View Channels'
- 'Send Messages'
- 'Send Messages in Threads'
- 'Manage Messages'
- 'Manage Threads'
- 'Embed Links'
- 'Read Message History'
- Copy the generated URL and open it in your browser to add the bot to the server.
Note:
Do not forget to check if the bot has permissions to the room you want it to operate in.
How do I get a PreferredChannelID?
Open Discord.
Click on the settings icon (cogwheel) next to your username at the bottom of the application.
In the settings menu, select 'Advanced'.
Switch 'Developer Mode' to on.
Right-click on the name of the channel from which you want to get the ID.
In the context menu, select 'Copy ID'.