Skip to content

Discord configuration

7thCore edited this page Jan 20, 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 hlnsrv user, run the script and follow the instructions:

hlnsrv-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/hlnsrv/config/hlnsrv-discord.conf
discord_update=1
discord_start=1
discord_stop=1
discord_crash=1

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

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

Clone this wiki locally