Skip to content

Discord configuration

7thCore edited this page Feb 12, 2022 · 2 revisions

This is optional. You can skip this and the script will use it's default values (discord integration being disabled).

You can run this function again to reconfigure, enable or disable Discord integration.


Using the script

Login to the arma3srv user, run the script and follow the instructions:

arma3srv-script config_discord

Manual

Create the following file and add these lines to it based on your desired configuration (1 is true, 0 is false):

/srv/arma3srv/config/arma3srv-discord.conf
discord_update=1
discord_start=1
discord_stop=1
discord_crash=1
discord_color_prestart=16776960
discord_color_poststart=65280
discord_color_prestop=16776960
discord_color_poststop=65280
discord_color_update=47083
discord_color_crash=16711680

Then add your discord webhooks to the following file (each webhook has to be in it's own line):

/srv/arma3srv/config/discord_webhooks.txt
https://discord.com/api/webhooks/<first-long-string>
https://discord.com/api/webhooks/<second-long-string>