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. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Unexpected exception while parsing console command "skript reload all"
    org.bukkit.command.CommandException: Unhandled exception executing command 'skript' in plugin Skript v2.2-SNAPSHOT
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[s.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[s.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[s.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [s.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [s.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [s.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [s.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [s.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry;
    at me.TheBukor.SkStuff.SkStuff$4.parse(SkStuff.java:238) ~[?:?]
    at me.TheBukor.SkStuff.SkStuff$4.parse(SkStuff.java:233) ~[?:?]


    Please help! :emoji_frowning:
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    What is "not working"? Give more details about it please.

    Both versions (the latest SkStuff from here and my fork) requires WorldGuard 6.2+ if I'm not wrong. If you can't update WorldEdit (since you are at 1.8) and you don't use WorldGuard/WorldEdit stuffs, let me know so I can make a build for you that make it optional.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    It would be better to make the WorldGuard hook toggleable because it's annoying how many times it broke skStuff for the people who only use it for the NBT stuff.
     
    • Agree Agree x 1
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    @TheBukor I get many nbt related errors after updating to latest Skript and Spigot 1.12.1:
    https://hastebin.com/equkazezet.scala
    https://hastebin.com/judutamiwo.coffeescript
    Do you think you can fix this?

    This is one of the lines in my code:
    Code (Skript):
    1. add "{Attributes:[{Name:""generic.maxHealth"",Base:{@klingendaemon_health}}]}" to nbt of last spawned entity
    SkStuff version:
    [12:36:06] [Server thread/INFO]: [SkStuff] Loading SkStuff v1.6.4.1
    Skript:
    Skript v2.2-dev30d
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    @Tuke_Nuke made a fork of skStuff as @TheBukor isn't developing his addon anymore, here is the link of the fork:
    https://github.com/Tuke-Nuke/SkStuff
     
    • Like Like x 1
    • Winner Winner x 1
    • Useful Useful x 1
  6. ShaneBee

    Supporter + Addon Developer

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

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    none of the NBT stuff works for me anymore on 1.12 both the with the latest official version and the 1.12 fork. there are so many errors i don't even know where to begin, it's all so confusing
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    Then show the error...
     
  9. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    test is an item
    He added some nbt content

    set {test} to book with nbt "{display:{Lore:[0:""§7test""],Name:""§r§r§btest""},Tags:[0:""test""]}"

    Then I checked him in the function
    function xbxy(p:player, s:string):
    if {_p}'s inventory has {test}:
    send "ok"
    else:
    send "no"
    #Not detected

    This writing can not detect it

    But I use the following two wording can be detected

    function xbxy(p:player, s:string):
    if {_p} is holding {test}:
    send "ok"
    else:
    send "no"
    #Can be detected

    set {test::1} to book with nbt "{display:{Lore:[0:""§7test""],Name:""§r§r§btest""},Tags:[0:""test""]}"
    function xbxy(p:player, s:string):
    loop {test::*}:
    if {_p}'s inventory has loop-value:
    send "ok"
    else:
    send "no"
    #Can be detected

    Hope to repair
     
  10. MartinOdum

    MartinOdum Member

    Joined:
    Jan 26, 2017
    Messages:
    111
    Likes Received:
    13
    Hey I'm using your skstuff fork on 1.12.2 Dev32b. I was wondering if you have a build of it with worldguard support removed? I noticed some of the vanilla skript worldguard support doesn't work with Skstuff installed, for example if I parse a text as a region it will not work, but as soon as I uninstalled skstuff it worked fine. I really only use skstuff for nbt so I would love a build without it
     
  11. G

    Supporter

    Joined:
    Aug 1, 2017
    Messages:
    46
    Likes Received:
    0
    Was this build without worldguard/worldedit stuff made? A lot of my server is broken because of it.
     
  12. MartinOdum

    MartinOdum Member

    Joined:
    Jan 26, 2017
    Messages:
    111
    Likes Received:
    13
    I was never able to get anyone with java experience to compile a version with worldguard support removed, I did however go in and just straight up removed some class files to do with worldguard, I honestly forgot which ones I removed but I basically broke the worldguard functionality from skstuff and although skstuff loads with a few errors now obviously because of missing class files, my worldguard functionality is fine now. If you want me to pm you my build I can do that unless its against the rules
     
  13. K

    KroterPvP Well-Known Member

    Joined:
    Apr 10, 2017
    Messages:
    178
    Likes Received:
    7
    Hi, I tried using your addon and it doesn't run.

    I'm not using worldguard 6.2 because it's for 1.12 and my server is running in 1.8 (With viaversion).

    Console errors:
    Code (Skript):
    1. 26.03 22:32:41 [Server] WARN Task #5 for Skript v2.2-dev24b generated an exception
    2.  
     
  14. l

    lijo62 Member

    Joined:
    Jun 12, 2017
    Messages:
    1
    Likes Received:
    0
    Hi I'm using the fork to 1.12 but he doesn't work correctly :


    Code (Skript):
    1. [22:44:34] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    2. [22:44:34] [Server thread/ERROR]: #!#! Could not load vampire.sk
    3. [22:44:34] [Server thread/ERROR]: #!#!
    4. [22:44:34] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    5. [22:44:34] [Server thread/ERROR]: #!#! This issue is NOT your fault! You can't probably fix it yourself, either.
    6. [22:44:34] [Server thread/ERROR]: #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
    7. [22:44:34] [Server thread/ERROR]: #!#! You may download new version of Skript at https://github.com/bensku/Skript/releases
    8. [22:44:34] [Server thread/ERROR]: #!#! You will be given instructions how to report this error if it persists with latest Skript.
    9. [22:44:34] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
    10. [22:44:34] [Server thread/ERROR]: #!#!
    11. [22:44:34] [Server thread/ERROR]: #!#! Stack trace:
    12. [22:44:34] [Server thread/ERROR]: #!#! java.lang.NullPointerException
    13. [22:44:34] [Server thread/ERROR]: #!#!     at me.TheBukor.SkStuff.SkStuff$5.parse(SkStuff.java:263)
    14. [22:44:34] [Server thread/ERROR]: #!#!     at me.TheBukor.SkStuff.SkStuff$5.parse(SkStuff.java:257)
    15. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.parseSimple(Classes.java:420)
    16. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.registrations.Classes.parse(Classes.java:449)
    17. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:95)
    18. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:84)
    19. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:1)
    20. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.conditions.CondCompare.init(CondCompare.java:179)
    21. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.conditions.CondCompare.init(CondCompare.java:130)
    22. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:251)
    23. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:178)
    24. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Condition.parse(Condition.java:81)
    25. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:921)
    26. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
    27. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
    28. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:928)
    29. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:567)
    30. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:333)
    31. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:345)
    32. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:275)
    33. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:305)
    34. [22:44:34] [Server thread/ERROR]: #!#!     at ch.njol.skript.Skript$2.run(Skript.java:410)
    35. [22:44:34] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71)
    36. [22:44:34] [Server thread/ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    37. [22:44:34] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
    38. [22:44:34] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
    39. [22:44:34] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
    40. [22:44:34] [Server thread/ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
    41. [22:44:34] [Server thread/ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
    42. [22:44:34] [Server thread/ERROR]: #!#!
    43. [22:44:34] [Server thread/ERROR]: #!#! Version Information:
    44. [22:44:34] [Server thread/ERROR]: #!#!   Skript: 2.2-dev30d (OUTDATED)
    45. [22:44:34] [Server thread/ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
    46. [22:44:34] [Server thread/ERROR]: #!#!   Minecraft: 1.12.2
    47. [22:44:34] [Server thread/ERROR]: #!#!   Java: 1.8.0_171 (OpenJDK 64-Bit Server VM 25.171-b11)
    48. [22:44:34] [Server thread/ERROR]: #!#!   OS: Linux amd64 4.9.0-6-amd64
    49. [22:44:34] [Server thread/ERROR]: #!#!
    50. [22:44:34] [Server thread/ERROR]: #!#! Running CraftBukkit: false
    51. [22:44:34] [Server thread/ERROR]: #!#! Running Spigot (or compatible): true
    52. [22:44:34] [Server thread/ERROR]: #!#! Running Paper (or compatible): false
    53. [22:44:34] [Server thread/ERROR]: #!#!
    54. [22:44:34] [Server thread/ERROR]: #!#! Current node: if victim is a skeleton: (vampire.sk, line 31)
    55. [22:44:34] [Server thread/ERROR]: #!#! Current item: null
    56. [22:44:34] [Server thread/ERROR]: #!#! Thread: Server thread
     
  15. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    234
    Likes Received:
    1
  16. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    SkStuff is long since dead.
     
  17. R

    Ray Member

    Joined:
    May 8, 2019
    Messages:
    2
    Likes Received:
    0
    doesn't work on 1.13+ and i assume the same for 1.14+ will there be updates? :emoji_slight_smile:
     
  18. ShaneBee

    Supporter + Addon Developer

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

    Ray Member

    Joined:
    May 8, 2019
    Messages:
    2
    Likes Received:
    0
    sad day :emoji_frowning: Thanks for the info though! :emoji_slight_smile:
     
Loading...