lucko / BungeeGuard

A plugin-based security/firewall solution for BungeeCord and Velocity proxies.
MIT License
214 stars 48 forks source link

Error while loading #95

Open WaterChick opened 1 year ago

WaterChick commented 1 year ago

Spigot 1.8.8

[ERROR] Error occurred while enabling BungeeGuard v1.3-SNAPSHOT (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.Server$Spigot.getSpigotConfig()Lorg/bukkit/configuration/file/YamlConfiguration; at me.lucko.bungeeguard.spigot.BungeeGuardBackendPlugin.onEnable(BungeeGuardBackendPlugin.java:57) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[server.jar:git-Spigot-21fe707-741a1bd] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [server.jar:git-Spigot-21fe707-741a1bd] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [server.jar:git-Spigot-21fe707-741a1bd] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [server.jar:git-Spigot-21fe707-741a1bd] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [server.jar:git-Spigot-21fe707-741a1bd] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:199) [server.jar:git-Spigot-21fe707-741a1bd] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [server.jar:git-Spigot-21fe707-741a1bd] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]

stijnb1234 commented 1 year ago

BungeeGuard only supports 1.9.4 or higher, as stated in the INSTALLATION.md document.

Never mind, with ProtocolLib it should be possible. The method is called getConfig() instead of getSpigotConfig() for 1.8.

WaterChick commented 1 year ago

And what do i do with this information ?

stijnb1234 commented 1 year ago

Nothing, that's for @lucko.

WaterChick commented 1 year ago

Okay.

WaterChick commented 1 year ago

When will it be fixed ?

stijnb1234 commented 1 year ago

When someone looks at it. Look at the open issues before this one. 😉

stijnb1234 commented 1 year ago

You can try an older version. This was bug was introduced in the latest commit.

WaterChick commented 1 year ago

Ur right. Thank you.

Minecon724 commented 1 year ago

same issue on spigot 1.19.3

stijnb1234 commented 1 year ago

Try PaperSpigot instead of Spigot.