Skip to content

iTXTech/mirai-native

Repository files navigation

Mirai Native

强大的 mirai 原生插件加载器

Mirai Native 支持所有stdcall方式导出方法的DLLmirai 交互。

大部分酷Q插件兼容,不支持CPK和解包的DLL,需获取DLLJSON原文件,JSON文件不支持注释。

Mirai Native 仅支持 Windows 32位 Java

  1. 可前往 Temurin 下载
  2. 选择 Windows -> x86 下载 Windows 32位 Java
  3. 支持 Java 11 之后的版本

使用 Mirai Console Loader 安装Mirai Native

  • MCL 支持自动更新插件,支持设置插件更新频道等功能

.\mcl --update-package org.itxtech:mirai-native --channel stable --type plugin

Mirai Native Tray

  • 右键流泪猫猫头打开 Mirai Native 托盘菜单。
  • 左键流泪猫猫头显示悬浮窗。

mirai Native Plugin Manager

> npm
Mirai Native 插件管理器

/disable <插件Id>   停用指定 Mirai Native 插件
/enable <插件Id>   启用指定 Mirai Native 插件
/info <插件Id>   查看指定 Mirai Native 插件的详细信息
/list    列出所有 Mirai Native 插件
/load <DLL文件名>   加载指定DLL文件
/menu <插件Id> <方法名>   调用指定 Mirai Native 插件的菜单方法
/reload <插件Id>   重新载入指定 Mirai Native 插件
/unload <插件Id>   卸载指定 Mirai Native 插件

开源许可证

iTXTech Mirai Native
Copyright (C) 2020-2022 iTX Technologies

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.