Discord is a VoIP app that allows other applications to send messages via a webhook. This functionality is used to allow users to recieve alerts about LinuxGSM.
A webhook is required to post alerts to a Discord text channel
- Right-click on the text channel you want to use and select
Edit channel
. - Select
Webhooks
>Create Webhook
- Name: LinuxGSM
- Icon:
- Copy the Webhook URL
- Turn on discord alert and enter the URL in to the LinuxGSM settings. (
~/lgsm/config-lgsm/<gameserver>/common.cfg
)
# Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord
discordalert="on"
discordwebhook="https://discordapp.com/api/webhooks/3539332633367897009/5t_K4GkuBaR2-69TsKqXmHIya1ck1tirnu_Fst-DUC00dye98eaa_I6uTIcHEsi7a17K"
{% hint style="info" %} You must have Discord User Settings > Text & Images > Link Preview: 'Show website preview...' enabled or you will just see blank messages from the alert bot. {% endhint %}