Skip to content

MiraiMC

A mirai bot for Minecraft servers.

ForgePaperPurpurSpigot
Loaders
ForgePaperPurpurSpigot
Downloads on Modrinth
7.1K
Followers on Modrinth
18
versions
40
Updated
November 20, 2026Nov 20
Published
in 2023
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Forge, Paper, Purpur and Spigot
For Minecraft 1.0–26.3
Latest version — 24-Velocity from November 20, 2026
License AGPL-3.0-or-later — free
Where it's needed
In gameunknownOn serverunknown

The author didn't say where the mod is needed

Game versions1.0–26.3

MiraiMC

GitHub release CodeFactor GitHub Actions CI GitHub all releases


MiraiMC is a mirai bot for Minecraft servers

Mirai is a high-performance multi-platform library, as well as a framework, providing protocol support for Tencent QQ.
Mirai is designed to handle all sorts of messaging works that can be automatically done by bots in a perfect way.
Tencent QQ: A modern messaging software used by all Chinese netizens.

Features

  • Support Bukkit/Sponge servers.
  • Support BungeeCord/Velocity proxies.
  • Optimized for GUI-less OS such as Linux
  • Dynamically load dependent libraries to minimize file size.

Getting Started (Server)

  1. Download MiraiMC from "Featured versions" part. Then install it like installing other plugins.
  2. Configure any plugins' that depend on MiraiMC (if any) and login to your bot account

A more detailed tutorial can be found here: https://docs.miraimc.dreamvoid.me/

Getting Started (Plugin Developer)

Dependency

Maven
<dependency>
    <groupId>io.github.dreamvoid</groupId>
    <artifactId>MiraiMC-Integration</artifactId>
    <version>1.9</version>
    <scope>provided</scope>
</dependency>
Gradle
implementation 'io.github.dreamvoid:MiraiMC-Integration:1.9'

Commands and permissions

Commands

CommandDescriptionPermissions
/miraiMiraiMC Robot Commandmiraimc.command.mirai
/mirai login [protocol]Log in to a robot (you can execute this command multiple times to log in to multiple robots)miraimc.command.mirai.login
/mirai logout Log out and close a botmiraimc.command.mirai.logout
/mirai listList currently online botsmiraimc.command.mirai.list
/mirai sendfriendmessage Send a message to a specified friendmiraimc.command.mirai.sendfriendmessage
/mirai sendfriendnudge Send a stamp to a specified friendmiraimc.command.mirai.sendfriendnudge
/mirai sendgroupmessage Send a message to the specified groupmiraimc.command.mirai.sendgroupmessage
/mirai checkonline Check if the specified robot is onlinemiraimc.command.mirai.checkonline
/mirai autologin add [protocol]Add an autologin robot accountmiraimc.command.mirai.autologin
/mirai autologin remove Remove an autologin bot accountmiraimc.command.mirai.autologin
/mirai autologin listView autologin robot account listmiraimc.command.mirai.autologin
/miraimcMiraiMC Plugin Commandmiraimc.command.miraimc
/miraimc bind add Add binding for player and QQ numbermiraimc.command.miraimc.bind
/miraimc bind getplayer Get the QQ number bound to the specified player namemiraimc.command.miraimc.bind
/miraimc bind getqq Get the player name bound to the specified QQ numbermiraimc.command.miraimc.bind
/miraimc bind removeplayer Removes a player's bindmiraimc.command.miraimc.bind
/miraimc bind removeqq Delete the binding of a QQ numbermiraimc.command.miraimc.bind
/miraimc reloadReload configuration filemiraimc.command.miraimc.reload

Permissions

Permission NodeDescriptionDefault
miraimc.command.miraiAllow use of /miraiOP
miraimc.command.mirai.*Allow all subcommands of /miraiOP
miraimc.command.mirai.loginAllow /mirai loginOP
miraimc.command.mirai.logoutAllow /mirai logoutOP
miraimc.command.mirai.listAllow /mirai listOP
miraimc.command.mirai.sendfriendmessageAllow /mirai sendfriendmessageOP
miraimc.command.mirai.sendfriendnudgeAllow /mirai sendfriendnudgeOP
miraimc.command.mirai.sendgroupmessageAllow /mirai sendgroupmessageOP
miraimc.command.mirai.checkonlineAllow /mirai checkonlineOP
miraimc.command.mirai.autologinAllow /mirai autologinOP
miraimc.command.miraimcAllow use of /miraimcOP
miraimc.command.miraimc.*Allow all subcommands of /miraimcOP
miraimc.command.miraimc.bindAllow /miraimc bind and subcommandsOP
miraimc.command.miraimc.reloadAllow /miraimc reloadOP

LICENSE

GNU Affero General Public License v3.0

Acknowledgments

Thanks to the following people/teams/projects for their contributions to MiraiMC!

  • mamoe/mirai: Powerful QQ robot support library, the core and foundation of MiraiMC.
  • lucko/helper: Provide MiraiMC with a solution to dynamically load the mirai core.
  • brettwooldridge/HikariCP: An efficient SQL connection pool, providing database connection solutions for MiraiMC.
  • LT_Name: Optimized a lot of Nukkit code for MiraiMC, also provided a lot of help for MiraiMC.
  • You.

DreamVoid and MiraiMC, made with ❤.

This file is a translated version of the original file, and some semantics may differ from the original file.

FAQ

How to install MiraiMC?

Install Forge for your Minecraft version, download MiraiMC for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does MiraiMC support?

MiraiMC has builds for Minecraft 1.0–26.3.

License and source
GNU Affero General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More