From 4cb5268733c52d388f1745355ae170de4ff3c3b9 Mon Sep 17 00:00:00 2001 From: HRS-Computer <3474006766@qq.com> Date: Fri, 24 Dec 2021 13:59:41 +0800 Subject: [PATCH] 0.2.8 --- .../main/java/cn/kloping/lsys/getPic/PluginMain.java | 4 ++-- .../main/java/cn/kloping/lsys/getSong/PluginMain.java | 4 ++-- .../java/cn/kloping/lsys/picParser/PluginMain.java | 4 ++-- .../src/main/java/cn/kloping/lsys/sc1/PluginMain.java | 4 ++-- .../src/main/java/cn/kloping/lsys/sc2/PluginMain.java | 4 ++-- .../main/java/io/github/kloping/Idiom/PluginMain.java | 4 ++-- .../src/main/java/io/github/kloping/Idiom/Worker.java | 2 +- conf/readme.md | 4 ++-- pom.xml | 11 ++++++----- src/main/java/cn/kloping/lsys/PluginMain.kt | 4 ++-- 10 files changed, 23 insertions(+), 22 deletions(-) diff --git a/Lsys-GetPic/src/main/java/cn/kloping/lsys/getPic/PluginMain.java b/Lsys-GetPic/src/main/java/cn/kloping/lsys/getPic/PluginMain.java index 173958b..199ba3d 100644 --- a/Lsys-GetPic/src/main/java/cn/kloping/lsys/getPic/PluginMain.java +++ b/Lsys-GetPic/src/main/java/cn/kloping/lsys/getPic/PluginMain.java @@ -12,8 +12,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.getPic.PluginMain", "0.1") - .name("插件_4 Author => HRS LSys GetPic Loaded") - .info("插件") + .name("plugin_4 Author - HRS LSys GetPic Loaded") + .info("plugin-pic") .author("HRS") .build()); } diff --git a/Lsys-GetSong/src/main/java/cn/kloping/lsys/getSong/PluginMain.java b/Lsys-GetSong/src/main/java/cn/kloping/lsys/getSong/PluginMain.java index ebebc53..091333f 100644 --- a/Lsys-GetSong/src/main/java/cn/kloping/lsys/getSong/PluginMain.java +++ b/Lsys-GetSong/src/main/java/cn/kloping/lsys/getSong/PluginMain.java @@ -11,8 +11,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.getSong.PluginMain", "0.1") - .name("插件_5 Author => HRS LSys GetSong Loaded") - .info("插件") + .name("plugin_5 Author - HRS LSys GetSong Loaded") + .info("plugin-song") .author("HRS") .build()); } diff --git a/Lsys-PicParser/src/main/java/cn/kloping/lsys/picParser/PluginMain.java b/Lsys-PicParser/src/main/java/cn/kloping/lsys/picParser/PluginMain.java index 1898ed8..a6a8393 100644 --- a/Lsys-PicParser/src/main/java/cn/kloping/lsys/picParser/PluginMain.java +++ b/Lsys-PicParser/src/main/java/cn/kloping/lsys/picParser/PluginMain.java @@ -13,8 +13,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.picParser.PluginMain", "0.1") - .name("插件_6 Author => HRS LSys picParser Loaded") - .info("插件") + .name("p_6 Author - HRS LSys picParser Loaded") + .info("plugin-picP") .author("HRS") .build()); } diff --git a/Lsys-Score1/src/main/java/cn/kloping/lsys/sc1/PluginMain.java b/Lsys-Score1/src/main/java/cn/kloping/lsys/sc1/PluginMain.java index af54c14..05dabdc 100644 --- a/Lsys-Score1/src/main/java/cn/kloping/lsys/sc1/PluginMain.java +++ b/Lsys-Score1/src/main/java/cn/kloping/lsys/sc1/PluginMain.java @@ -15,8 +15,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.sco1.PluginMain", "0.1") - .name("插件_7 Author => HRS LSys sco1 Loaded") - .info("插件") + .name("p_7 Author - HRS LSys sco1 Loaded") + .info("plugin-sco1") .author("HRS") .build()); } diff --git a/Lsys-Score2/src/main/java/cn/kloping/lsys/sc2/PluginMain.java b/Lsys-Score2/src/main/java/cn/kloping/lsys/sc2/PluginMain.java index 327657a..160882f 100644 --- a/Lsys-Score2/src/main/java/cn/kloping/lsys/sc2/PluginMain.java +++ b/Lsys-Score2/src/main/java/cn/kloping/lsys/sc2/PluginMain.java @@ -12,8 +12,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.sco2.PluginMain", "0.1.2") - .name("插件_8 Author => HRS LSys sco2 Loaded") - .info("插件") + .name("p_8 Author-HRS-LSys-sco2-Loaded") + .info("plugin-sco2") .author("HRS") .build()); } diff --git a/Lsys-idiom/src/main/java/io/github/kloping/Idiom/PluginMain.java b/Lsys-idiom/src/main/java/io/github/kloping/Idiom/PluginMain.java index 4760e5e..78d7170 100644 --- a/Lsys-idiom/src/main/java/io/github/kloping/Idiom/PluginMain.java +++ b/Lsys-idiom/src/main/java/io/github/kloping/Idiom/PluginMain.java @@ -14,8 +14,8 @@ public class PluginMain extends JavaPlugin { private PluginMain() { super(new JvmPluginDescriptionBuilder("cn.kloping.lsys.idiom.PluginMain", "0.1") - .name("插件_9 Author => HRS LSys idiom Loaded") - .info("插件") + .name("plugin_9 Author - HRS LSys idiom Loaded") + .info("plugin-idiom") .author("HRS") .build()); } diff --git a/Lsys-idiom/src/main/java/io/github/kloping/Idiom/Worker.java b/Lsys-idiom/src/main/java/io/github/kloping/Idiom/Worker.java index ac5086b..edeab13 100644 --- a/Lsys-idiom/src/main/java/io/github/kloping/Idiom/Worker.java +++ b/Lsys-idiom/src/main/java/io/github/kloping/Idiom/Worker.java @@ -68,7 +68,7 @@ public void fail(String s) { builder.append("成语接龙结束\n"); builder.append("共接了").append(String.valueOf(this.getHist().size())).append("次\n"); for (String s2 : this.getHist()) { - builder.append(s2).append("=>"); + builder.append(s2).append("-"); } builder.append("end"); request.getEvent().getSubject().sendMessage(builder.build()); diff --git a/conf/readme.md b/conf/readme.md index d11486f..84714d9 100644 --- a/conf/readme.md +++ b/conf/readme.md @@ -13,7 +13,7 @@ "main": { //映射组Id "id": "main", - //映射组 句=>方法名 + //映射组 句-方法名 "invokes": { "积分查询": "m1", "查询积分": "m1", @@ -24,7 +24,7 @@ "开启私聊": "mpOpen", "关闭私聊": "mpClose" }, - //映射组 输出 格式 句 => 格式 + //映射组 输出 格式 句 - 格式 "invokesAfter": { "关闭": [ "\n关闭成功", diff --git a/pom.xml b/pom.xml index 48baf31..572288c 100644 --- a/pom.xml +++ b/pom.xml @@ -22,13 +22,14 @@ 8 8 1.6.0-RC + LATEST io.github.Kloping JvUtils - 0.2.7 + LATEST org.jsoup @@ -38,22 +39,22 @@ net.mamoe mirai-core-all - 2.8.0 + ${mirai-version} net.mamoe mirai-core-jvm - 2.8.0 + ${mirai-version} net.mamoe mirai-console - 2.8.0 + ${mirai-version} net.mamoe mirai-console-terminal - 2.8.0 + ${mirai-version} org.jetbrains.kotlin diff --git a/src/main/java/cn/kloping/lsys/PluginMain.kt b/src/main/java/cn/kloping/lsys/PluginMain.kt index 29234f3..f3225cd 100644 --- a/src/main/java/cn/kloping/lsys/PluginMain.kt +++ b/src/main/java/cn/kloping/lsys/PluginMain.kt @@ -21,8 +21,8 @@ class PluginMain : KotlinPlugin { constructor() : super( JvmPluginDescriptionBuilder("cn.kloping.Lsys", "0.2.8-M1") - .name("插件_ Author => HRS LSys Loaded") - .info("插件") + .name("p_0-Author-HRS-LSys-Loaded") + .info("Lsys-main") .author("HRS") .build().apply { }