DiscordLogger
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
平台: paper spigot
标签: management optimization technology
? DiscordLogger
Log every command and gamemode change from your Minecraft server directly to Discord — in real time.
✨ Features
- ? Command Logging — Every player command is sent to Discord with the player name, world, and full command
- ?️ Console Logging — Server console commands are also logged
- ? Gamemode Logging — Gamemode changes are logged with old/new mode, player, world, and what triggered the change
- ? Color-coded Embeds — Each gamemode has its own color (Creative = Green, Survival = Red, etc.)
- ? Password Protection — Sensitive commands like
/loginand/registerare ignored by default - ⚡ Async HTTP — Webhook calls run on a separate thread so your server TPS is never affected
- ?️ Live Reload — Change config without restarting the server
? Preview
| Command Log | Gamemode Change |
|---|---|
| Blue embed with player, world, command | Colored embed with old → new gamemode |
? Installation
- Download
DiscordLogger-1.0.0.jar - Drop it into your server's
/plugins/folder - Start (or restart) the server — a config file will be created automatically
- Open
plugins/DiscordLogger/config.yml - Paste your Discord Webhook URL into the
urlfield - Run
/dl reloadin-game or restart the server
? Setting Up a Discord Webhook
- Open your Discord server
- Go to Server Settings → Integrations → Webhooks
- Click New Webhook
- Choose a channel and copy the Webhook URL
- Paste the URL into
config.yml
⚙️ Configuration
webhook:
url: "YOUR_WEBHOOK_URL_HERE"
bot-name: "Minecraft Logger"
bot-avatar: "https://i.imgur.com/wSTFkRM.png"
logging:
commands: true
gamemode: true
console-commands: true
ignored-commands:
- "login"
- "register"
- "l"
- "reg"
colors:
command: 3447003
gamemode-creative: 5763719
gamemode-survival: 15548997
gamemode-adventure: 16776960
gamemode-spectator: 9936031
?️ Commands
| Command | Description | Permission |
|---|---|---|
/dl reload |
Reload the config file | discordlogger.admin |
/dl status |
Show plugin status | discordlogger.admin |
/dl test |
Send a test message to Discord | discordlogger.admin |
Aliases: /discordlogger, /dl
? Permissions
| Permission | Default | Description |
|---|---|---|
discordlogger.admin |
OP | Access to all /dl commands |
? Requirements
- Paper 1.21.x (also works with Spigot 1.21.x)
- Java 21+
- A Discord Webhook URL
? Issues & Support
Found a bug or have a feature request? Open an issue on the Discord server.
Made with ❤️ by Matschi
请登录后举报
暂无评论,抢个沙发吧~