Docs · mod build 5.9.0.16
Notifications
Sending events to Discord webhooks.
The Notifications tab sends things that happen on your server to Discord. It needs Change notifications (edit_notifications).
Webhooks
At the top is the default webhook. Paste a Discord webhook URL in and save. Every event you switch on posts there.
Any event can also have a webhook of its own. Pick the event in the list and paste a URL into its panel. If it has one, it posts there. If not, it falls back to the default. So one channel for everything, one per event, or any mix of the two all work.
The Test button sends a test message to wherever that event would post, so you can check a URL before relying on it.
Webhook URLs are secrets. Anyone who has one can post in your Discord as your server. They're stored on the server only and never sent back to anyone's game: the panel only ever shows a masked version, enough to tell two apart.
To get a URL in Discord: channel settings, Integrations, Webhooks, New Webhook, Copy Webhook URL.
Events
Pick an event and switch it on or off. On/off takes effect straight away with no save button.
Every event posts as a Discord embed: a coloured bar for the kind of event, a title, the details laid out as fields, your server's name in the footer and the time, shown in each reader's own time zone.
| Event | Posts when | Shows |
|---|---|---|
| Player joined | Someone joins | Name, Steam ID, Bohemia ID, players online |
| Player left | Someone leaves normally | Name, how long they played, players online |
| Player died | Any player dies | Who or what killed them, weapon, distance |
| Player agreed to the rules | A player ticks the box and presses I Agree on the rules agreement (build 5.9.0.16) | Name, Steam ID, Bohemia ID |
| Game Chat | In-game chat, for channels that don't have their own webhook on the Chat tab. Which channels and how they look is set there too | Player, side, channel, the message, in the sender's side colour |
| Kill Feed | A player kills another player | Killer, victim, weapon, distance. Team kills are titled as such |
| Admin signed in | A staff member joins | Name and rank |
| Admin used an action | Staff change a setting, toggle something, heal, kill, strip, ban a player and so on | Who did what to whom |
| Player kicked | Any kick: staff, monitoring or a vanilla vote kick | Name, reason, Steam ID. For a staff kick (build 5.9.0.12): the reason they typed and who kicked them |
| Player banned | Staff ban someone with the tools: Online Players, the Ban Manager or the dashboard (build 5.9.0.12). Bans made another way post when the player is removed | Name, length, who banned them, the reason and their GUID, on separate lines |
| Player warned | Staff warn someone, or Conduct does | Name, the warning |
| Kill Watch flag and the other five monitoring flags | A check catches someone | What tripped it |
| Player reported | A player sends a report. Never for reports about staff | Who reported whom, the reason, what happened, the evidence and the report's reference |
| Server started | The server boots | Scenario, slots, mod build |
| World saved | Any save from the World Saves tab, #save, the schedule or before a restart, and whether it worked. Also loading an earlier save (started, cancelled, failed) and deleting one |
What started it and who |
| Player turned away | Someone couldn't join because the public slots were full or they're not on the whitelist | Who, and why |
| Restart coming up / restarting | The first warning of a restart, the restart itself, or a restart being skipped or cancelled | When, and whether it was scheduled or who started it |
| Server FPS dropped | Server FPS stays under 20 for 30 seconds | FPS, players online. Then it stays quiet for 10 minutes |
| Server went empty | The last player leaves |
The monitoring flags only post if Send flags to Discord is also ticked on that check's own page in Player monitoring. Both have to agree. If one is ticked but the event is off or has nowhere to go, the monitoring page warns you.
Busy servers
Discord only lets a webhook post about 30 times a minute. With chat and the kill feed on, a full server can go past that, so posts are queued and sent in batches of up to 10 embeds every couple of seconds. Nothing is lost, it just arrives in groups. If you want chat in a channel of its own, give Game Chat its own webhook.
Posts never ping anyone. A player typing @everyone in game chat won't reach anyone's notifications.
Server commands like #login, #save and #restart are never sent to Discord, so the admin password can't end up in a channel.
Stored where
$profile:HousoMods/Reforgedmin/Notifications/Webhooks.json