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.

I keep getting the same error with TuSKe

Discussion in 'Skript' started by JustTitan, Sep 23, 2018.

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

    JustTitan Member

    Joined:
    Sep 23, 2018
    Messages:
    2
    Likes Received:
    1
    I'm trying to make a simple ban GUI using the Skript addon TuSKe. I've tried finding the solution to my problem but everything I find gives me the same error. It opens the menu for me but the item doesn't show up.
    Code (Skript):
    1. command /sban [<text>]:
    2.     permission: staff.sban
    3.     permission message: &c&lYou can't use this command.
    4.     trigger:
    5.         if arg 1 is set:
    6.             open virtual chest inventory with size 6 named "&c&lBan %arg-1%" to player
    7.             wait 1 tick
    8.             format gui slot 4 of player with diamond named "&eTesting" to run player command "/say hi"
    9.         if arg 1 is not set:
    10.             send "&7[&cSBan&7] &6Usage: /Sban <Player>"
    Here is the error message -
    2018-09-23_13.59.23.png
     
  2. Scholler

    Scholler Active Member

    Joined:
    Aug 6, 2018
    Messages:
    130
    Likes Received:
    9
    I have Skellett and SkQuery in my server, and now I installed TuSKe
    Code working for me:
    Code (Skript):
    1. command /sban [<text>]:
    2.     permission: staff.sban
    3.     permission message: &c&lYou can't use this command.
    4.     trigger:
    5.         if arg 1 is set:
    6.             open chest with 6 rows named "&c&lBan %arg-1%" to player
    7.             wait 1 tick
    8.             format slot 4 of player with diamond named "&eTesting" to close then run "bc hi"
    9.         if arg 1 is not set:
    10.             send "&7[&cSBan&7] &6Usage: /Sban <Player>"
    The problem is with "to close then run player command", you just can't execute a command with the player like this.
    This runs /bc hi with console.. Idk how to run command with player.
    --- Double Post Merged, Sep 23, 2018, Original Post Date: Sep 23, 2018 ---
    Its working without SkQuery and Skellett.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Hey I just tried this and I got no errors when reloading.
    Which version of Skript are you running and which version of TuSKe?
     
  4. Scholler

    Scholler Active Member

    Joined:
    Aug 6, 2018
    Messages:
    130
    Likes Received:
    9
    Hello, I tried the code too and... I got the same error message can't understand this condition/effect....
    I have 2.2-dev37c and server version is 1.12.2
    I have TuSKe v1.8.2
    Btw I need this gui thing too for a script...:c

    EDIT: Oh wait it worked.. lol
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Are you getting errors from tuske when your server loads?
    Since Tuske 1.8.2 doesn't load on dev37c..... you will need Tuske 1.8.3 Pikachu Patch 3
     
  6. Scholler

    Scholler Active Member

    Joined:
    Aug 6, 2018
    Messages:
    130
    Likes Received:
    9
    I get errors when the server loads, but the script is working.
    Code (Java):
    1. [20:38:06 ERROR]: #!#!
    2. [20:38:06 ERROR]: #!#! [Skript] Severe Error:
    3. [20:38:06 ERROR]: #!#! TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading
    4. [20:38:06 ERROR]: #!#!
    5. [20:38:06 ERROR]: #!#! Something went horribly wrong with Skript.
    6. [20:38:06 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    7. [20:38:06 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    8. [20:38:06 ERROR]: #!#! Following plugins are probably related to this error in some way:
    9. [20:38:06 ERROR]: #!#! TuSKe (github.com/Tuke-Nuke/TuSKe)
    10. [20:38:06 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    11. [20:38:06 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    12. [20:38:06 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    13. [20:38:06 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    14. [20:38:06 ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
    15. [20:38:06 ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    16. [20:38:06 ERROR]: #!#!
    17. [20:38:06 ERROR]: #!#! Stack trace:
    18. [20:38:06 ERROR]: #!#! java.lang.NullPointerException
    19. [20:38:06 ERROR]: #!#!     at com.github.tukenuke.tuske.effects.EffMakeDrop.<clinit>(EffMakeDrop.java:25)
    20. [20:38:06 ERROR]: #!#!     at java.lang.Class.forName0(Native Method)
    21. [20:38:06 ERROR]: #!#!     at java.lang.Class.forName(Unknown Source)
    22. [20:38:06 ERROR]: #!#!     at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:107)
    23. [20:38:06 ERROR]: #!#!     at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:100)
    24. [20:38:06 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    25. [20:38:06 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    26. [20:38:06 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
    27. [20:38:06 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
    28. [20:38:06 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
    29. [20:38:06 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
    30. [20:38:06 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
    31. [20:38:06 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
    32. [20:38:06 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
    33. [20:38:06 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
    34. [20:38:06 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
    35. [20:38:06 ERROR]: #!#!
    36. [20:38:06 ERROR]: #!#! Version Information:
    37. [20:38:06 ERROR]: #!#!   Skript: 2.2-dev37c
    38. [20:38:06 ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
    39. [20:38:06 ERROR]: #!#!   Minecraft: 1.12.2
    40. [20:38:06 ERROR]: #!#!   Java: 1.8.0_181 (Java HotSpot(TM) 64-Bit Server VM 25.181-b13)
    41. [20:38:06 ERROR]: #!#!   OS: Windows 10 amd64 10.0
    42. [20:38:06 ERROR]: #!#!
    43. [20:38:06 ERROR]: #!#! Server platform: Spigot
    44. [20:38:06 ERROR]: #!#!
    45. [20:38:06 ERROR]: #!#! Current node: null
    46. [20:38:06 ERROR]: #!#! Current item: null
    47. [20:38:06 ERROR]: #!#!
    48. [20:38:06 ERROR]: #!#! Thread: Server thread
    49. [20:38:06 ERROR]: #!#!
    50. [20:38:06 ERROR]: #!#! Language: english
    51. [20:38:06 ERROR]: #!#! Link parse mode: DISABLED
    52. [20:38:06 ERROR]: #!#!
    53. [20:38:06 ERROR]: #!#! End of Error.
    54. [20:38:06 ERROR]: #!#!
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    yeah that means you have to update tuske, thats why its not working for you
     
  8. Scholler

    Scholler Active Member

    Joined:
    Aug 6, 2018
    Messages:
    130
    Likes Received:
    9
    I can't find Tuske 1.8.3 Pikachu patch 3, can you give me a DL link?
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    • Agree Agree x 1
  10. JustTitan

    JustTitan Member

    Joined:
    Sep 23, 2018
    Messages:
    2
    Likes Received:
    1
    I do happen to be getting errors when the server starts up.

    EDIT - I got this working by getting the latest version of skript. Thank you for the help. :emoji_stuck_out_tongue:
     

    Attached Files:

    #10 JustTitan, Sep 23, 2018
    Last edited: Sep 23, 2018
    • Like Like x 1
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    YAY Glad you got it to work :emoji_slight_smile:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...