Skip to Content
MinexonMinexon

Discord Webhooks

Send site events to Discord channels and configure their destinations and message templates.

Discord Webhooks announces Minexon events in the Discord channels you choose. For example, send a short purchase alert to the sales channel and a detailed version to the staff channel. A channel webhook needs no bot application or linked player account. To send direct messages or assign player roles, see Discord Bot. Discord webhook documentation

Connect a Discord channel

  1. In Discord, open Server Settings → Integrations → Webhooks. With permission to manage webhooks, create one, select the destination channel, and use Copy Webhook URL. Create a webhook in Discord
  2. In Minexon, keep Discord Webhooks enabled under Settings → Modules. Open Settings → Discord Webhooks → Add webhook.
  3. Enter a recognizable Webhook name for the dashboard. Choose the Event, then paste the HTTPS address from Discord into Webhook URL.
  4. Use Discord webhook name and Discord webhook avatar URL to customize how the sender appears in the channel. Leaving these fields blank uses the name and avatar saved in Discord.
  5. Edit the example template as needed, set Status to Active, and save. New records start as Inactive. Trigger a new event after saving and check the destination channel.

The webhook URL grants permission to post messages. Keep it private. If it becomes public, remove the old webhook in Discord, create a new one, and update the Minexon record. When editing, leave the URL field blank to keep the saved address. Dashboard fields and permissions

Set the sender avatar

A new record suggests an avatar URL based on Avatar API under Settings → System Settings. The Minecraft and Steam options put %player_name% in the username position for events with a player. For example, Minecraft uses https://minotar.net/helm/%player_name%/128.png. You can edit the URL, enter a fixed HTTPS image, or clear the field to use the Discord webhook’s avatar. Changing the event before saving a new record refreshes the avatar suggestion.

Game Night describes an event shared by the community. Use a fixed HTTPS avatar or leave this field blank because the event has no %player_name% value. System settings

Edit the message template

  • Selecting an event fills a new webhook with its example template. If you change the event after writing your own template, check its placeholders against the new event. Load example replaces the editor contents with the selected event’s example. Save to apply the change.
  • Use Editor for plain message text or Add embed to include a title, description, color, title link, author, fields, thumbnail, main image, and footer. Show inline lets Discord fit short fields on the same row when space allows.
  • Focus a field and click a token in Placeholders. %site_name% and %site_url% come from the site. %player_name% and event-specific values come from the record that triggered delivery. Check the selected event’s list before reusing a token from another template.
  • The JSON tab edits the same message as the visual editor. Format JSON adjusts indentation. The supported top-level fields are content and embeds. A payload needs message text or an embed. Plain text is limited to 2,000 characters, and an individual message supports up to 10 embeds and 6,000 total characters of embed text.
  • Enter an image URL or use Choose file if you have upload permission. Uploads support PNG, JPG, and WebP up to 5 MB. Use an image Discord can reach. Discord preview shows sample values. Verify actual delivery in the channel.

Webhook template editor showing message and embed controls beside a Discord channel preview

Store purchase example

Paste this into the JSON tab for New store purchase. The title links to the dashboard order, which requires the corresponding dashboard access.

{
  "content": "**%player_name%** bought an item from the store.",
  "embeds": [
    {
      "title": "Order %order_number%",
      "url": "%order_url%",
      "description": "%products%",
      "color": 2269291,
      "fields": [{ "name": "Total", "value": "%amount%", "inline": true }],
      "footer": { "text": "%site_name%" }
    }
  ]
}

Events and triggers

Dashboard eventTrigger and placeholders
New store purchaseAn order containing a store item completes
Placeholders %order_number%, %products%, %amount%, %order_url%
New balance top-upA top-up completes and updates the player’s balance
Placeholders %amount%, %paid_amount%, %balance%, %payment_url%
News article publishedA news article is published for the first time
Placeholders %news_title%, %news_excerpt%, %news_image_url%, %news_url%
Market listing publishedA new marketplace listing is created and offered for sale
Placeholders %item_name%, %price%, %quantity%, %listing_url%
Forum topic approvedA moderator approves a topic awaiting review
Placeholders %topic_title%, %forum_category%, %topic_url%
Weekly Drop reward wonA spin records a reward win
Placeholders %reward_name%, %reward_type%, %reward_chance%, %drop_url%
3 hours before Game NightThe Notifications job runs within three hours before an unpaused event starts
Placeholders %event_name%, %starts_at%, %timezone%, %event_url%
Forum reply publishedA reply goes live immediately or is approved when moderation is required
Placeholders %topic_title%, %reply_excerpt%, %reply_url%
Support ticket createdA player opens a new ticket
Placeholders %ticket_title%, %ticket_category%, %ticket_priority%, %ticket_url%
Application submittedA player submits a form for review
Placeholders %application_title%, %application_status%, %application_url%
Player replied to a support ticketA player adds a message to an existing ticket
Placeholders %ticket_title%, %message_id%, %ticket_url%
Player commented on a news articleA comment is saved, including comments awaiting moderation. The status token shows its state.
Placeholders %news_title%, %comment_excerpt%, %comment_status%, %news_url%

Use a staff channel for support and application messages. Values such as titles and usernames appear to channel members. Dashboard links require access to the corresponding page.

Send one event to multiple channels

Each webhook record has one event, its own URL, and its own template. When an event occurs, Minexon creates a separate delivery for every active record assigned to that event. Two active records pointing to the same Discord channel can produce two messages there.

A newly enabled record receives future events. If you deactivate or delete a record, change its event, or replace its URL while a delivery is waiting, Minexon skips that record’s pending delivery. Other active destinations keep their own deliveries.

Troubleshoot delivery

Your hosting Notifications job processes queued deliveries. For the first check, trigger a new event, wait for the next run, and open every expected channel. Scheduled tasks

SymptomWhat to check
No message arrivedVerify that the module and record are active, the selected event occurred after saving, and the hosting job is running.
Only some channels received the messageCheck each missing channel’s record, event, and Discord webhook URL. Discord rate limits and temporary connection errors may delay a retry.
The Game Night message is missingCheck the event’s date and time, the site time zone, and whether the job ran within the three hours before the start. An expired reminder is skipped after the event starts.
The link or image is missingCheck the token against the selected event, confirm the site’s public HTTPS address, and make sure Discord can reach the image.