Skip to content

Commit

Permalink
4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dituon committed Aug 8, 2022
1 parent 7eced83 commit 47d2467
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ content:
respondSelfNudge: false #响应机器人发出的戳一戳
keyListFormat: FORWARD #keyList响应格式
disablePolicy: NUDGE #禁用策略
fuzzy: false #模糊匹配用户名
synchronized: false #消息事件同步锁
strictCommand: true #严格匹配模式
headless: true #使用headless模式
autoUpdate: true #自动从仓库同步PetData
updateIgnore: [] #更新忽略表列
Expand Down Expand Up @@ -131,27 +133,27 @@ content:
> 枚举: `MESSAGE`(发送普通消息) `FORWARD`(发送转发消息) `IMAGE`(发送图片)
<br/>
- **disablePolicy**: `NUDGE`

> 发送`pet on/off`时 禁用哪些功能
>
> 枚举: `NONE`(无效) `NUDGE`(只禁用戳一戳) `MESSAGE`(只禁用指令) `FULL`(同时禁用戳一戳和指令)
- **fuzzy**: `false`

> 模糊匹配用户名, 默认为`false`
>
> 例 (配置项为`true`时): `kiss @田所浩二`(响应) `kiss 浩二`(响应)
<br/>
[//]: # (- **strictCommand**: `true`)

[//]: # ()
[//]: # (> 严格匹配指令, 默认为`true`)

[//]: # (> )

[//]: # (> ~~人话: 可以省略key后的空格~~)
- **strictCommand**: `true`

[//]: # (> )

[//]: # (> 例 &#40;配置项为`false`时&#41;: `kiss 田所`&#40;响应&#41; `kiss田所`&#40;响应&#41;)

[//]: # (<br/>)
> 严格匹配指令, 默认为`true`
>
> ~~人话: 可以省略key后的空格~~
>
> 例 (配置项为`false`时): `kiss 田所`(响应) `kiss田所`(响应)
<br/>
- **synchronized**: `false`

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ apply plugin: "java"


group = 'xmmt.dituon'
version = '4.2'
version = '4.3'

repositories {
maven { url 'https://maven.aliyun.com/repository/public' }
Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 4.2,
"version": 4.3,
"dataList": [
"key_list",
"up_symmetry",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xmmt/dituon/plugin/Petpet.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public final class Petpet extends JavaPlugin {
public static final Petpet INSTANCE = new Petpet();
public static final float VERSION = 4.2F;
public static final float VERSION = 4.3F;

private static final ArrayList<Group> disabledGroup = new ArrayList<>();
public static PluginPetService service;
Expand Down

0 comments on commit 47d2467

Please sign in to comment.