TuSKe - Custom Enchantments, GUI Manager and more!

Addon TuSKe - Custom Enchantments, GUI Manager and more! 1.8.2

  • 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!

Hey, before I begin thank you for this amazing and one of the most usefull addons for Skript.
I have a small question..
* Is there is a way to format gui like that: ↓?
Code:
format a gui slot 0 of player with stone named ".."  to do:
   code here ....

And thank you ♥.
 
Hey @Tuke_Nuke
I noticed the custom recipes with custom items isn't working.
Was that removed?
Or am I doing it wrong?
If it is still programmed in, could you please give me an example for how to do it?
Thanks
 
Is there any way to set the name of a currently open gui in a function?

make a gui slot {_i} of {_p} with redstone named "%{_debug}%" to run function openVoteBox(player, {_i}, {_maxcash}) using "left" click

and in openVoteBox I want to set the GUI's new name.

How?
 
When loading Tuske (not my skripts) for spigot-1.12.2-R0.1-SNAPSHOT-b1637 and dev35b's bensku's skript's version:
code_language.skript:
[11:20:29 INFO]: [TuSKe] Enabling TuSKe v1.8.2
[11:20:29 INFO]: [TuSKe] Enabling Metrics... Done!
[11:20:29 INFO]: [TuSKe] Check for updates enabled. It will check in some seconds.
[11:20:29 INFO]: [TuSKe] Documentation enabled. Some files containing all syntax of all addons will be generated.
[11:20:29 INFO]: [TuSKe]
[11:20:29 INFO]: [TuSKe]  A special thanks for donators:
[11:20:29 INFO]: [TuSKe]  @X0Freak - 50$
[11:20:29 INFO]: [TuSKe]  @RepublicanSensei - 10$
[11:20:29 INFO]: [TuSKe]
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! [Skript] Severe Error:
[11:20:29 ERROR]: #!#! TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Something went horribly wrong with Skript.
[11:20:29 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[11:20:29 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[11:20:29 ERROR]: #!#! Following plugins are probably related to this error in some way:
[11:20:29 ERROR]: #!#! TuSKe (github.com/Tuke-Nuke/TuSKe)
[11:20:29 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[11:20:29 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[11:20:29 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[11:20:29 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[11:20:29 ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
[11:20:29 ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Stack trace:
[11:20:29 ERROR]: #!#! java.lang.NullPointerException
[11:20:29 ERROR]: #!#!     at com.github.tukenuke.tuske.effects.EffMakeDrop.<clinit>(EffMakeDrop.java:25)
[11:20:29 ERROR]: #!#!     at java.lang.Class.forName0(Native Method)
[11:20:29 ERROR]: #!#!     at java.lang.Class.forName(Unknown Source)
[11:20:29 ERROR]: #!#!     at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:108)
[11:20:29 ERROR]: #!#!     at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:100)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[11:20:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[11:20:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[11:20:29 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Version Information:
[11:20:29 ERROR]: #!#!   Skript: 2.2-dev35b
[11:20:29 ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[11:20:29 ERROR]: #!#!   Minecraft: 1.12.2
[11:20:29 ERROR]: #!#!   Java: 1.8.0_172 (Java HotSpot(TM) 64-Bit Server VM 25.172-b11)
[11:20:29 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Server platform: Spigot
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Current node: null
[11:20:29 ERROR]: #!#! Current item: null
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Thread: Server thread
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Language: english
[11:20:29 ERROR]: #!#! Link parse mode: DISABLED
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! End of Error.
[11:20:29 ERROR]: #!#!
[11:20:29 INFO]: [TuSKe] Loaded 8 events, 12 conditions, 20 effects, 62 expressions and 0 types. Have fun!

(Even with that Tuske works - i suppose the EffMakeDrop effect doesn't)
Thanks Tuke_Nuke for your addon :emoji_slight_smile:
 
When loading Tuske (not my skripts) for spigot-1.12.2-R0.1-SNAPSHOT-b1637 and dev35b's bensku's skript's version:
code_language.skript:
[11:20:29 INFO]: [TuSKe] Enabling TuSKe v1.8.2
[11:20:29 INFO]: [TuSKe] Enabling Metrics... Done!
[11:20:29 INFO]: [TuSKe] Check for updates enabled. It will check in some seconds.
[11:20:29 INFO]: [TuSKe] Documentation enabled. Some files containing all syntax of all addons will be generated.
[11:20:29 INFO]: [TuSKe]
[11:20:29 INFO]: [TuSKe]  A special thanks for donators:
[11:20:29 INFO]: [TuSKe]  @X0Freak - 50$
[11:20:29 INFO]: [TuSKe]  @RepublicanSensei - 10$
[11:20:29 INFO]: [TuSKe]
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! [Skript] Severe Error:
[11:20:29 ERROR]: #!#! TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Something went horribly wrong with Skript.
[11:20:29 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[11:20:29 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[11:20:29 ERROR]: #!#! Following plugins are probably related to this error in some way:
[11:20:29 ERROR]: #!#! TuSKe (github.com/Tuke-Nuke/TuSKe)
[11:20:29 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[11:20:29 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[11:20:29 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[11:20:29 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[11:20:29 ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
[11:20:29 ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Stack trace:
[11:20:29 ERROR]: #!#! java.lang.NullPointerException
[11:20:29 ERROR]: #!#!     at com.github.tukenuke.tuske.effects.EffMakeDrop.<clinit>(EffMakeDrop.java:25)
[11:20:29 ERROR]: #!#!     at java.lang.Class.forName0(Native Method)
[11:20:29 ERROR]: #!#!     at java.lang.Class.forName(Unknown Source)
[11:20:29 ERROR]: #!#!     at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:108)
[11:20:29 ERROR]: #!#!     at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:100)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[11:20:29 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[11:20:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
[11:20:29 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[11:20:29 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[11:20:29 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Version Information:
[11:20:29 ERROR]: #!#!   Skript: 2.2-dev35b
[11:20:29 ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[11:20:29 ERROR]: #!#!   Minecraft: 1.12.2
[11:20:29 ERROR]: #!#!   Java: 1.8.0_172 (Java HotSpot(TM) 64-Bit Server VM 25.172-b11)
[11:20:29 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Server platform: Spigot
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Current node: null
[11:20:29 ERROR]: #!#! Current item: null
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Thread: Server thread
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! Language: english
[11:20:29 ERROR]: #!#! Link parse mode: DISABLED
[11:20:29 ERROR]: #!#!
[11:20:29 ERROR]: #!#! End of Error.
[11:20:29 ERROR]: #!#!
[11:20:29 INFO]: [TuSKe] Loaded 8 events, 12 conditions, 20 effects, 62 expressions and 0 types. Have fun!

(Even with that Tuske works - i suppose the EffMakeDrop effect doesn't)
Thanks Tuke_Nuke for your addon :emoji_slight_smile:

try https://github.com/pikachu920/tuske/releases until It get updated
 
  • Like
Reactions: PheonBest
when i use any command tuske has its just put random 'A' in the replay
https://prnt.sc/towhtb
towhtb
 
Fun Fact!


This addon hasn't been updated since 2017, so the latest version of ViaVersion doesn't work with TuSKe.

You can receive this error.

Code:
ch.njol.skript.SkriptAPIException: No class info found for customenchantment

idk when the developer will fix this bug.

EDIT:

Bug in TuSKe located, developer hasn't updated the ViaVersion repository they use.


Code:
Error occurred while enabling TuSKe v1.8.2-Pikachu-Patch-3 (Is it up to date?)
java.lang.NoClassDefFoundError: us/myles/ViaVersion/ViaVersionPlugin
at com.github.tukenuke.tuske.expressions.ExprPlayerVersion.<clinit>(ExprPlayerVersion.java:39) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_292]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_292]
at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:107) ~[?:?]
at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:99) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [server.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.ClassNotFoundException: us.myles.ViaVersion.ViaVersionPlugin
at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_292]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:152) ~[server.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[server.jar:git-Spigot-79a30d7-acbc348]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
... 16 more