Closed Kruemmelspalter closed 3 years ago
It looks like CustomCrafting wasn't enabled correctly. Do you have any errors in the enable stage?
[14:48:24] [Server thread/INFO]: [CustomCrafting] Enabling CustomCrafting v1.6.5.1.3
[14:48:24] [Server thread/INFO]: ____ _ _ ____ ___ ____ _ _ ____ ____ ____ ____ ___ _ _ _ ____
[14:48:24] [Server thread/INFO]: | | | [__ | | | |\/| | |__/ |__| |___ | | |\ | | __
[14:48:24] [Server thread/INFO]: |___ |__| ___] | |__| | | |___ | \ | | | | | | \| |__]
[14:48:24] [Server thread/INFO]: v1.6.5.1.3 Free
[14:48:24] [Server thread/INFO]:
[14:48:24] [Server thread/WARN]: java.lang.reflect.InvocationTargetException
[14:48:24] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[14:48:24] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[14:48:24] [Server thread/WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[14:48:24] [Server thread/WARN]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.utilities.api.inventory.gui.InventoryAPI.<init>(InventoryAPI.java:45)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.customcrafting.CustomCrafting.onEnable(CustomCrafting.java:124)
[14:48:24] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[14:48:24] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352)
[14:48:24] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417)
[14:48:24] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462)
[14:48:24] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376)
[14:48:24] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457)
[14:48:24] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267)
[14:48:24] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784)
[14:48:24] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[14:48:24] [Server thread/WARN]: Caused by: java.lang.NoSuchMethodError: org.bukkit.Material.getCraftingRemainingItem()Lorg/bukkit/Material;
[14:48:24] [Server thread/WARN]: at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.getCraftRemain(CustomItem.java:663)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:132)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:141)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:150)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.customcrafting.recipes.types.brewing.BrewingRecipe.<clinit>(BrewingRecipe.java:35)
[14:48:24] [Server thread/WARN]: at me.wolfyscript.customcrafting.data.CCCache.<init>(CCCache.java:79)
[14:48:24] [Server thread/WARN]: ... 15 more
[14:48:24] [Server thread/INFO]: Special thanks to my Patrons for supporting this project:
[14:48:24] [Server thread/INFO]: | Nat R | Apprehentice
[14:48:24] [Server thread/INFO]: | Alex | Junye Zhou
[14:48:24] [Server thread/INFO]: | Vincent Deniau | gizmonster
[14:48:24] [Server thread/INFO]: | Thomas Texier | John
[14:48:24] [Server thread/INFO]: | HittmanA | CypherPhyre
[14:48:24] [Server thread/INFO]: | Alexander | Vincent Fournier
[14:48:24] [Server thread/INFO]: | The Hound Brothers | Jason Asada
[14:48:24] [Server thread/INFO]: | Inec Ackerr | 伟铎 谢
[14:48:24] [Server thread/INFO]: | ValentineDesigns | Gleaks mania
[14:48:24] [Server thread/INFO]: ------------------------------------------------------------------------
[14:48:24] [Server thread/INFO]: Loaded fallback language "en_US" v5.0.0 translated by WolfyScript
[14:48:24] [Server thread/INFO]: Loaded active language "en_US" v5.0.0 translated by WolfyScript
[14:48:24] [Server thread/ERROR]: [CustomCrafting] Couldn't rename folder to the new required names!
[14:48:24] [Server thread/ERROR]: Error occurred while enabling CustomCrafting v1.6.5.1.3 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.Material.getCraftingRemainingItem()Lorg/bukkit/Material;
at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.getCraftRemain(CustomItem.java:663) ~[?:?]
at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:132) ~[?:?]
at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:141) ~[?:?]
at me.wolfyscript.utilities.api.inventory.custom_items.CustomItem.<init>(CustomItem.java:150) ~[?:?]
at me.wolfyscript.customcrafting.handlers.ConfigHandler.loadDefaults(ConfigHandler.java:76) ~[?:?]
at me.wolfyscript.customcrafting.CustomCrafting.onEnable(CustomCrafting.java:157) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[custom.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [custom.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [custom.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [custom.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [custom.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457) [custom.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267) [custom.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [custom.jar:git-Spigot-800b93f-8160e29]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
The server is running on v1.15.2
Please make sure you have the latest Spigot build for 1.15.2. This method the API is using was added in later 1.15 builds. It's best to use BuildTools to get the latest builds. You can also use Paper, or any other Spigot-based server software.
Hi, i have the same problem with the plugin and i make my server with a hosting page so i cant use buildtools (i think)
You can use BuildTools on your machine to build the jar and maybe you can upload the jar to the hoster
if i add that in my hoster i need to change the startup parameters?
I don't think so. With the newest version everything works, so I'll close this issue