Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pumpkinmc
Copy link

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:

  • city
    hide-vanished: false
    Scoreboard:
    Title: '&6---PumPkinMC---'
    Update-delay: 2
    Items:
    '&d积分': '%money%'
    '&3延迟': '%ping%'
    enable-pvpstats: true
    Temp-Scoreboard-enabled: false
    Temp-Scoreboard:
    Title: '&a&lTop Kills'
    Type: '%kills%'
    Color: '&9'
    Items: 5
    Intervall-show: 300
    Intervall-disappear: 300
    pluginUpdate: true

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

@pumpkinmc pumpkinmc added the bug Something isn't working label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant