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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Tunaliar

Member
Jun 10, 2021
2
0
1
22
ok so i am trying to make thing gui thin but it either wont accept my command or it will and not show the clickable item in the gui help!!

here is my code
Code:
command /Vehicle:
    aliases: /cars
    permission: car.buy
    permission message: &7[&4Rusty&7] &6You Dont Have Persmission!
    trigger:
        wait 1 tick
        create a gui with id "car" with virtual chest with 3 rows named "&5▬▬▬&6Vehicles&5▬▬▬":
            make gui slot 0 and 1 and 2 and 3 and 4 and 5 and 6 and 7 and 8 and 9 and 17 and 18 and 19 and 20 and 21 and 22 and 23 and 24 and 25 and 26 with gray stained glass pane named " "
            format gui slot 10 with stone named "&6bikeshop" with lore "&bClick me to open the bikshop!":
                make player execute command "bikeshop"
            make gui slot 12 with book named " "
        open gui "car" to players

and here is the error i get sometimes plse help!

Code:
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! [Skript] Severe Error:
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Something went horribly wrong with Skript.
[10.06 15:50:01] [Server] [ERROR] #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[10.06 15:50:01] [Server] [ERROR] #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[10.06 15:50:01] [Server] [ERROR] #!#! Here is full list of them:
[10.06 15:50:01] [Server] [ERROR] #!#! TuSKe v1.8.2 (github.com/Tuke-Nuke/TuSKe)
[10.06 15:50:01] [Server] [ERROR] #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[10.06 15:50:01] [Server] [ERROR] #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[10.06 15:50:01] [Server] [ERROR] #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[10.06 15:50:01] [Server] [ERROR] #!#! In that case, you will be given instruction on how should you report it.
[10.06 15:50:01] [Server] [ERROR] #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[10.06 15:50:01] [Server] [ERROR] #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Stack trace:
[10.06 15:50:01] [Server] [ERROR] #!#! java.lang.ClassCastException: class java.util.HashMap cannot be cast to class java.util.WeakHashMap (java.util.HashMap and java.util.WeakHashMap are in module java.base of loader 'bootstrap')
[10.06 15:50:01] [Server] [ERROR] #!#!     at com.github.tukenuke.tuske.util.VariableUtil.<init>(VariableUtil.java:24)
[10.06 15:50:01] [Server] [ERROR] #!#!     at com.github.tukenuke.tuske.util.VariableUtil.getInstance(VariableUtil.java:17)
[10.06 15:50:01] [Server] [ERROR] #!#!     at com.github.tukenuke.tuske.sections.gui.EffMakeGUI.execute(EffMakeGUI.java:77)
[10.06 15:50:01] [Server] [ERROR] #!#!     at com.github.tukenuke.tuske.util.EffectSection.check(EffectSection.java:54)
[10.06 15:50:01] [Server] [ERROR] #!#!     at ch.njol.skript.lang.Condition.run(Condition.java:55)
[10.06 15:50:01] [Server] [ERROR] #!#!     at ch.njol.skript.lang.Conditional.walk(Conditional.java:50)
[10.06 15:50:01] [Server] [ERROR] #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[10.06 15:50:01] [Server] [ERROR] #!#!     at ch.njol.skript.effects.Delay$1.run(Delay.java:108)
[10.06 15:50:01] [Server] [ERROR] #!#!     at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100)
[10.06 15:50:01] [Server] [ERROR] #!#!     at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[10.06 15:50:01] [Server] [ERROR] #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1427)
[10.06 15:50:01] [Server] [ERROR] #!#!     at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:436)
[10.06 15:50:01] [Server] [ERROR] #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1342)
[10.06 15:50:01] [Server] [ERROR] #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1130)
[10.06 15:50:01] [Server] [ERROR] #!#!     at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291)
[10.06 15:50:01] [Server] [ERROR] #!#!     at java.base/java.lang.Thread.run(Thread.java:834)
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Version Information:
[10.06 15:50:01] [Server] [ERROR] #!#!   Skript: 2.5.3 (latest)
[10.06 15:50:01] [Server] [ERROR] #!#!     Flavor: skriptlang-github
[10.06 15:50:01] [Server] [ERROR] #!#!     Date: 2020-12-11
[10.06 15:50:01] [Server] [ERROR] #!#!   Bukkit: 1.16.5-R0.1-SNAPSHOT
[10.06 15:50:01] [Server] [ERROR] #!#!   Minecraft: 1.16.5
[10.06 15:50:01] [Server] [ERROR] #!#!   Java: 11.0.10 (Java HotSpot(TM) 64-Bit Server VM 11.0.10+8-LTS-162)
[10.06 15:50:01] [Server] [ERROR] #!#!   OS: Linux amd64 4.15.0-128-generic
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Server platform: Paper
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Current node: null
[10.06 15:50:01] [Server] [ERROR] #!#! Current item: make  a gui slot [[long:10]] of gui with ([[itemtype:stone block]] named "bikeshop" with lore "Click me to open the bikshop!" >> ch.njol.skript.classes.data.DefaultConverters$14@5aedcc6b: itemtype -> itemstack)
[10.06 15:50:01] [Server] [ERROR] #!#! Current trigger: command /vehicle (simple event) (claim.sk, line -1)
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Thread: Server thread
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! Language: english
[10.06 15:50:01] [Server] [ERROR] #!#! Link parse mode: DISABLED
[10.06 15:50:01] [Server] [ERROR] #!#!
[10.06 15:50:01] [Server] [ERROR] #!#! End of Error.
[10.06 15:50:01] [Server] [ERROR] #!#!
 
Status
Not open for further replies.