mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 09:50:16 +08:00
2.1 KiB
2.1 KiB
Mirai Console
你可以全平台运行Mirai高效率机器人框架
Mirai Console提供了5个版本以满足各种需要
MiraiConsole-Pure
最纯净版的Mirai-Console CLI环境 通过标准输入与标准输出 交互
Mirai-Console-Terminal (UNIX)Terminal环境 提供简介好用的富文本控制台
Mirai-Console-Android 安卓APP (TODO)
Mirai-Console-Graphical JavaFX的图形化界面, 有Native版本(.jar/.exe/.dmg)
Mirai-Console-WebPanel Web Panel操作(TODO)
如何选择版本
More Importantly, Mirai Console support Plugins, tells the bot what to do
Mirai Console 支持插件系统, 你可以自己开发或使用公开的插件来逻辑化机器人, 如群管
download 下载
how to get/write plugins 如何获取/写插件
how to use(如何使用)
how to run Mirai Console
- download mirai-console.jar
- open command line/terminal
- create a folder and put mirai-console.jar in
- cd that folder
- "java -jar mirai-console.jar"
- 下载mirai-console.jar
- 打开终端
- 在任何地方创建一个文件夹, 并放入mirai-console.jar
- 在终端中打开该文件夹"cd"
- 输入"java -jar mirai-console.jar"
how to add plugins
- After first time of running mirai console
- /plugins/folder will be created next to mirai-console.jar
- put plugin(.jar) into /plugins/
- restart mirai console
- checking logger and check if the plugin is loaded successfully
- if the plugin has it own Config file, it normally appears in /plugins/{pluginName}/
- 在首次运行mirai console后
- mirai-console.jar 的同级会出现/plugins/文件夹
- 将插件(.jar)放入/plugins/文件夹
- 重启mirai console
- 在开启后检查日志, 是否成功加载
- 如该插件有配置文件, 配置文件一般会创建在/plugins/插件名字/ 文件夹下