DisCraft

DisCraft

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

by
210 Downloads
fabricsocial
Rent Server with this Mod

About this Mod

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

Available Versions

DisCraft v0.1beta
MC 1.19, 1.19.1, 1.19.2fabric
April 25, 2023

How to Install DisCraft on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.2).

3

Install Mod

Open the mod browser in the dashboard and search for "DisCraft". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.19.2, 1.19.1, 1.19

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

DisCraft server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.

Is DisCraft compatible with fabric?

DisCraft officially supports fabric for Minecraft 1.19.2, 1.19.1, 1.19. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with DisCraft – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if DisCraft consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install DisCraft with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.19.21.19.11.19