Discord Integration (DI)
This mod creates a bridge between Minecraft chat and Discord, allowing communication and server management directly from the messenger. Works exclusively on the server side and doesn't require client installation.
Main Features
Two-Way Chat Connection
All messages from Minecraft automatically appear in Discord, and vice versa. The system transmits not only regular messages but also death notifications, achievement unlocks, /say and /me commands. Message length from Discord to Minecraft is adjustable to prevent spam.
Management via Discord
Create a special channel for administrators displaying server statuses (startup, shutdown, crashes), player connections, and whitelist operations. Users with management role can execute special commands.
Whitelist System
Integrate server whitelist with Discord. Several modes available: simple account linking, specific role requirement, manual link approval by moderators, or combination of these methods. Links are automatically removed when users leave the Discord server.
Minecraft Commands
- /discord commands - available commands list
- /discord gamerules - current game rules
- /discord mods - installed mods
- /discord link/unlink - account linking management (requires OP level 3+)
Discord Commands
Use prefix ! to get server information:
- !difficulty - world difficulty
- !gamerules - game rules
- !online - who's online
- !seed - world seed
- !time - current time
- !tps - server performance
- !link/unlink - account linking
Compatibility with Other Mods
The mod supports integration with Dimension Access Manager (!dimensions command) and More MobGriefing Options (!mobgriefing command).
Configuration
Configuration file discordintegration-server.toml is located in serverconfig folder. Here you can configure:
- Bot token and Discord server ID
- Message formats between platforms
- Message length limits
- Chat and management channels
- Whitelist settings
- Custom commands
Important Notes
When transferring a world with installed mod, always remove discordintegration-server.toml file from serverconfig folder to protect bot token. Token can be regenerated in Discord Developer Portal.
Creating Discord Bot
Requires creating a bot in Discord Developer Portal, obtaining token and adding it to server with 75840 permissions. Enable developer mode in Discord to get server, channel and role IDs.
The mod only supports Minecraft versions with official releases. Compatible with non-commercial modpacks.