mirror of
https://github.com/jie65535/gc-opencommand-plugin.git
synced 2025-12-15 19:31:35 +08:00
Compare commits
6 Commits
v1.5.2
...
v1.5.2-for
| Author | SHA1 | Date | |
|---|---|---|---|
| d64238a9e9 | |||
| c3667a8206 | |||
| c62d777037 | |||
| 5019b6548a | |||
| 1c8d448a7b | |||
| 99f914b952 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
paths:
|
||||
- "**.java"
|
||||
branches:
|
||||
- "master"
|
||||
- "for-unstable"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.java"
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
- name: Download latest grasscutter jar
|
||||
run: wget https://nightly.link/Grasscutters/Grasscutter/workflows/build/development/Grasscutter.zip && mkdir lib && unzip Grasscutter.zip -d lib
|
||||
run: wget https://nightly.link/Grasscutters/Grasscutter/workflows/build/unstable/Grasscutter.zip && mkdir lib && unzip Grasscutter.zip -d lib
|
||||
|
||||
- name: Change permission
|
||||
run: chmod +x gradlew
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
一个为第三方客户端开放GC命令执行接口的插件
|
||||
|
||||
## 分支说明
|
||||
|
||||
本分支目的在于兼容 GC 的 `unstable` 分支
|
||||
|
||||
## 使用本插件的应用
|
||||
- [GrasscutterTools](https://github.com/jie65535/GrasscutterCommandGenerator) —— Windows 客户端工具
|
||||
- [JGrasscutterCommand](https://github.com/jie65535/JGrasscutterCommand) —— [Mirai](https://github.com/mamoe/mirai) 插件,在QQ里执行命令
|
||||
@@ -70,7 +74,7 @@
|
||||
|
||||
## `config.json`
|
||||
|
||||
```json
|
||||
```json5
|
||||
{
|
||||
// 控制台连接令牌
|
||||
"consoleToken": "",
|
||||
@@ -259,7 +263,7 @@ public final class JsonResponse {
|
||||
| message | `Success` | `String` |
|
||||
| data | `{}` | `JsonObject` |
|
||||
|
||||
```json
|
||||
```json5
|
||||
{
|
||||
"retcode": 200,
|
||||
"message": "success",
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
A plugin that opens the GC command execution interface for third-party clients
|
||||
|
||||
## Branch Description
|
||||
|
||||
The purpose of this branch is to be compatible with the 'unstable' branch of GC
|
||||
|
||||
## Applications using this plug-in
|
||||
- [GrasscutterTools](https://github.com/jie65535/GrasscutterCommandGenerator) —— Windows Client Tools
|
||||
- [JGrasscutterCommand](https://github.com/jie65535/JGrasscutterCommand) —— [Mirai](https://github.com/mamoe/mirai) Plugin, run commands in QQ
|
||||
@@ -244,7 +248,7 @@ Success
|
||||
| message | `Success` | `String` |
|
||||
| data | `{}` | `JsonObject` |
|
||||
|
||||
```json
|
||||
```json5
|
||||
{
|
||||
"retcode": 200,
|
||||
"message": "success",
|
||||
|
||||
@@ -18,7 +18,7 @@ dependencies {
|
||||
}
|
||||
|
||||
jar {
|
||||
jar.baseName = 'opencommand'
|
||||
jar.baseName = 'opencommand-for-unstable'
|
||||
|
||||
destinationDir = file(".")
|
||||
}
|
||||
Reference in New Issue
Block a user