mirai/mirai-console
2020-02-12 22:28:59 +08:00
..
src/main/kotlin Smart Config 2020-02-12 22:28:59 +08:00
build.gradle.kts Smart Config 2020-02-12 22:28:59 +08:00
README.MD plugin supporting 2020-01-19 20:58:08 +08:00

Mirai Console

Mirai Console allows you to run Mirai in command lines/terminal.

你可以终端中或命令行环境下运行在Mirai


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/插件名字/ 文件夹下