i made a GUI with tuske, and it just wont work.
this is the code:
and this is the console error:
i have the latest version of skript and tuske.
this is the code:
Code:
command /ttj:bank:
trigger:
open virtual chest inventory with size 5 named "Bank" to player
format gui slot 0 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 1 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 2 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 3 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 4 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 5 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 6 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 7 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 8 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 9 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 10 of player with red concrete powder named "&csell diamonds" with lore "&6diamond 1 = 8 coins" to run:
make player execute command "/ttj:selldiamonds"
format gui slot 11 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 12 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 13 of player with red concrete powder named "&csell gold" with lore "&6gold 1 = 4 coins" to run:
make player execute command "/ttj:sellgold"
format gui slot 14 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 15 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 16 of player with red concrete powder named "&csell iron" with lore "&6iron 1 = 2 coins" to run:
make player execute command "/ttj:selliron"
format gui slot 17 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 18 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 19 of player with diamond named "&bdiamonds" to do nothing
format gui slot 20 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 21 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 22 of player with gold ingot named "&egold" to do nothing
format gui slot 23 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 24 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 25 of player with iron ingot named "&7iron" to do nothing
format gui slot 26 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 27 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 28 of player with lime concrete powder named "&abuy diamonds" with lore "&640 coins = diamond 1" to run:
make player execute command "/ttj:buydiamonds"
format gui slot 29 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 30 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 31 of player with lime concrete powder named "&abuy gold" with lore "&620 coins = diamond 1" to run:
make player execute command "/ttj:buygold"
format gui slot 32 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 33 of player with light blue stained glass pane named "&c" to do nothing
format gui slot 34 of player with lime concrete powder named "&abuy iron" with lore "&610 coins = iron 1" to run:
make player execute command "/ttj:buyiron"
format gui slot 35 of player with light blue stained glass pane named "&c" to do nothing
and this is the console error:
Code:
19.11 12:20:39 [Server] INFO Kuchy_ issued server command: /ttj:bank
19.11 12:20:39 [Server] INFO Kuchy_ [d2d579a8-362b-4444-bbc7-804c85a558d2]: /ttj:bank
19.11 12:20:39 [Server] ERROR #!#!
19.11 12:20:39 [Server] ERROR #!#! [Skript] Severe Error:
19.11 12:20:39 [Server] ERROR #!#!
19.11 12:20:39 [Server] ERROR #!#! Something went horribly wrong with Skript.
19.11 12:20:39 [Server] ERROR #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
19.11 12:20:39 [Server] ERROR #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
19.11 12:20:39 [Server] ERROR #!#! Here is full list of them:
19.11 12:20:39 [Server] ERROR #!#! skRayFall v1.9.23 (https://sk.rayfall.net/) TuSKe v1.8.2 (github.com/Tuke-Nuke/TuSKe) CustomItems v3.6.3 (http://www.jojodmo.com) SkBee v1.8.3 (https://github.com/ShaneBeee/SkBee) SkQuery v4.1.3
19.11 12:20:39 [Server] ERROR #!#! We could not identify which of those are specially related, so this might also be Skript issue.
19.11 12:20:39 [Server] ERROR #!#! You should try disabling those plugins one by one, trying to find which one causes it.
19.11 12:20:39 [Server] ERROR #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
19.11 12:20:39 [Server] ERROR #!#! In that case, you will be given instruction on how should you report it.
19.11 12:20:39 [Server] ERROR #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
19.11 12:20:39 [Server] ERROR #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
19.11 12:20:39 [Server] ERROR #!#!
19.11 12:20:39 [Server] ERROR #!#! Stack trace:
19.11 12:20:39 [Server] ERROR #!#! java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.WeakHashMap
19.11 12:20:39 [Server] ERROR #!#! at com.github.tukenuke.tuske.util.VariableUtil.<init>(VariableUtil.java:24)
19.11 12:20:39 [Server] ERROR #!#! at com.github.tukenuke.tuske.util.VariableUtil.getInstance(VariableUtil.java:17)
19.11 12:20:39 [Server] ERROR #!#! at com.github.tukenuke.tuske.sections.gui.EffFormatGUI.execute(EffFormatGUI.java:141)
19.11 12:20:39 [Server] ERROR #!#! at com.github.tukenuke.tuske.util.EffectSection.check(EffectSection.java:54)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.lang.Condition.run(Condition.java:55)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.lang.Conditional.walk(Conditional.java:50)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:291)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:250)
19.11 12:20:39 [Server] ERROR #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:248)
i have the latest version of skript and tuske.