MDC - Discord Chat

Connection Between Minecraft and Discord
The MDC mod creates a full bridge between Minecraft and Discord chats, allowing players from both platforms to communicate in a unified space.
Main Features
Flexible Configuration
The system offers extensive customization options. You can configure message appearance using numerous placeholders that are replaced with real-time information.
Multiple Channel Support
Set up message forwarding between different Discord channels and Minecraft dimensions. For example, messages from specific dimensions can be sent to particular Discord channels, and vice versa.
Full Markdown Support
The system supports Markdown formatting, including the ability to enable or disable emoji conversion (e.g., :emoji_name:). This is especially useful when using custom fonts that support Unicode characters.
Minecraft Events
The mod tracks various server events:
- Server startup, shutdown, and stopping
- Player join and leave
- Character deaths
- Achievement completions
- Chat messages
- Dimension changes
Discord Events
Actions in Discord are also tracked:
- Message sending and editing
- Message reactions
- Attached files
Built-in Commands
The system includes customizable commands for checking TPS (ticks per second) and server uptime.
Command Execution via Discord
You can configure Discord commands that will execute corresponding commands on the Minecraft server. Full customization of command prefixes (e.g., !command) is available, as well as control over Discord member permissions and allowed channels for each command.
Bot Status Updates
The bot's status in Discord is periodically updated, cycling through various options specified in the configuration.
API for Developers
For developers, an API is provided that allows registering custom Discord commands.
Command Configuration
To execute protected commands, you must add the following UUID as an operator: 3665cd17-b83f-43b3-848c-e4d305271340.
json
{
"uuid": "3665cd17-b83f-43b3-848c-e4d305271340",
"name": "@BotName#Tag",
"level": 4
}
Date and Time Formatting
Example: {{DATETIME|d/MM/yyyy '@' hh:mma}}
All available formatting patterns can be found in the Java documentation.
Duration Formatting
Example: {{ELAPSED|H'hrs' m'mins' s'secs'}}
| Character | Description |
|---|---|
| y | years |
| M | months |
| d | days |
| H | hours |
| m | minutes |
| s | seconds |
| S | milliseconds |
| 'text' | arbitrary text |