6 Commits

Author SHA1 Message Date
d64238a9e9 Fix CI branch 2023-05-21 21:13:59 +08:00
c3667a8206 Add unstable description 2023-05-21 21:10:52 +08:00
c62d777037 Add url to enable log
(cherry picked from commit 66fb25aa9b)
2023-05-21 21:04:41 +08:00
5019b6548a Update player command response handler 2023-05-21 20:50:34 +08:00
1c8d448a7b Update baseName to opencommand-for-unstable 2023-05-21 20:38:22 +08:00
99f914b952 Update CI gc path 2023-05-21 20:01:11 +08:00
4 changed files with 14 additions and 6 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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",

View File

@@ -18,7 +18,7 @@ dependencies {
}
jar {
jar.baseName = 'opencommand'
jar.baseName = 'opencommand-for-unstable'
destinationDir = file(".")
}