Skip to content

Connecting Webhooks to Channel References

WereF0X edited this page Oct 2, 2026 · 4 revisions

To make further configuration easier, we're going to create a bridge between the Webhook and what the mod recognizes as the channel it should send webhooks requests in (aka messages).

The structure will be Channel reference: Webhook URL.

The Channel reference is a name (like "server-events") that you will use later in the other configs to set it as the channel to send those specific Webhooks in. It does NOT have to be necessarily the Discord channel name, although you can do it. The naming convention is up to you. Then, paste the Webhook URL, which are set to the actual Discord channel.

You can create as many of these as you want based on your needs and how much you want to differentiate what channels are used for Webhooks. You probably want at least 2, one for game events and the other for the console which should be only for operators.

  1. In the Minecraft server, open the config folder and navigate to config/mhs_discord_integration/.
  2. You'll see multiple files there, we only care about the one called webhooks.json.
  3. Set Channel references up as you need, like the following example:
{
  "player-events": "https://my-webhook-1",
  "server-events": "https://my-webhook-2",
  "chat-events": "https://my-webhook-3",
  "console": "https://my-webhook-4"
}

Clone this wiki locally