debumori-osc / Another-Mirai-Native

来了,又是一个酷Q兼容项目
20 stars 2 forks source link

AnotherMiraiNative(AMN)

ProjectBuild

来了,又是一个酷Q兼容项目

特点

相较于Mirai-Native具有以下特点:

依赖

安装与配置mirai-api-http

https://github.com/project-mirai/mirai-api-http#安装mirai-api-http

使用流程

集成版本

another-mirai-native-release可以下载到集成好环境的版本。

手动安装

  1. 下载最老版本的Release并解压
  2. 下载最新版本的Release,按照发行说明替换对应文件
  3. 启动AnotherMiraiNative.exe,填入对应的配置,关于wsAuthkey在上一节

音频支持

https://github.com/Hellobaka/Another-Mirai-Native/releases/tag/1.5.5 下载其中的tools.7z并按说明解压即可

命令行参数

配置文件

配置键 含义 类型 默认值
AutoLogin 启动程序时是否自动连接 bool false
QQ 默认填入的QQ号 long
Ws_Url 默认填入的Ws_Url string
Ws_AuthKey 默认填入的Ws_AuthKey string
Ws_ServerPort 本地Ws服务器需要的端口 ushort 30303
MaxLogCount 日志窗口最大日志数量 int 500
FloatWindow_Location 悬浮窗位置 string(示例: 1841,903)
FloatWindow_Visible 悬浮窗是否可见 bool false
FloatWindow_TopMost 悬浮窗是否置顶 bool false
Tester_GroupID 最后一次插件测试的群号 long 随机生成
Tester_QQID 最后一次插件测试的QQ号 long 随机生成
API_Timeout 接口调用超时最大时长(100=1s) int 6000(60s)
Enable_UsageMonitor 是否启用性能检测模块 bool false

内置WebSocket接口

使用文档

交流群

671467200

待实现功能

已知的问题