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.

Skematic won't paste.

Discussion in 'Skript' started by Yodexx, Oct 16, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. Yodexx

    Yodexx Member

    Joined:
    Jun 13, 2020
    Messages:
    19
    Likes Received:
    0
    So I'm working on creating randomly generated dungeons. But for some reason, Skematic won't paste the schematics for generation.

    Here is my starting code:
    Code (Text):
    1. command /dungeon:
    2.     trigger:
    3.         set {_roomvalue} to 1
    4.         set {_randominteger} to random integer from 1 to 2
    5.         generate({_roomvalue}, {_randominteger})
    6.         send "&aDungeon Generated!"
    7.  
    8. function generate(rv: integer, n: integer):
    9.     if {_rv} is 1:
    10.         if {_n} is 1:
    11.             paste the schematic "plugins/FastAsyncWorldEdit/schematics/dungeon1.schem" at location(-282, 88, 323, world("world")) ignoring air
    12.         else if {_n} is 2:
    13.             paste the schematic "plugins/FastAsyncWorldEdit/schematics/dungeon2.schem" at location(-282, 88, 323, world("world")) ignoring air
    My skript addons are: Skematic, Skellet, TuSKe, Skutilities, SkQuery, WolvSK, skDragon, Misk, MorkazSk, skRayFall and skBee.

    When I use /sk reload, it says it has no errors. But when I do /dungeon and check console, it brings up with this error:
    Code (Text):
    1. [20:17:19 ERROR]: Could not pass event PlayerCommandPreprocessEvent to Skript v2.5.3
    2. java.lang.NoClassDefFoundError: com/boydti/fawe/object/clipboard/FaweClipboard
    3.     at com.efnilite.skematic.elements.effects.EffSchematicPaste.execute(EffSchematicPaste.java:74) ~[?:?]
    4.     at ch.njol.skript.lang.Effect.run(Effect.java:51) ~[?:?]
    5.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60) ~[?:?]
    6.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[?:?]
    7.     at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[?:?]
    8.     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291) ~[?:?]
    9.     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250) ~[?:?]
    10.     at ch.njol.skript.command.Commands.handleCommand(Commands.java:248) ~[?:?]
    11.     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165) ~[?:?]
    12.     at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[patched_1.16.5.jar:git-Paper-771]
    13.     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-771]
    14.     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-771]
    15.     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-771]
    16.     at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2177) ~[patched_1.16.5.jar:git-Paper-771]
    17.     at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2000) ~[patched_1.16.5.jar:git-Paper-771]
    18.     at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1953) ~[patched_1.16.5.jar:git-Paper-771]
    19.     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:50) ~[patched_1.16.5.jar:git-Paper-771]
    20.     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:8) ~[patched_1.16.5.jar:git-Paper-771]
    21.     at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:35) ~[patched_1.16.5.jar:git-Paper-771]
    22.     at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-771]
    23.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-771]
    24.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-771]
    25.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-771]
    26.     at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1266) ~[patched_1.16.5.jar:git-Paper-771]
    27.     at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1259) ~[patched_1.16.5.jar:git-Paper-771]
    28.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-771]
    29.     at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1220) ~[patched_1.16.5.jar:git-Paper-771]
    30.     at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Paper-771]
    31.     at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-771]
    32.     at java.lang.Thread.run(Thread.java:829) [?:?]
    33. Caused by: java.lang.ClassNotFoundException: com.boydti.fawe.object.clipboard.FaweClipboard
    34.     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[patched_1.16.5.jar:git-Paper-771]
    35.     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-771]
    36.     at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
    37.     ... 30 more
    38. [20:17:19 ERROR]: null
    39. org.bukkit.command.CommandException: Unhandled exception executing command 'dungeon' in plugin Skript v2.5.3
    40.     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-771]
    41.     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-771]
    42.     at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:826) ~[patched_1.16.5.jar:git-Paper-771]
    43.     at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2185) ~[patched_1.16.5.jar:git-Paper-771]
    44.     at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2000) ~[patched_1.16.5.jar:git-Paper-771]
    45.     at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1953) ~[patched_1.16.5.jar:git-Paper-771]
    46.     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:50) ~[patched_1.16.5.jar:git-Paper-771]
    47.     at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:8) ~[patched_1.16.5.jar:git-Paper-771]
    48.     at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:35) ~[patched_1.16.5.jar:git-Paper-771]
    49.     at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-771]
    50.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-771]
    51.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-771]
    52.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-771]
    53.     at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1266) ~[patched_1.16.5.jar:git-Paper-771]
    54.     at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1259) ~[patched_1.16.5.jar:git-Paper-771]
    55.     at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-771]
    56.     at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1220) ~[patched_1.16.5.jar:git-Paper-771]
    57.     at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Paper-771]
    58.     at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-771]
    59.     at java.lang.Thread.run(Thread.java:829) [?:?]
    60. Caused by: java.lang.NoClassDefFoundError: com/boydti/fawe/object/clipboard/FaweClipboard
    61.     at com.efnilite.skematic.elements.effects.EffSchematicPaste.execute(EffSchematicPaste.java:74) ~[?:?]
    62.     at ch.njol.skript.lang.Effect.run(Effect.java:51) ~[?:?]
    63.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60) ~[?:?]
    64.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[?:?]
    65.     at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[?:?]
    66.     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291) ~[?:?]
    67.     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250) ~[?:?]
    68.     at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:194) ~[?:?]
    69.     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-771]
    70.     ... 19 more
    71. Caused by: java.lang.ClassNotFoundException: com.boydti.fawe.object.clipboard.FaweClipboard
    72.     at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[patched_1.16.5.jar:git-Paper-771]
    73.     at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-771]
    74.     at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
    75.     at com.efnilite.skematic.elements.effects.EffSchematicPaste.execute(EffSchematicPaste.java:74) ~[?:?]
    76.     at ch.njol.skript.lang.Effect.run(Effect.java:51) ~[?:?]
    77.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60) ~[?:?]
    78.     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88) ~[?:?]
    79.     at ch.njol.skript.lang.Trigger.execute(Trigger.java:56) ~[?:?]
    80.     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291) ~[?:?]
    81.     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250) ~[?:?]
    82.     at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:194) ~[?:?]
    83.     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-771]
    84.     ... 19 more
    Can anyone help me with this?
    Thanks! ~ Yodexx
     
    #1 Yodexx, Oct 16, 2021
    Last edited: Oct 16, 2021
Thread Status:
Not open for further replies.

Share This Page

Loading...