From 9ae2206248d8fc6d55891c139ee24605aad761cc Mon Sep 17 00:00:00 2001 From: lanzhi6 Date: Wed, 6 Jul 2022 20:46:04 +0800 Subject: [PATCH] =?UTF-8?q?[3.3.0]=E6=97=A9=E5=B0=B1=E8=AF=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 43 ++++++++-- .../bluestargame/BluestarGamePlugin.java | 13 ++- .../java/me/lanzhi/bluestargame/Metrics.java | 2 +- .../bluestargame/Type/CompressedCoal.java | 24 +++--- .../me/lanzhi/bluestargame/Type/Elevator.java | 6 +- .../lanzhi/bluestargame/Type/SuperSponge.java | 4 +- .../commands/BluestarGameCommand.java | 31 +++----- .../commands/BluestarItemCommand.java | 30 ++++--- .../bluestargame/commands/setNickCommand.java | 67 ++++++++++++++++ .../listener/ChatColorListener.java | 10 +-- .../listener/CompostListener.java | 34 ++++++++ .../listener/EasterEggListener.java | 23 ++++++ .../listener/HealthFixListener.java | 2 +- .../bluestargame/listener/arrowListener.java | 2 +- .../listener/breakBedrockListener.java | 7 +- .../bluestargame/listener/effectListener.java | 62 ++++++++------- .../listener/randoms/moreMineralListener.java | 2 +- .../listener/randoms/oneHealthListener.java | 2 +- .../randoms/randChatColorListener.java | 6 +- .../listener/randoms/randDamageListener.java | 2 +- .../randoms/randSheepColorListener.java | 8 +- .../listener/randoms/the24PointListener.java | 30 ++++--- .../listener/setNickListener.java | 62 +++++++++++++++ .../managers/BluestarGameManager.java | 7 ++ .../managers/RandomEventsChange.java | 79 ++++--------------- .../managers/SuperSpongeManager.java | 2 +- .../register/CommandRegister.java | 1 + .../register/ListenersRegister.java | 5 +- src/main/resources/plugin.yml | 4 + 29 files changed, 382 insertions(+), 188 deletions(-) create mode 100644 src/main/java/me/lanzhi/bluestargame/commands/setNickCommand.java create mode 100644 src/main/java/me/lanzhi/bluestargame/listener/CompostListener.java create mode 100644 src/main/java/me/lanzhi/bluestargame/listener/EasterEggListener.java create mode 100644 src/main/java/me/lanzhi/bluestargame/listener/setNickListener.java diff --git a/pom.xml b/pom.xml index 7d2ee4e..1569931 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.lanzhi BluestarGame - 3.2.0 + 3.3.0 jar BluestarGame @@ -57,6 +57,14 @@ spigotmc-repo https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + purpur + https://repo.purpurmc.org/snapshots + + + papermc + https://repo.papermc.io/repository/maven-public/ + sonatype https://oss.sonatype.org/content/groups/public/ @@ -77,12 +85,26 @@ + + + io.papermc.paper + paper-api + 1.18.2-R0.1-SNAPSHOT + provided + + + net.kyori + adventure-api + 4.11.0 + + de.tr7zw item-nbt-api-plugin @@ -92,19 +114,19 @@ com.github.lanzhi6 BluestarAPI - 2.1.2 + 2.4.0-pre1 provided com.github.lanzhi6 BluestarQQ - 1.0.4 + 1.1.3 provided com.github.lanzhi6 BluestarGameAPI - 3.2 + 3.2.1 provided @@ -116,7 +138,7 @@ com.github.DreamVoid.MiraiMC MiraiMC-Integration - 1.6 + 1.7-pre2 provided @@ -131,15 +153,22 @@ purpur 1.18.2 system - ${project.basedir}/lib/purpur-1.18.2.jar + ${project.basedir}/lib/DeEnchantment-1.3.0-all.jar