zDiscord - Minecraft Discord Bridge Plugin A Comprehensive Discord Bridge Plugin for Spigot/Paper
Seamlessly connect your Minecraft server with Discord for enhanced communication and management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ Features
Two-Way Chat Synchronization
Minecraft ↔ Discord chat messages
Customizable message formats
Permission-based filtering
Account Linking System
Secure 6-character link codes
GUI-based account management
Automatic code expiration (5 minutes)
Event Broadcasting
Join/leave messages
Death messages (optional)
Advancement notifications (optional)
Discord Commands
!online - Show online players
!tps - Display server performance
!link <code> - Link accounts
Command Logging
Staff command monitoring with Discord alerts
Console command tracking
Optional separate log channel
Role-based categorization
Beautiful GUI Interfaces
3-layer border design with sound effects
Protected items (untakeable/unmoveable)
Dynamic status indicators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
Requirement
Version
Minecraft
1.20+
Java
17+
Server
Spigot/Paper
Dependencies
None (PlaceholderAPI optional)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Installation
Prerequisites
Minecraft server running Spigot or Paper 1.20+
Java 17 or higher
Discord bot with proper permissions
Step 1: Download and Install
Download zDiscord-1.0.0.jar
Place in /plugins/ folder
Restart server to generate configuration files
Step 2: Create Discord Bot
Visit Discord Developer Portal
Create a new application and bot
Copy the bot token (keep this secret!)
Invite the bot to your Discord server with permissions:
Send Messages
Read Messages
Manage Messages
Embed Links
Read Message History
Step 3: Configure the Plugin
Stop your server
Edit plugins/zDiscord/config.yml :
Code (Text):
discord:
bot-token: "YOUR_BOT_TOKEN_HERE"
chat-channel-id: "YOUR_CHANNEL_ID_HERE"
logging:
log-channel-id: "OPTIONAL_LOG_CHANNEL_ID"
Start your server
Step 4: Get Channel IDs
Enable Developer Mode in Discord (User Settings > Advanced > Developer Mode)
Right-click your channel and select "Copy ID"
Paste the ID in your config file
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Configuration
Discord Settings
Code (Text):
discord:
bot-token: "YOUR_BOT_TOKEN"
chat-channel-id: "123456789012345678"
invite-link: "https://discord.gg/yourserver"
Chat Synchronization
Code (Text):
chat:
minecraft-to-discord: true
discord-to-minecraft: true
require-permission: false
Message Formats
Code (Text):
formats:
minecraft-to-discord: "**{player}** {message}"
discord-to-minecraft: "&9[Discord] &r<{user}> {message}"
join-message: " **{player}** joined the server"
leave-message: " **{player}** left the server"
Account Linking
Code (Text):
linking:
enabled: true
code-expiration: 10 # minutes
require-linking: false
Command Logging
Code (Text):
logging:
player-commands: true
staff-commands-to-discord: true
console-commands-to-discord: false
log-channel-id: "" # Optional separate channel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands & Permissions
Spoiler: Player Commands
Command
Description
Permission
/discord
Open main Discord GUI
zdiscord.use
/discord link
Link Discord account
zdiscord.link
/discord unlink
Unlink Discord account
zdiscord.link
/discord chat <message>
Send message to Discord
zdiscord.chat
/dc [message]
Quick Discord message
zdiscord.quickmessage
Spoiler: Admin Commands
Command
Description
Permission
/zdiscord reload
Reload configuration
zdiscord.reload
/zdiscord status
Check bot connection
zdiscord.admin
/zdiscord test
Send test message
zdiscord.admin
/zdiscord info
Show plugin info
zdiscord.use
Spoiler: Permissions
Permission
Description
Default
zdiscord.use
Use basic Discord features
true
zdiscord.link
Account linking
true
zdiscord.chat
Chat synchronization
true
zdiscord.quickmessage
Quick Discord messages
true
zdiscord.*
All permissions
OP
zdiscord.admin
Full plugin access
OP
zdiscord.reload
Reload configuration
OP
zdiscord.bypass
Bypass linking requirements
OP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Message Formats
Available placeholders:
{player} - Player name
{displayname} - Player display name
{user} - Discord username
{message} - Chat message
{deathmessage} - Death message
{advancement} - Advancement name
PlaceholderAPI placeholders supported
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Discord Commands
Command
Description
!online
List online players and server status
!tps
Show server TPS (if available)
!link <code>
Link Discord account to Minecraft
!help
Show available commands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GUI Features
Main Discord GUI
Clean 3-layer border design
Sound effects for interactions
Protected items (cannot be moved/taken)
Dynamic status indicators
Account Linking
Secure 6-character codes
Visual feedback system
Automatic expiration handling
Step-by-step guidance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Command Logging System
Console Logging:
All player commands with timestamps
Staff member command tracking
Console command monitoring
Role-based categorization (Admin/Mod/Helper)
Discord Integration:
Staff commands sent to Discord with ⚠️ alerts
Console command notifications
Optional separate log channel support
Formatted log messages with timestamps
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
️ File Structure
Code (Text):
plugins/zDiscord/
├── config.yml # Main configuration
├── messages.yml # Plugin messages
└── links.yml # Account links storage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
️ Troubleshooting
Bot Not Connecting
Verify bot token is correct
Check bot has proper permissions
Ensure channel ID is valid
Review console for error messages
Messages Not Syncing
Confirm bot can send messages in channel
Check if bot has "Send Messages" permission
Verify channel ID matches configuration
Test with /zdiscord test command
Linking Issues
Enable linking in configuration
Check code expiration settings
Verify player has linking permission
Review console for linking errors
Command Logging Problems
Check logging configuration settings
Verify log channel ID (if using separate channel)
Ensure bot has permissions in log channel
Review staff permission settings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Performance
Server Impact
Minimal CPU usage with async operations
Efficient memory management
Optimized Discord API calls
Lightweight GUI system
Recommendations
Use separate log channel for high-activity servers
Enable only needed logging features
Regular configuration reviews
Monitor console for warnings
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Updates
Download the new version
Stop your server
Replace the old JAR file
Start your server
Check console for any configuration changes needed
The plugin includes automatic update checking.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Support
Getting Help
Check console logs for detailed error messages
Verify all configuration settings are correct
Ensure Discord bot has proper permissions
Test with minimal configuration first
Common Issues
"Channel not found": Check channel ID and bot permissions
"Bot offline": Verify token and bot status
"Commands not logging": Check logging configuration
"GUI items moveable": Update to latest plugin version
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
️ Build Information
Build Tool: Maven
Java Version: 17
JDA Version: 5.0.0-beta.18
Compiled Size: ~14MB (includes all dependencies)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Author & License
Made with ❤️ by GamingHuzai
This plugin is provided as-is for educational and server administration purposes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━