HomeJavaModsCmdWebhooks
CmdWebhooks
This is a free plugin so all donations are REALLY appreciated as they motivate me to do more like this
icon.png
CmdWebhooks Logs all Joins, Leaves, Commands, Chat and more to your Discord server using webhooks!
features.png
  • Per event webhooks. Use a different webhook for commands ect.
  • Simple to use out of the box. Easy to use config
  • Send messages with an ingame command
  • Simple API
config.png
Spoiler: Config
Code (YAML):
[/SIZE ] [/LEFT ]
# --- CMD WEBHOOKS ---
# SPIGOT: https://www.spigotmc.org/members/olliejw.1154275/
# DISCORD: https://discord.gg/tFhTcQ6yMn

# This is the default webhook URL. If a module is using the webhook 'DEFAULT' then it will use this link
DefaultURL
: REPLACE_WITH_WEBHOOK_URL
# Where the /cmdw-send command goes
SendURL
: REPLACE_WITH_WEBHOOK_URL

# ============ MODULES ============ #

# When the server starts
Start
:
  Enabled
: true
  Message
: 'Server started!'
  Webhook
: DEFAULT

# When the server stops
Stop
:
  Enabled
: true
  Message
: 'Server stopped!'
  Webhook
: DEFAULT

# When someone runs a command
Cmd
:
  Enabled
: true
  Message
: ' [player ] sent command ` [cmd ]`'
  Webhook
: DEFAULT

# When someones sends a message
Msg
:
  Enabled
: true
  Message
: ' [player ] : ` [msg ]`'
  Webhook
: DEFAULT

# When someone joins
Join
:
  Enabled
: true
  Message
: ' [player ] has joined'
  Webhook
: DEFAULT

# When someone leaves
Leave
:
  Enabled
: true
  Message
: ' [player ] has left'
  Webhook
: DEFAULT
 

installation.png

  • Place the .jar file in your plugins folder.
  • Reload/Restart server and open the config.yml folder
  • Right click your Discord channel where you want to log these messages
  • Select "integrations" and click "view webhooks"
  • Click "new webhook" and configure it as you like
  • Then press "copy webhook url"
  • Put the copied link into the config in the "WebhookURL" section
  • If you want specific modules to use different webhooks repeat this process but on the specified module change WebHook from 'DEFAULT' to your new link!

api.png
The API can be found here

If you still need help feel free to join the Discord!
https://discord.gg/tFhTcQ6yMn
https://olliejw.me/tos

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CmdWebhooks is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 817 times (via Spigot). Download it and open it directly in the game.

Explore more