games647 / ScoreboardStats

Bukkit plugin for customizing the sidebar of the scoreboard feature from minecraft
https://dev.bukkit.org/bukkit-mods/scoreboardstats/
MIT License
28 stars 45 forks source link

The server terminal gets an error when loading the plug-in, but it works fine Typing '/scoreboardstats reload' will also give an error, and it will be the same as when it was loaded at the beginning #236

Open pumpkinmc opened 4 months ago

pumpkinmc commented 4 months ago

What behavior is observed:

The server terminal gets an error when loading the plug-in, but it works fine Typing '/scoreboardstats reload' will also give an error, and it will be the same as when it was loaded at the beginning

What behavior is expected:

uh, I don't know what to fill in here, I don't know English

Steps/models to reproduce:

The normal plugin is added and 'PlaceholderAPI' is added, the version of 'PlaceholderAPI' is 2.11.6

Scree### Screenshots (if applicablenshots (if applicable)

no

Plugin list:

image

Environment description

Dionysus-"8d3095e"-1.12.2 / Minecraft 1.12.2 / MariaDB

Plugin version or build number (don't write latest):

0.10.6

Server Log:

[01:36:09 INFO]: [ScoreboardStats] Enabling ScoreboardStats v0.10.6 [01:36:09 INFO]: [ScoreboardStats] Path not fond disabled-worlds-whitelist [01:36:09 WARN]: [ScoreboardStats] Cannot register replacer java.lang.NoClassDefFoundError: me/clip/placeholderapi/external/EZPlaceholderHook at com.github.games647.scoreboardstats.variables.defaults.PlaceHolderVariables.getVariablesPrefixes(PlaceHolderVariables.java:28) ~[?:?] at com.github.games647.scoreboardstats.variables.defaults.PlaceHolderVariables.(PlaceHolderVariables.java:43) ~[?:?] at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?] at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:132) ~[?:?] at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:259) ~[?:?] at java.lang.Class.newInstance(Class.java:755) ~[?:?] at com.github.games647.scoreboardstats.variables.ReplaceManager.createInstance(ReplaceManager.java:375) ~[?:?] at com.github.games647.scoreboardstats.variables.ReplaceManager.registerDefault(ReplaceManager.java:303) ~[?:?] at com.github.games647.scoreboardstats.variables.ReplaceManager.addDefaultReplacers(ReplaceManager.java:359) ~[?:?] at com.github.games647.scoreboardstats.variables.ReplaceManager.(ReplaceManager.java:86) ~[?:?] at com.github.games647.scoreboardstats.SbManager.(SbManager.java:27) ~[?:?] at com.github.games647.scoreboardstats.scoreboard.bukkit.BukkitScoreboardManager.(BukkitScoreboardManager.java:37) ~[?:?] at com.github.games647.scoreboardstats.ScoreboardStats.onEnable(ScoreboardStats.java:100) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:398) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:347) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:295) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:630) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at java.lang.Thread.run(Thread.java:1570) ~[?:?] Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.external.EZPlaceholderHook at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:159) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:107) ~[patched_1.12.2.jar:git-Dionysus-"8d3095e"] at java.lang.ClassLoader.loadClass(ClassLoader.java:592) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] ... 25 more [01:36:09 INFO]: [ScoreboardStats] Registered replacers: [PlayerPingVariable, BukkitGlobalVariables, BungeeCordVariables, GeneralVariables, VaultVariables, BukkitVariables] [01:36:09 INFO]: [com.zaxxer.hikari.HikariDataSource] HikariPool-1 - Starting... [01:36:09 INFO]: [com.zaxxer.hikari.HikariDataSource] HikariPool-1 - Start completed.

Configuration:

compatibilityMode: false disabled-worlds:

I don't know English and I tried my best :(