jpenilla / squaremap-addons

Various addons for squaremap
12 stars 14 forks source link

Update squaremap-essentials #11

Closed tacokangaroo closed 2 years ago

tacokangaroo commented 2 years ago

Hey there, can you please update Squaremap-Essentials (and probably some of the other plugins too)? As of the 1.18 update, getting the following error:

[29.05 18:54:09] [Server] [INFO] [squaremap-essentialsx] Enabling squaremap-essentialsx v1.0.0-SNAPSHOT
[29.05 18:54:09] [Server] [ERROR] Error occurred while enabling squaremap-essentialsx v1.0.0-SNAPSHOT (Is it up to date?)
[29.05 18:54:09] [Server] java.lang.NoSuchMethodError'java.lang.String xyz.jpenilla.squaremap.api.MapWorld.name()'
[29.05 18:54:09] [Server]   at xyz.jpenilla.squaremap.addon.essentialsx.shaded.common.config.Config.lambda$worldConfig$2(Config.java:101) ~[SquareMap-EssentialsX.jar:?]
[29.05 18:54:09] [Server]   at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) ~[?:?]
[29.05 18:54:09] [Server]   at xyz.jpenilla.squaremap.addon.essentialsx.shaded.common.config.Config.worldConfig(Config.java:100) ~[SquareMap-EssentialsX.jar:?]
[29.05 18:54:09] [Server]   at xyz.jpenilla.squaremap.addon.essentialsx.hook.SquaremapHook.load(SquaremapHook.java:39) ~[SquareMap-EssentialsX.jar:?]
[29.05 18:54:09] [Server]   at xyz.jpenilla.squaremap.addon.essentialsx.SquaremapEssentials.onEnable(SquaremapEssentials.java:27) ~[SquareMap-EssentialsX.jar:?]
[29.05 18:54:09] [Server]   at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
[29.05 18:54:09] [Server]   at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
[29.05 18:54:09] [Server]   at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
[29.05 18:54:09] [Server]   at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:669) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:436) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:352) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1179) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:320) ~[purpur-1.18.2.jar:git-Purpur-1611]
[29.05 18:54:09] [Server]   at java.lang.Thread.run(Thread.java:833) ~[?:?]
[29.05 18:54:09] [Server] [INFO] [squaremap-essentialsx] Disabling squaremap-essentialsx v1.0.0-SNAPSHOT

Thank you!

jpenilla commented 2 years ago

This sounds like you are on an old build of the addon. This was fixed a long time ago.

tacokangaroo commented 2 years ago

I apologize; when I initially looked at the dates for the code it looked like nothing had been updated since I last downloaded. Downloading from the link it was indeed a newer version and it fixed my issue. Sorry again and thank you for responding!

tacokangaroo commented 2 years ago

If you don't mind me asking, why are the version numbers in the new download still listed as 1.0.0-SNAPSHOT if they have been updated? I think that may have been one reason why I didn't realize they were updated.

Thank you again.