Jaydev Roul

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-token
  • guild-id
  • channel-id
  • enabled
  • message-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.

Kodari AI
KodariToday at 2:49 pm 1
Created KaizenDCchatPlugins
Delegated to KaizenDCchat Running
Build complete Java Gradle Paper 26.3 plugin KaizenDCchat, main class com.kaizen.kaizendcchat.KaizenDCchat, targeting Java 25 and official Paper API, with plugin.yml, config.yml and build instructions. Forward public Minecraft chat (including formatted player names), public broadcasts/announcements and public death notifications, including other plugins' messages when actually displayed, to only configured Discord guild/channel. Never forward commands, private or restricted-audience messages, cancelled/hidden messages, join/leave notices or unrelated events. Avoid duplicates, especially for chat and death. Important: investigate what the Paper API actually allows; do not claim universally capturing arbitrary plugin messages or perfectly determining public delivery unless technically supported. Implement the strongest safe mechanism available without leaking restricted messages and document precise limitations clearly in README. Discord outbound only, async/nonblocking main thread, robust reconnect/error/rate limit handling, never expose token. Configure bot-token, guild-id, channel-id, enabled, message-format; validate clearly. Commands /kaizendcchat help, reload, status, test, version, alias /kdc, appropriate admin permissions; never forward commands. Include all necessary Gradle dependency packaging and usage instructions. Feature code only.

I’ve started building KaizenDCchat for Paper 26.3. I’ll also check what Paper can reliably capture without forwarding private messages.

Report from 1 project
KaizenDCchatCompleted
TaskBuild complete Java Gradle Paper 26.3 plugin KaizenDCchat, main class com.kaizen.kaizendcchat.KaizenDCchat, targeting Java 25 and official Paper API, with plugin.yml, config.yml and build instructions...
  • 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.

Kodari AI
KodariToday at 2:50 pm 1
Compiled KaizenDCchatSucceeded

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.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code