mirror of
https://github.com/jie65535/gc-opencommand-plugin.git
synced 2025-12-15 19:31:35 +08:00
Compare commits
3 Commits
v1.5.2-for
...
v1.5.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 564f4d1e56 | |||
| 66fb25aa9b | |||
| c3c2ed08a7 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
jar.baseName = 'opencommand-for-unstable'
|
jar.baseName = 'opencommand'
|
||||||
|
|
||||||
destinationDir = file(".")
|
destinationDir = file(".")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user