Back to mods

Modrinth · Minecraft mod

MiraiMC

A mirai bot for Minecraft servers.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which MiraiMC release matches 1.5.2 Forge?

Updated 7 months ago
Best match for your filters 20
Game version 1.0, 1.1, 1.2.1
Loader bukkit, bungeecord, folia

MiraiMC 20 targets 1.0, 1.1, 1.2.1 with bukkit, bungeecord, folia. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is MiraiMC required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release bukkit, bungeecord, folia
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does MiraiMC 20 need?

20 on 1.5.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add MiraiMC without breaking your instance.

Built for MiraiMC 20 on 1.5.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 20. It targets 1.0, 1.1, 1.2.1 with bukkit, bungeecord, folia; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 20. It opens that exact file at the source.

About this project

What does MiraiMC add?

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

Command Description Permissions
/mirai MiraiMC Robot Command miraimc.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 bot miraimc.command.mirai.logout
/mirai list List currently online bots miraimc.command.mirai.list
/mirai sendfriendmessage Send a message to a specified friend miraimc.command.mirai.sendfriendmessage
/mirai sendfriendnudge Send a stamp to a specified friend miraimc.command.mirai.sendfriendnudge
/mirai sendgroupmessage Send a message to the specified group miraimc.command.mirai.sendgroupmessage
/mirai checkonline Check if the specified robot is online miraimc.command.mirai.checkonline
/mirai autologin add [protocol] Add an autologin robot account miraimc.command.mirai.autologin
/mirai autologin remove Remove an autologin bot account miraimc.command.mirai.autologin
/mirai autologin list View autologin robot account list miraimc.command.mirai.autologin
/miraimc MiraiMC Plugin Command miraimc.command.miraimc
/miraimc bind add Add binding for player and QQ number miraimc.command.miraimc.bind
/miraimc bind getplayer Get the QQ number bound to the specified player name miraimc.command.miraimc.bind
/miraimc bind getqq Get the player name bound to the specified QQ number miraimc.command.miraimc.bind
/miraimc bind removeplayer Removes a player's bind miraimc.command.miraimc.bind
/miraimc bind removeqq Delete the binding of a QQ number miraimc.command.miraimc.bind
/miraimc reload Reload configuration file miraimc.command.miraimc.reload

Permissions

Permission Node Description Default
miraimc.command.mirai Allow use of /mirai OP
miraimc.command.mirai.* Allow all subcommands of /mirai OP
miraimc.command.mirai.login Allow /mirai login OP
miraimc.command.mirai.logout Allow /mirai logout OP
miraimc.command.mirai.list Allow /mirai list OP
miraimc.command.mirai.sendfriendmessage Allow /mirai sendfriendmessage OP
miraimc.command.mirai.sendfriendnudge Allow /mirai sendfriendnudge OP
miraimc.command.mirai.sendgroupmessage Allow /mirai sendgroupmessage OP
miraimc.command.mirai.checkonline Allow /mirai checkonline OP
miraimc.command.mirai.autologin Allow /mirai autologin OP
miraimc.command.miraimc Allow use of /miraimc OP
miraimc.command.miraimc.* Allow all subcommands of /miraimc OP
miraimc.command.miraimc.bind Allow /miraimc bind and subcommands OP
miraimc.command.miraimc.reload Allow /miraimc reload OP

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.

Project description from Modrinth.

Pick your setup

MiraiMC by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

198 available setups

Showing the newest 12 of 107 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

MiraiMC versions and loaders

1 of 36 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.