DisCraft

DisCraft

Mod

Discord-Minecraft chat bridge for Fabric, supports Placeholder API.

Server SocialUtility

104 downloads
2 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

DisCraft

Available for Fabric Requires Fabric API Requires Fabric Kotlin

Available on GitHub Available on Modrinth Find me on Discord

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"
}

Project members

littlechasiu

Owner

Details

Licensed MIT
Published a year ago
Updated a year ago