3 Commits

Author SHA1 Message Date
564f4d1e56 Fix CI branch 2023-05-21 21:14:41 +08:00
66fb25aa9b Add url to enable log 2023-05-21 21:04:02 +08:00
c3c2ed08a7 Update player command response handler 2023-05-21 20:51:12 +08:00
4 changed files with 6 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ on:
paths: paths:
- "**.java" - "**.java"
branches: branches:
- "for-unstable" - "master"
pull_request: pull_request:
paths: paths:
- "**.java" - "**.java"
@@ -35,7 +35,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-
- name: Download latest grasscutter jar - name: Download latest grasscutter jar
run: wget https://nightly.link/Grasscutters/Grasscutter/workflows/build/unstable/Grasscutter.zip && mkdir lib && unzip Grasscutter.zip -d lib run: wget https://nightly.link/Grasscutters/Grasscutter/workflows/build/development/Grasscutter.zip && mkdir lib && unzip Grasscutter.zip -d lib
- name: Change permission - name: Change permission
run: chmod +x gradlew run: chmod +x gradlew

View File

@@ -4,10 +4,6 @@
一个为第三方客户端开放GC命令执行接口的插件 一个为第三方客户端开放GC命令执行接口的插件
## 分支说明
本分支目的在于兼容 GC 的 `unstable` 分支
## 使用本插件的应用 ## 使用本插件的应用
- [GrasscutterTools](https://github.com/jie65535/GrasscutterCommandGenerator) —— Windows 客户端工具 - [GrasscutterTools](https://github.com/jie65535/GrasscutterCommandGenerator) —— Windows 客户端工具
- [JGrasscutterCommand](https://github.com/jie65535/JGrasscutterCommand) —— [Mirai](https://github.com/mamoe/mirai) 插件在QQ里执行命令 - [JGrasscutterCommand](https://github.com/jie65535/JGrasscutterCommand) —— [Mirai](https://github.com/mamoe/mirai) 插件在QQ里执行命令
@@ -74,7 +70,7 @@
## `config.json` ## `config.json`
```json5 ```json
{ {
// 控制台连接令牌 // 控制台连接令牌
"consoleToken": "", "consoleToken": "",
@@ -263,7 +259,7 @@ public final class JsonResponse {
| message | `Success` | `String` | | message | `Success` | `String` |
| data | `{}` | `JsonObject` | | data | `{}` | `JsonObject` |
```json5 ```json
{ {
"retcode": 200, "retcode": 200,
"message": "success", "message": "success",

View File

@@ -4,10 +4,6 @@
A plugin that opens the GC command execution interface for third-party clients 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 ## Applications using this plug-in
- [GrasscutterTools](https://github.com/jie65535/GrasscutterCommandGenerator) —— Windows Client Tools - [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 - [JGrasscutterCommand](https://github.com/jie65535/JGrasscutterCommand) —— [Mirai](https://github.com/mamoe/mirai) Plugin, run commands in QQ
@@ -248,7 +244,7 @@ Success
| message | `Success` | `String` | | message | `Success` | `String` |
| data | `{}` | `JsonObject` | | data | `{}` | `JsonObject` |
```json5 ```json
{ {
"retcode": 200, "retcode": 200,
"message": "success", "message": "success",

View File

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