-
Notifications
You must be signed in to change notification settings - Fork 8
Discord Plugin
Jason Spafford edited this page Jul 17, 2018
·
6 revisions
This plugin is used by other plugins to send messages to discord. This is where you'll configure all of your webhooks for discord. Add a new entry here as seen in the Example Config section below, where the name is the name of the plugin, and the value is the webhook URL you generated in discord that you want that plugin to use.
Name | Example | Description |
---|---|---|
enabled | true | Set to true or false to prevent this plugin from running |
stale_message_seconds | 2 | Don't retry failed message on the webhook that are older than this time in seconds. |
force_test_discord | false | If true, send a test message to every hook to test if it works. |
ServerRestarter | https://discordapp... | A webhook URL for the ServerRestarter plugin to send messages on. |
DownRecovery | https://discordapp... | A webhook URL for the DownRecovery plugin to send messages on. |
ServerUpdater | https://discordapp... | A webhook URL for the ServerUpdater plugin to send messages on. |
[Discord]
enabled = true
ServerRestarter = https://discordapp.com/api/webhooks/...
DownRecovery = https://discordapp.com/api/webhooks/...
ServerUpdater = https://discordapp.com/api/webhooks/...
stale_message_seconds = 2
Questions? Ask in our Discord
- Home
- Installation and Setup
- Primer on using ServerThrall
- Updating ServerThrall
- Common Issues
- Development Roadmap
How to...
- Setup your server for Thrallbrowser
- View a live map of all player locations using Ginfo
- Send notifications before restarting
- Schedule automatic restarts
- Install and Update Mods
- Setup two servers on the same computer
- Notify admins when server is down
- Change the language ServerThrall uses
Plugin Documentation