Skip to content

Discord Webhook

NTebexMessage can send store purchase notifications directly to Discord using webhooks.

This allows your community to see live store activity without being in-game.

Configuration file:

discord.yml

webhook:
enabled: true
  • true → webhook active
  • false → disabled

url: "INSERT-WEBHOOK-URL"

Paste your Discord webhook URL here.


username: "Store Notification"
avatar-url: "https://i.imgur.com/ip1xV13.png"
  • username → name of the webhook bot
  • avatar-url → icon displayed in Discord

When a purchase contains multiple packages.

Example purchase:

VIP;MVP;ASTRO

Configuration:

symbol: "•"

Result:

VIP • MVP • ASTRO

Removes unwanted words from package names.

Example:

Kit ASTRO

Becomes:

ASTRO

Configuration:

word-does-appear:
- kit
- rank
- package

Filtering is case-insensitive.


Replaces words with custom names.

Example:

vip → VIP
mvp → MVP

Configuration:

word-replace:
vip: "VIP"
mvp: "MVP"
astro: "ASTRO"

Basic Discord message format.

content: "Player **{player}** purchased **{package}**"

Supported placeholders:

{player}
{package}
{price}

Embeds provide a richer message format.

embed:
enabled: true

title: "🛒 New Purchase"

color: "#00FFAA"

Accepts HEX color values.


description:
- "Player **{player}** purchased **{package}**"

Fields display structured purchase information.

fields:
- name: "Player"
value: "{player}"
inline: true
- name: "Package"
value: "{package}"
inline: true
- name: "Price"
value: "{price}"
inline: true

author:
name: "Server Store"
url: ""
icon: ""

footer:
text: "Powered by Nautic Studios"
icon: ""

image: "https://i.imgur.com/ip1xV13.png"

Displays a large image at the bottom of the embed.


thumbnail: "https://mc-heads.net/avatar/{player}"

Displays the player’s Minecraft head.