DiscordBridge Documentation
Plugin Description
DiscordBridge is a high-performance, production-grade Discord ↔ Minecraft bridge platform designed specifically for Paper 1.21+ and Java 21+. It connects your Minecraft server to Discord with full asynchronous safety, modular architecture, and extensive configuration options.
Key Features
- Real-time Chat Bridge: Seamless two-way communication between your Minecraft global chat and a dedicated Discord channel.
- Player Event Notifications: Fully customizable announcements for player joins, leaves, first-time joins, and deaths.
- Server Status Alerts: Automated notifications when the server starts up or shuts down.
- Modern Paper & Java Support: Leverages Java 21 features and Paper's advanced asynchronous scheduler APIs to prevent main-thread lag.
- Modular Configuration: Clean separation of settings into
config.yml,channels.yml,features.yml,messages.yml, andpermissions.yml. - JDA Integration: Powered by JDA 5.2.2 with secure gateway intents and graceful connection handling.
Configuration Files Overview
config.yml: Core settings, Discord bot token, and server identification.channels.yml: Maps bridge functions (chat, logs, status) to Discord Channel IDs.features.yml: Toggles individual modules on or off to save memory and performance.messages.yml: Centralized text template and localization system supporting MiniMessage formatting for Minecraft and Markdown for Discord.permissions.yml: Configures Minecraft permission nodes and authorized Discord role IDs.
Commands
| Command | Aliases | Description | Permission |
|---|---|---|---|
/discordbridge |
/db, /dbridge, /mc |
Displays plugin status and version info. | discordbridge.admin |
/discordbridge reload |
/db reload |
Reloads all configuration files. | discordbridge.admin |
Permissions
Minecraft Permissions
discordbridge.admin— Grants access to administrative commands like/db reload. (Default:op)
Discord Permissions
- Configured inside
permissions.ymlunderdiscord.admin-roles.
Quick Installation Guide
- Create a Discord Application and Bot via the Discord Developer Portal.
- Enable the Message Content Intent and Server Members Intent under your Bot settings.
- Invite the bot to your Discord server with permissions to read/send messages.
- Drop
DiscordBridge.jarinto your Paper server'splugins/directory. - Start your server once to generate default configuration files.
- Open
plugins/DiscordBridge/config.ymland insert your Discord Bot Token and Guild ID. - Open
plugins/DiscordBridge/channels.ymland set your desired Discord Text Channel IDs. - Run
/db reloadin your Minecraft console or game chat to apply changes.
No gallery available for this project.