Solved Error with Shapeless Recipe

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Philotastisch

Member
Sep 25, 2019
45
0
6
18
Hey,
I get a server error when I load my Skript.

Skript:
Code:
on load:
    register new shapeless recipe for sea pickle named "&eWasser Talisman" using gold ingot, gold ingot, gold ingot, gold ingot, scaffolding, gold ingot, gold ingot, gold ingot, gold ingot
    register new shapeless recipe for conduit named "&4Feuer Talisman" using gold block, gold block, gold block, gold block, scaffolding, gold block, gold block, gold block, gold block
    register new shapeless recipe for poppy named "&cHerz Talisman" using diamond block, workbench, diamond block, workbench, scaffolding, workbench, diamond block, workbench, diamond block
    register new shapeless recipe for lily pad named "&6Hunger Talisman" using pufferfish, workbench, pufferfish, workbench, scaffolding, workbench, pufferfish, workbench, pufferfish

Error:
Code:
[17:55:26] [Server thread/INFO]: [Skript] Reloading skyblock2.sk...
[17:55:28] [Server thread/WARN]: java.lang.Throwable: Warning: A plugin is creating a recipe using a Deprecated method. This will cause you to receive warnings stating 'Tried to load unrecognized recipe: bukkit:<ID>'. Please ask the author to give their recipe a static key using NamespacedKey.
[17:55:28] [Server thread/WARN]:     at org.bukkit.inventory.ShapelessRecipe.<init>(ShapelessRecipe.java:29)
[17:55:28] [Server thread/WARN]:     at com.w00tmast3r.skquery.elements.effects.EffNewRecipe.execute(EffNewRecipe.java:43)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.events.EvtScript.register(EvtScript.java:61)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:752)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:1)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:771)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
[17:55:28] [Server thread/WARN]:     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:183)
[17:55:28] [Server thread/WARN]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[17:55:28] [Server thread/WARN]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[17:55:28] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
[17:55:28] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701)
[17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456)
[17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418)
[17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098)
[17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925)
[17:55:28] [Server thread/WARN]:     at java.lang.Thread.run(Thread.java:748)
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[17:55:28] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[17:55:28] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[17:55:28] [Server thread/ERROR]: #!#! Here is full list of them:
[17:55:28] [Server thread/ERROR]: #!#! skRayFall (https://sk.rayfall.net/) SkQuery Skellett (https://forums.skunity.com/resources/skellett.24/)
[17:55:28] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[17:55:28] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[17:55:28] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[17:55:28] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[17:55:28] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[17:55:28] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Stack trace:
[17:55:28] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Recipe requires at least one non-air choice!
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.inventory.CraftRecipe.toNMS(CraftRecipe.java:31)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.inventory.CraftShapelessRecipe.addToCraftingManager(CraftShapelessRecipe.java:44)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.addRecipe(CraftServer.java:1157)
[17:55:28] [Server thread/ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffNewRecipe.execute(EffNewRecipe.java:53)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.events.EvtScript.register(EvtScript.java:61)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:752)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:1)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:771)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
[17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:183)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
[17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701)
[17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456)
[17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418)
[17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098)
[17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925)
[17:55:28] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Version Information:
[17:55:28] [Server thread/ERROR]: #!#!   Skript: 2.4.1 (latest)
[17:55:28] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
[17:55:28] [Server thread/ERROR]: #!#!     Date: 2019-12-22
[17:55:28] [Server thread/ERROR]: #!#!   Bukkit: 1.14.4-R0.1-SNAPSHOT
[17:55:28] [Server thread/ERROR]: #!#!   Minecraft: 1.14.4
[17:55:28] [Server thread/ERROR]: #!#!   Java: 1.8.0_251 (Java HotSpot(TM) 64-Bit Server VM 25.251-b08)
[17:55:28] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.19.0-9-amd64
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Server platform: Paper
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Current node: null
[17:55:28] [Server thread/ERROR]: #!#! Current item: recipe
[17:55:28] [Server thread/ERROR]: #!#! Current trigger: load (script load) (skyblock2.sk, line 235)
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Thread: Server thread
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! Language: english
[17:55:28] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/ERROR]: #!#! End of Error.
[17:55:28] [Server thread/ERROR]: #!#!
[17:55:28] [Server thread/INFO]: [Skript] Successfully reloaded skyblock2.sk.
[

Server Version: 1.14.4, Skript Version: 2.4.1

Can anyone help me please? Thanks :emoji_slight_smile:
 
Status
Not open for further replies.