Compatibility
Minecraft: Java Edition
1.19–1.19.2
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last year
Updated last year
DisCraft
A Discord chat bridge for Fabric, using the Placeholder API. Send messages in-game and have them relayed to Discord, and vice-versa. Also supports Discord mentions, emotes, and attachments.
Configuration
DisCraft can be configured by editing discraft.json
in your server's config directory.
{
"token": "DISCORD_BOT_TOKEN",
"webhook": "DISCORD_WEBHOOK_URL",
"server": 241543903,
"chat_channel": 241543903,
// Formats for messages displayed after certain server events.
// Supports Placeholder API's Simplified Text Format.
// All non-message events are displayed as embeds on Discord.
"server_started": ":white_check_mark: Server started",
"server_stopped": ":octagonal_sign: Server stopped",
"player_join": "%player:name% joined the game",
"player_leave": "%player:name% left the game",
"advancement_goal": "%player:name% has reached the goal %disc:advancement%!",
"advancement_task": "%player:name% has made the advancement %disc:advancement%!",
"advancement_challenge": "%player:name% has completed the challenge %disc:advancement%!",
"discord_to_mc": "<aqua>[DC] %disc:nickname%</aqua>: %disc:message%",
"discord_to_mc_reply": "<aqua>[DC] %disc:nickname%</aqua> <gray>(reply to</gray> %disc:reply_to%<gray>)</gray>: %disc:message%",
// URL to obtain the player's icon from
"avatar_url": "https://crafatar.com/avatars/%s?overlay"
}