HomeJavaModsDiscord Webhooks
Discord Webhooks
ModsJava

Discord Webhooks

by NightDevMC · on Modrinth

This is a very simple Minecraft Plugin that allows you to send webhooks through discord with a simple command!

⬇ Download on Modrinth

🚀 Discord Webhooks

A lightweight, fast, and configurable Discord webhook plugin for Paper.

Send Discord webhook messages directly from your server using configurable webhook IDs and JSON templates.


✨ Features


📥 Installation

  1. Place the plugin into your plugins folder.
  2. Start your server.
  3. Configure your webhooks in config.yml.
  4. Create your JSON templates.
  5. Start sending webhooks!

⚙️ Configuration

webhooks:
  example: "https://discord.com/api/webhooks/YOUR-WEBHOOK-HERE"

You may add as many webhook IDs as you'd like.

webhooks:
  chat: "https://discord.com/api/webhooks/..."
  staff: "https://discord.com/api/webhooks/..."
  logs: "https://discord.com/api/webhooks/..."

💬 Commands

Command Description
/webhook send <id> <file> <arguments> Sends a webhook using a JSON template.
/webhook reload Reloads the plugin configuration.

📄 JSON Templates

Create a .json file inside the plugin's templates folder.

example.json

{
  "content": "[{now}] {0}"
}

🏷️ Arguments

Arguments are passed using the format:

value1::value2

Example command:

/webhook send example example NightDevMC::%message%

This command produces:

Placeholder Value
{0} NightDevMC
{1} %message%

Your JSON template can use these placeholders anywhere.

Example:

{
  "content": "[{now}] {0}: {1}"
}

🧩 Built-in Placeholders

Placeholder Description
{now} Returns the current date and time.

📦 Example

Configuration:

webhooks:
  example: "https://discord.com/api/webhooks/..."

Template:

{
  "content": "[{now}] {0}: {1}"
}

Command:

/webhook send example example NightDevMC::Hello Discord!

Result:

[2026-07-26 4:42 PM] NightDevMC: Hello Discord!

❤️ Simple • Fast • Powerful

Discord Webhooks makes it effortless to send customizable Discord messages from your Paper server with reusable JSON templates, placeholder support, and instant configuration reloading.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more