KaizenDCchat — Minecraft Public Chat to Discord
Build a complete Minecraft Paper plugin named KaizenDCchat. Its only purpose is to forward public messages from Minecraft to one configured Discord channel.
Required setup
- Minecraft Java Edition 26.3
- Paper 26.3
- Java 25
- Gradle and Java
- Use the correct official Paper API and plugin setup for this version.
- Main class:
com.kaizen.kaizendcchat.KaizenDCchat
What must be forwarded
Send every message that is publicly displayed in Minecraft chat to the configured Discord channel, including:
- Normal player chat messages
- Public server broadcasts and announcements
- Death notifications, including messages such as “Player was slain by Player”
- Public messages from other plugins, when they are actually displayed to players in chat
Preserve the displayed message text and formatting as closely as Discord allows. Include the player name for player chat messages.
What must not be forwarded
- Any command, including messages beginning with
/ - Private messages such as
/msg,/tell,/w, or equivalent private-message plugin commands - Messages sent only to specific players, teams, or staff
- Cancelled or hidden messages that are not displayed publicly in Minecraft chat
- Console logs or server events that do not appear in public chat
Discord connection
- Forward messages only from Minecraft to Discord.
- Send them only to the configured Discord channel.
- Never read Discord messages or send Discord messages into Minecraft.
- Prevent duplicate messages, especially when another plugin also handles chat or death messages.
- Handle reconnects, errors, and Discord rate limits.
- Do not block the Minecraft main server thread while communicating with Discord.
- Never expose the bot token in logs, commands, or public messages.
Configuration
Create config.yml with:
bot-tokenguild-idchannel-idenabledmessage-format
Validate the configuration and show clear errors for missing or invalid values.
Commands
Add:
/kaizendcchat help/kaizendcchat reload/kaizendcchat status/kaizendcchat test/kaizendcchat version
Alias: /kdc
These commands are for managing the plugin only. Never forward plugin commands or any other Minecraft commands to Discord. Add suitable permissions for admin commands.
Deliverables
Provide the complete project source, Gradle files, plugin.yml, config.yml, and build instructions. Ensure the project builds into a working .jar for Paper 26.3.
Strictly exclude: Discord-to-Minecraft chat, combat systems, combat logs, join/leave notifications, and unrelated event logging. Only forward messages that appear publicly in Minecraft chat, including public death notifications.
I’ve started building KaizenDCchat for Paper 26.3. I’ll also check what Paper can reliably capture without forwarding private messages.
Use Paper’s chat, broadcast and death events with conservative audience checks.
Send through a bounded asynchronous Discord REST queue, validating the configured guild and channel.
Document the cases Paper cannot safely identify or confirm.Built KaizenDCchat with asynchronous Discord delivery, admin commands, configuration validation and build instructions.
The README documents the conservative forwarding checks and Paper API limitations, including messages that cannot be safely identified or confirmed as delivered.
KaizenDCchat is complete and compiled successfully for Paper 26.3.
The README includes setup and build instructions, along with the Paper API limitations: the plugin cannot safely identify every arbitrary message sent by another plugin as public.
No files in this session