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!

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

Addon SkStuff 1.6.4.1

NBT, Pathfinder goals, WorldEdit and more!

  1. TheBukor

    TheBukor Member

    Joined:
    Feb 10, 2017
    Messages:
    23
    Likes Received:
    4
    TheBukor submitted a new resource:

    SkStuff - NBT, Pathfinder goals, WorldEdit and more!

    Read more about this resource...
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Hello, can I make an extra NBT?
    I want to use the 1.7.2 server
    I can pay you
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Hello,
    I'm running a 1.7.10 KCauldron server, it's able to have both plugins and mods. When I use SkStuff it has a few errors, I know this plugin is mainly around 1.8, but you think you could make a 1.7.10 version for the sake of those who can't update. KCauldron only has 1.7.10 versions, it's difficult to use the amazing NBT support this plugins adds when the plugin doesn't load correctly. If you're not feeling up to it, I can throw in a little money if needed.

    Errors:
    When loading the server:
    http://pastebin.com/sP7kdKS0
    http://pastebin.com/tkDYjjxB
    When reloading a script with NBT code:
    http://pastebin.com/vTuDwkRi

    Thanks,
    diamondpumpkin.
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Anyone got an updated list of the worldedit syntax for skstuff?
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    the one that you see on the docs is the only one.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    i see now, thought there was an addon that copied schematics, i guess not.
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    • Like Like x 1
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    worldguard-legacy-6.1.2-SNAPSHOT-dist

    and

    worldedit-bukkit-6.1.5
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    That might be the issue, try to download the latest version of WG from DBO (dev.bukkit.org)
     
    • Like Like x 1
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Yes, that's works <3 Thanks :emoji_slight_smile:
     
    • Like Like x 1
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    I'm currently dealing with this error. I've used skStuff before and I've never had this issue; so I'm curious on what is breaking it.
    In-Game Error:
    [​IMG]
    Command executed: `/sk reload scripts`
    Console Error:
    Code (Java):
    1. 25.03 23:06:36 [Multicraft] Skipped 11 lines due to rate limit (30/s)
    2. 25.03 23:06:22 [Server] INFO at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:248) ~[?:?]
    3. 25.03 23:06:22 [Server] INFO at ch.njol.skript.conditions.CondCompare.init(CondCompare.java:131) ~[?:?]
    4. 25.03 23:06:22 [Server] INFO at ch.njol.skript.conditions.CondCompare.init(CondCompare.java:179) ~[?:?]
    5. 25.03 23:06:22 [Server] INFO at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:1) ~[?:?]
    6. 25.03 23:06:22 [Server] INFO at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:86) ~[?:?]
    7. 25.03 23:06:22 [Server] INFO at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:97) ~[?:?]
    8. 25.03 23:06:22 [Server] INFO at ch.njol.skript.registrations.Classes.parse(Classes.java:429) ~[?:?]
    9. 25.03 23:06:22 [Server] INFO at ch.njol.skript.registrations.Classes.parseSimple(Classes.java:400) ~[?:?]
    10. 25.03 23:06:22 [Server] INFO at me.TheBukor.SkStuff.SkStuff$4.parse(SkStuff.java:1) ~[?:?]
    11. 25.03 23:06:22 [Server] INFO at me.TheBukor.SkStuff.SkStuff$4.parse(SkStuff.java:244) ~[?:?]
    12. 25.03 23:06:22 [Server] INFO Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry;
    13. 25.03 23:06:22 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
    14. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    15. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    16. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    17. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    18. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    19. 25.03 23:06:22 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
    20. 25.03 23:06:22 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_45]
    21. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    22. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    23. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    24. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    25. 25.03 23:06:22 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    26. 25.03 23:06:22 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    27. 25.03 23:06:22 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    28. 25.03 23:06:22 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot1.8.jar:git-Spigot-db6de12-efe04b8]
    29. 25.03 23:06:22 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.2-Fixes-V9
    30. 25.03 23:06:22 [Server] ERROR null
    Skript Version: 2.2-Fixes-V9
    skStuff Version: 1.6.4.1
     
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    1. I don't think this version works very well on a 1.8.8 server, you might try using an old version.
    2. The stack trace says something related to WorldGuard, what version of WG are you using? Try updating to the latest one from DBO.
     
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    I updated WorldGuard, and that seemed to fix the issue with the Plugin not being able to work properly with Skript.

    I now have a new error when the `replace` effect is ran inside of a Skript.
    Code:
    Code (Skript):
    1.  
    2.                 loop 12 times:
    3.                     set {game.colorMix.color} to a random element out of "white wool", "purple wool", "red wool", "cyan wool", "yellow wool", "orange wool", "pink wool", "blue wool" and "green wool"
    4.                     broadcast "%{game.colorMix.color}%"
    5.                     set {_world} to world("minigamemaps")
    6.                     broadcast "%{_world}% world"
    7.                     set {_session} to new editsession in {_world} with max limit of -1
    8.                     broadcast "%{_session}% session"
    9.                     if {game.colorMix.color} = "white wool":
    10.                         replace black wool from {game.colorMix.selCorner1} to {game.colorMix.selCorner2} with white wool using {_session}
    11.  
    Error:
    Code (Java):
    1. 28.03 23:24:16 [Server] ERROR #!#!
    2. 28.03 23:24:16 [Server] ERROR #!#!     at java.lang.Thread.run(Thread.java:745)
    3. 28.03 23:24:16 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    4. 28.03 23:24:16 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    5. 28.03 23:24:16 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    6. 28.03 23:24:16 [Server] ERROR #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
    7. 28.03 23:24:16 [Server] ERROR #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
    8. 28.03 23:24:16 [Server] ERROR #!#!     at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    9. 28.03 23:24:16 [Server] ERROR #!#!     at ch.njol.skript.effects.Delay$1.run(Delay.java:84)
    10. 28.03 23:24:16 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
    11. 28.03 23:24:16 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
    12. 28.03 23:24:16 [Server] ERROR #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
    13. 28.03 23:24:16 [Server] ERROR #!#!     at me.TheBukor.SkStuff.effects.EffReplaceBlocksWE.execute(EffReplaceBlocksWE.java:72)
    14. 28.03 23:24:16 [Server] ERROR #!#! java.lang.NullPointerException
    15. 28.03 23:24:16 [Server] ERROR #!#! Stack trace:
    16. 28.03 23:24:16 [Server] ERROR #!#!
    17. 28.03 23:24:16 [Server] ERROR #!#! By following this guide fixing the error should be easy and done fast.
    18. 28.03 23:24:16 [Server] ERROR #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    19. 28.03 23:24:16 [Server] ERROR #!#! and describe what you did before it happened and/or what you think caused the error.
    20. 28.03 23:24:16 [Server] ERROR #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
    21. 28.03 23:24:16 [Server] ERROR #!#! and check whether this error has already been reported.
    22. 28.03 23:24:16 [Server] ERROR #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
    23. 28.03 23:24:16 [Server] ERROR #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    24. 28.03 23:24:16 [Server] ERROR #!#!
    25. 28.03 23:24:16 [Server] ERROR #!#! [Skript] Severe Error:
    26. 28.03 23:24:16 [Server] ERROR #!#!
    27. 28.03 23:24:16 [Server] INFO com.sk89q.worldedit.EditSession@7e5e4aba session
    28. 28.03 23:24:16 [Server] INFO minigamemaps world
    29. 28.03 23:24:16 [Server] INFO cyan wool
     
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    I am unable to set blocks like explained in the documentation. Is it buggy?

    My script:

    Code (Skript):
    1. command /schem:
    2.     permission: skript.perm.admin
    3.     trigger:
    4.         set {_session} to new edit session in player's world with limit -1
    5.         set {_id} to "team"
    6.         set {_loc1} to {event::name::%{_id}%::team1barrier1}
    7.         set {_loc2} to {event::name::%{_id}%::team1barrier2}
    8.         message "%{_loc1}% %{_loc2}%"
    9.         set blocks from {_loc1} to {_loc2} to diamond block using {session}
    10.         message "done"
    11.  
    No errors, locations are correct, but the blocks won't get placed.
    Worldedit version: Loading WorldEdit v6.1.7-SNAPSHOT;3674-9f24f84

    The way I am storing my location variables is this:

    set {event::name::%{_id}%::team1barrier1} to location of targeted block

    Also please tell me what the session limit means? Is it how many blocks I am allowed to change?

    EDIT:
    Nvm found the error .... {_session} instead of {session} :emoji_grinning:
    --- Double Post Merged, Apr 26, 2017, Original Post Date: Apr 6, 2017 ---
    I am getting console error when doing this:

    Code (Skript):
    1. command /specialmob [<text>]:
    2.     aliases: smob, spmob
    3.     permission: skript.perm.mod
    4.     trigger:
    5.         if arg-1 is "1":
    6.             spawn a wither skeleton above targeted block
    7.             set offhand tool of last spawned entity to diamond sword
    8.             set tool of last spawned entity to diamond sword
    9.             clear all pathfinder goals from last spawned entity
    10.             add pathfinder goal target nearest player, check sight true to last spawned entity
    11.  
    [SkStuff] Loading SkStuff v1.6.4

    Error:
    https://hastebin.com/qivajidode.vbs
    --- Double Post Merged, May 2, 2017 ---
    Please @TheBukor could you explain how to use the pathgoals or fix them?
     
  16. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Hello your addon is abandoned ? :/
     
  17. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    bug?
    if the spawner placed full of tourch, get nbt result will be "<none>"
    [​IMG]
     
    #17 ShaneBee, May 27, 2017
    Last edited by a moderator: May 29, 2017
  18. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    • Like Like x 5
    • Friendly Friendly x 1
  19. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    • Friendly Friendly x 1
  20. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
Loading...