
Screenshots

About this Mod
MCDanmaku
MCDanmaku is a Fabric client-side mod for Minecraft 26.2-snapshot-7+. It displays real-time danmaku messages from a specified Bilibili live room in the in-game chat.
Requirements
- Fabric Loader
>=0.19.2 - Fabric API
>=0.149.1+26.2
Usage
Log in to Bilibili
/danmaku login
Login flow:
- The mod requests a Bilibili QR login session;
- A temporary local HTTP server is started on your machine;
- A
http://127.0.0.1:<port>/link is shown in the chat; - Click the link or manually copy it into your browser;
- Scan the QR code on the page with the Bilibili mobile app;
- Confirm the login on your phone;
- After a successful login, the cookie will be saved to the local config directory.
Check login status
/danmaku loginstatus
Log out from Bilibili
/danmaku logout
This removes the locally saved Bilibili login information.
Set live room
/danmaku set <roomId>
If the danmaku client is already running, the new room ID will not take effect immediately. You need to stop and start the client again.
Start receiving danmaku
/danmaku start
After starting, danmaku messages from the currently configured live room will be displayed in the in-game chat.
Stop receiving danmaku
/danmaku stop
After stopping, the current WebSocket connection will be closed, and stale messages from old connections will be discarded.
Check status
/danmaku status
Shows the current danmaku client status and room ID.
Debug Logs
By default, detailed danmaku parsing logs, authentication responses, and statistics are not printed.
To enable debug logs, add the following JVM argument when launching Minecraft:
-Dmcdanmaku.debug=true
Notes
- Bilibili live danmaku APIs and login flows may change and break compatibility;
- Login information is only used to request Bilibili danmaku and user-related data;
- Do not publicly share
bilibili-auth.propertiesor any file containing cookies; - If the live room is offline or the Bilibili WebSocket node is unavailable, danmaku messages may not be received.
Available Versions
How to Install MCDanmaku on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2-pre-4).
Install Mod
Open the mod browser in the dashboard and search for "MCDanmaku". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2-pre-4, 26.2-pre-3, 26.2-pre-2 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
MCDanmaku 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 (26.2-pre-4). You can switch loaders with one click in the panel.
Is MCDanmaku compatible with fabric?
MCDanmaku officially supports fabric for Minecraft 26.2-pre-4, 26.2-pre-3, 26.2-pre-2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with MCDanmaku – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MCDanmaku 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 MCDanmaku with just one click on your server.