sekwah41 / Advanced-Portals

An advanced portals plugin for bukkit
GNU Lesser General Public License v3.0
157 stars 65 forks source link

1.17 support already ? #259

Closed comonier closed 3 years ago

comonier commented 3 years ago

[14:38:12] [Server thread/ERROR]: Error occurred while enabling AdvancedPortals v0.6.0 (Is it up to date?) java.lang.NoSuchMethodError: 'org.bukkit.configuration.file.YamlConfiguration org.bukkit.Server$Spigot.getPaperConfig()' at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.checkIfBungee(AdvancedPortalsPlugin.java:147) ~[?:?] at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.setupBungee(AdvancedPortalsPlugin.java:105) ~[?:?] at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.onEnable(AdvancedPortalsPlugin.java:70) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[server.jar:3145-Spigot-9472b09-f992ce6] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[server.jar:3145-Spigot-9472b09-f992ce6] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[server.jar:3145-Spigot-9472b09-f992ce6] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:495) ~[server.jar:3145-Spigot-9472b09-f992ce6] at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:409) ~[server.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:608) ~[server.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:264) ~[server.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:987) ~[server.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[server.jar:3145-Spigot-9472b09-f992ce6] at java.lang.Thread.run(Thread.java:831) [?:?]

sekwah41 commented 3 years ago

Are you using paper or normal spigot?

LaurenceBarnes commented 3 years ago

Paper is not updated to 1.17 yet

sekwah41 commented 3 years ago

Hm then if this is spigot then this must be running the paper code by mistake. Ill check it out.

comonier commented 3 years ago

Are you using paper or normal spigot?

[13:20:35] [Server thread/INFO]: This server is running CraftBukkit version 3145-Spigot-9472b09-f992ce6 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) [13:20:35] [Server thread/INFO]: You are running the latest version

comonier commented 3 years ago

the plugin is working Everhing is working normal! I just have that console issue when server starts only.

sekwah41 commented 3 years ago

Ah yea that's just an error thrown in case. I should probably change the message :)

Also make sure you are running the Spigot jar not the CraftBukkit jar. CraftBukkit can cause errors though it sounds like you are on the right one.

comonier commented 3 years ago

Ah yea that's just an error thrown in case. I should probably change the message :)

Also make sure you are running the Spigot jar not the CraftBukkit jar. CraftBukkit can cause errors though it sounds like you are on the right one.

i am using spigot compiled from buildtools not craftbukkit but that have it on name, but is spigot.

comonier commented 3 years ago

The plugin is working 100% fine, no erros on server .

Just that log on startup when it is booting

[06:04:15] [Server thread/ERROR]: Error occurred while enabling AdvancedPortals v0.6.0 (Is it up to date?)
java.lang.NoSuchMethodError: 'org.bukkit.configuration.file.YamlConfiguration org.bukkit.Server$Spigot.getPaperConfig()'
    at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.checkIfBungee(AdvancedPortalsPlugin.java:147) ~[?:?]
    at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.setupBungee(AdvancedPortalsPlugin.java:105) ~[?:?]
    at com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin.onEnable(AdvancedPortalsPlugin.java:70) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:495) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:409) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:608) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:264) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:987) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3159-Spigot-f773da8-887bc05]
    at java.lang.Thread.run(Thread.java:831) [?:?]
sekwah41 commented 3 years ago

Will be published with next pr. Just had a bug with new build pipeline designed to make all this easier :3

github-actions[bot] commented 3 years ago

:rocket: Issue was released in v0.6.1 :rocket: