用于放置包版本信息。
- 包必须遵循
AGPLv3
开源 - 提交
Pull Request
Maven Central
- 如果repo
字段没有定义将默认使用- 使用
repo
字段为每个版本定义下载链接
- GitHub project-mirai/mirai-repo-mirror - 主仓库
https://repo.iTXTech.org
- Cloudflare Pageshttps://mcl.repo.mamoe.net
- GitHub Pageshttps://repo.mirai.mamoe.net/keep/mcl
- Mamoe Repo Serverhttps://mirai.mamoe.net/assets/mcl
- Mirai ForumGitee peratx/mirai-repo- 原主仓库, 已停用
{
"announcement": "包公告",
"type": "core/plugin-jar/plugin-native/plugin-js/mcl-module等",
"defaultChannel": "stable",
"name": "包显示名称(为空则不在插件中心显示)",
"description": "简介(可空)",
"website": "网站,可为GitHub(可空)",
"forum": "Mirai Forum 帖子链接(可空)",
"logo": "Logo链接(可空,但不建议)",
"readme": "README.md链接(可空,链接请指向RAW)",
"channels": {
"stable": [
"1.0.0"
]
},
"repo": {
"1.0.0": {
"archive": "https://example.org/org/example/1.0.0/example.zip",
"metadata": "https://example.org/org/example/1.0.0/example.metadata",
"sha1": "https://example.org/org/example/1.0.0/example.zip.sha1"
}
}
}
## 安装 `my-plugin`
### 使用 mirai-console-loader 安装 `my-plugin`
`./mcl --update-package ${{packageid}} --channel $${channel}} --type plugin`
### 手动安装
Mirai Repo
Copyright (C) 2021-2022 Mamoe Technologies
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/>.