1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Error with Shapeless Recipe

Discussion in 'Skript' started by Philotastisch, Jul 23, 2020.

Thread Status:
Not open for further replies.
  1. Philotastisch

    Philotastisch Member

    Joined:
    Sep 25, 2019
    Messages:
    45
    Likes Received:
    0
    Hey,
    I get a server error when I load my Skript.

    Skript:
    Code (Text):
    1. on load:
    2.     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
    3.     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
    4.     register new shapeless recipe for poppy named "&cHerz Talisman" using diamond block, workbench, diamond block, workbench, scaffolding, workbench, diamond block, workbench, diamond block
    5.     register new shapeless recipe for lily pad named "&6Hunger Talisman" using pufferfish, workbench, pufferfish, workbench, scaffolding, workbench, pufferfish, workbench, pufferfish
    6.  
    Error:
    Code (Text):
    1. [17:55:26] [Server thread/INFO]: [Skript] Reloading skyblock2.sk...
    2. [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.
    3. [17:55:28] [Server thread/WARN]:     at org.bukkit.inventory.ShapelessRecipe.<init>(ShapelessRecipe.java:29)
    4. [17:55:28] [Server thread/WARN]:     at com.w00tmast3r.skquery.elements.effects.EffNewRecipe.execute(EffNewRecipe.java:43)
    5. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    6. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    7. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    8. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    9. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.events.EvtScript.register(EvtScript.java:61)
    10. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:752)
    11. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:1)
    12. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:771)
    13. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
    14. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
    15. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
    16. [17:55:28] [Server thread/WARN]:     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:183)
    17. [17:55:28] [Server thread/WARN]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    18. [17:55:28] [Server thread/WARN]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    19. [17:55:28] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
    20. [17:55:28] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701)
    21. [17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456)
    22. [17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418)
    23. [17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098)
    24. [17:55:28] [Server thread/WARN]:     at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925)
    25. [17:55:28] [Server thread/WARN]:     at java.lang.Thread.run(Thread.java:748)
    26. [17:55:28] [Server thread/ERROR]: #!#!
    27. [17:55:28] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    28. [17:55:28] [Server thread/ERROR]: #!#!
    29. [17:55:28] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    30. [17:55:28] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    31. [17:55:28] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    32. [17:55:28] [Server thread/ERROR]: #!#! Here is full list of them:
    33. [17:55:28] [Server thread/ERROR]: #!#! skRayFall (https://sk.rayfall.net/) SkQuery Skellett (https://forums.skunity.com/resources/skellett.24/)
    34. [17:55:28] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    35. [17:55:28] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    36. [17:55:28] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    37. [17:55:28] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    38. [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.
    39. [17:55:28] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
    40. [17:55:28] [Server thread/ERROR]: #!#!
    41. [17:55:28] [Server thread/ERROR]: #!#! Stack trace:
    42. [17:55:28] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: Recipe requires at least one non-air choice!
    43. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.inventory.CraftRecipe.toNMS(CraftRecipe.java:31)
    44. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.inventory.CraftShapelessRecipe.addToCraftingManager(CraftShapelessRecipe.java:44)
    45. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.addRecipe(CraftServer.java:1157)
    46. [17:55:28] [Server thread/ERROR]: #!#!     at com.w00tmast3r.skquery.elements.effects.EffNewRecipe.execute(EffNewRecipe.java:53)
    47. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    48. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    49. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    50. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    51. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.events.EvtScript.register(EvtScript.java:61)
    52. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:752)
    53. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader$3.call(ScriptLoader.java:1)
    54. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:771)
    55. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
    56. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
    57. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:472)
    58. [17:55:28] [Server thread/ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:183)
    59. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
    60. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
    61. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
    62. [17:55:28] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701)
    63. [17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456)
    64. [17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418)
    65. [17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1098)
    66. [17:55:28] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:925)
    67. [17:55:28] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
    68. [17:55:28] [Server thread/ERROR]: #!#!
    69. [17:55:28] [Server thread/ERROR]: #!#! Version Information:
    70. [17:55:28] [Server thread/ERROR]: #!#!   Skript: 2.4.1 (latest)
    71. [17:55:28] [Server thread/ERROR]: #!#!     Flavor: skriptlang-github
    72. [17:55:28] [Server thread/ERROR]: #!#!     Date: 2019-12-22
    73. [17:55:28] [Server thread/ERROR]: #!#!   Bukkit: 1.14.4-R0.1-SNAPSHOT
    74. [17:55:28] [Server thread/ERROR]: #!#!   Minecraft: 1.14.4
    75. [17:55:28] [Server thread/ERROR]: #!#!   Java: 1.8.0_251 (Java HotSpot(TM) 64-Bit Server VM 25.251-b08)
    76. [17:55:28] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.19.0-9-amd64
    77. [17:55:28] [Server thread/ERROR]: #!#!
    78. [17:55:28] [Server thread/ERROR]: #!#! Server platform: Paper
    79. [17:55:28] [Server thread/ERROR]: #!#!
    80. [17:55:28] [Server thread/ERROR]: #!#! Current node: null
    81. [17:55:28] [Server thread/ERROR]: #!#! Current item: recipe
    82. [17:55:28] [Server thread/ERROR]: #!#! Current trigger: load (script load) (skyblock2.sk, line 235)
    83. [17:55:28] [Server thread/ERROR]: #!#!
    84. [17:55:28] [Server thread/ERROR]: #!#! Thread: Server thread
    85. [17:55:28] [Server thread/ERROR]: #!#!
    86. [17:55:28] [Server thread/ERROR]: #!#! Language: english
    87. [17:55:28] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
    88. [17:55:28] [Server thread/ERROR]: #!#!
    89. [17:55:28] [Server thread/ERROR]: #!#! End of Error.
    90. [17:55:28] [Server thread/ERROR]: #!#!
    91. [17:55:28] [Server thread/INFO]: [Skript] Successfully reloaded skyblock2.sk.
    92. [
    Server Version: 1.14.4, Skript Version: 2.4.1

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

Share This Page

Loading...