Coder Social home page Coder Social logo

iq-scm / mirai-console-loader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itxtech/mirai-console-loader

0.0 0.0 0.0 220 KB

模块化、轻量级且支持完全自定义的 mirai 加载器。

License: GNU Affero General Public License v3.0

Shell 0.07% Java 99.78% Batchfile 0.15%

mirai-console-loader's Introduction

Mirai Console Loader

GitHub release Maven Central MiraiForum

模块化、轻量级且支持完全自定义的 mirai 加载器。

开发者请参见 MCL 开发文档

简介

iTX Technologies Mirai Console Loader(下简称MCL)采用模块化设计,包含以下几个基础模块:

  • Module 模块管理器,用于加载和执行模块,MCL的主要功能均由模块实现。模块执行有各个阶段,详见开发文档。
  • Config 配置文件模块,用于配置的持久化。
  • Package 包管理器。
  • Downloader 下载器模块,用于下载文件,并实时返回进度。
  • Logger 日志模块,用于向控制台输出日志。

MCL 命令行文档

该文档将教会您如何安装插件禁用和启用脚本修改包的更新频道等操作。

使用 iTXTech MCL

一键安装

iTXTech MCL Installer 能在所有操作系统上一键安装 iTXTech MCL

手动安装

  1. 安装 Java 运行时(版本必须 >= 11)
  2. Releases 下载最新版本的MCL
  3. 解压到某处
  4. 在命令行中执行.\mcl以启动MCL

*nix下通过命令行安装

mkdir mcl
cd mcl
wget https://github.com/iTXTech/mirai-console-loader/releases/download/v2.1.2/mcl-2.1.2.zip
unzip mcl-2.1.2.zip
chmod +x mcl
./mcl

Mirai Repo 列表

Maven Repo 列表

  • Maven Central - Maven Central上游
  • Aliyun - 默认,阿里云Maven镜像,国内访问速度快
  • HuaweiCloud - 华为云Maven镜像,阿里云不可用时的备选方案

安装MCL Module扩展组件

  1. mcl 运行目录下新建 modules 目录
  2. 将 目标Jar 放入该目录
  3. 编辑 config.jsonmodule_packages 字段,添加入 jar文件名(不带扩展名):包名

新版 MCL Module 加载将使用 Java SPI Service 的加载方式,不需要再配置 module_packages 字段

MCL 默认支持 Mirai 2.11 及以上插件格式

若需要默认使用旧版插件格式,请移除config.jsonarchiveSuffix中的.mirai2.jar字段。

开源许可证

iTXTech Mirai Console Loader
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/>.

mirai-console-loader's People

Contributors

cssxsh avatar dousha avatar karlatemp avatar nekoyyang avatar peratx avatar stageguard avatar xtyuns avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.