Skip to content

Commit c29d430

Browse files
committed
Move adventure to spigot library loader
1 parent dfe1d64 commit c29d430

2 files changed

Lines changed: 13 additions & 23 deletions

File tree

pom.xml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@
100100
<dependencies.log4j-core.version>2.20.0</dependencies.log4j-core.version> <!-- TODO: check this, version bundled 1.16.5 -->
101101
<!-- Spigot libraries -->
102102
<dependencies.bstats.version>3.0.2</dependencies.bstats.version>
103+
<!-- AuthMeReReloaded libraries -->
104+
<dependencies.adventure.version>4.17.0</dependencies.adventure.version>
105+
<dependencies.adventure-platform.version>4.3.4</dependencies.adventure-platform.version>
106+
103107
</properties>
104108

105109

@@ -338,30 +342,10 @@
338342
<pattern>com.github.Anon8281.universalScheduler</pattern>
339343
<shadedPattern>fr.xephi.authme.libs.com.github.Anon8281.universalScheduler</shadedPattern>
340344
</relocation>
341-
<relocation>
342-
<pattern>io.netty</pattern>
343-
<shadedPattern>fr.xephi.authme.libs.io.netty</shadedPattern>
344-
</relocation>
345-
<relocation>
346-
<pattern>org.apache.commons.validator</pattern>
347-
<shadedPattern>fr.xephi.authme.libs.org.apache.commons.validator</shadedPattern>
348-
</relocation>
349345
<relocation>
350346
<pattern>com.alessiodp.libby</pattern>
351347
<shadedPattern>fr.xephi.authme.libs.com.alessiodp.libby</shadedPattern>
352348
</relocation>
353-
<relocation>
354-
<pattern>net.kyori.adventure</pattern>
355-
<shadedPattern>fr.xephi.authme.libs.net.kyori.adventure</shadedPattern>
356-
</relocation>
357-
<relocation>
358-
<pattern>net.kyori.examination</pattern>
359-
<shadedPattern>fr.xephi.authme.libs.net.kyori.examination</shadedPattern>
360-
</relocation>
361-
<relocation>
362-
<pattern>net.kyori.option</pattern>
363-
<shadedPattern>fr.xephi.authme.libs.net.kyori.option</shadedPattern>
364-
</relocation>
365349
</relocations>
366350

367351
<filters>
@@ -796,17 +780,20 @@
796780
<dependency>
797781
<groupId>net.kyori</groupId>
798782
<artifactId>adventure-text-minimessage</artifactId>
799-
<version>4.17.0</version>
783+
<version>${dependencies.adventure.version}</version>
784+
<scope>provided</scope>
800785
</dependency>
801786
<dependency>
802787
<groupId>net.kyori</groupId>
803788
<artifactId>adventure-platform-bukkit</artifactId>
804-
<version>4.3.4</version>
789+
<version>${dependencies.adventure-platform.version}</version>
790+
<scope>provided</scope>
805791
</dependency>
806792
<dependency>
807793
<groupId>net.kyori</groupId>
808794
<artifactId>adventure-text-serializer-gson</artifactId>
809-
<version>4.17.0</version>
795+
<version>${dependencies.adventure.version}</version>
796+
<scope>provided</scope>
810797
</dependency>
811798

812799
<!-- LuckPerms plugin -->

src/main/resources/plugin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ libraries:
3939
- com.warrenstrange:googleauth:${dependencies.googleauth.version}
4040
- ch.jalu:configme:${dependencies.configme.version}
4141
- org.bstats:bstats-bukkit:${dependencies.bstats.version}
42+
- net.kyori:adventure-text-minimessage:${dependencies.adventure.version}
43+
- net.kyori:adventure-platform-bukkit:${dependencies.adventure-platform.version}
44+
- net.kyori:adventure-text-serializer-gson:${dependencies.adventure.version}
4245
commands:
4346
authme:
4447
description: AuthMe op commands

0 commit comments

Comments
 (0)