ConsoleDiscord
作者: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
平台: folia paper purpur spigot
标签: management technology utility
ConsoleDiscord
ConsoleDiscord connects your Minecraft server console with Discord.
- Mirrors your server log into a Discord text channel.
- Lets you run console commands from Discord via
/mc(slash command) or!mc(text command).
Perfect if you want to monitor and administer your server from Discord without opening the server console every time.
Features
-
? Log streaming
Sends your server log to a configurable Discord channel. -
? Commands from Discord
Execute console commands directly from Discord:- Slash command
/mc - Optional text command
!mcin a specific channel
- Slash command
-
? Access control
Limit access to specific Discord user IDs and/or to a single command channel. -
⚙️ Configurable log interval
log-flush-tickscontrols how often buffered log lines are sent to Discord. -
? Debug logging
Optional debug logging for JDA status changes (debug-status-logging). -
? Reload without restart
/cdr reloadreloads the config and reconnects to Discord if needed.
Requirements
- Server: Paper / Bukkit-compatible server
- Minecraft: 1.21.x (api-version:
1.21) - Java: 21
- Discord: Your own bot
- Bot token
- Permissions to:
- Read and send messages in the log/command channels
- Use slash commands (for
/mc, if enabled)
Installation
-
Drop the jar
PutConsoleDiscord-1.0.0.jarinto your server’splugins/folder. -
Start the server
On first startup, the plugin will create aconfig.ymlfile in its folder. -
Edit the config (
plugins/ConsoleDiscord/config.yml)bot-token: "YOUR_DISCORD_BOT_TOKEN" # Text channel for server logs log-channel-id: "123456789012345678" # Optional: channel where /mc and !mc may be used command-channel-id: "" # Who is allowed to use /mc and !mc (user IDs). # If empty, everyone is allowed. allowed-user-ids: - "123456789012345678" # How often (in ticks) buffered log messages are flushed to Discord log-flush-ticks: 40 # Log JDA status changes (connect, disconnect, etc.) to the server log debug-status-logging: false
请登录后举报
暂无评论,抢个沙发吧~