How to open chest when clicked on a specific thing?

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

    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.

Lubuntu

New Member
Jan 9, 2018
5
0
0
so I use the skript on my spigot server,which have no issue at all.and later I switch to bukkit,and use the same skript,and game menu doesn't work anymore,and skript said can't understand this condition/effect.
for example:
open chest with 5 row named "&nQuick Game Menu" to the player
format slot 0 of player with 257 named "&eThe Bridges &74 Team Survival" to be unstealable
format slot 2 of player with 267 named "&eSurvival Games &7Last Man Standing" to be unstealable
format slot 4 of player with 288 named "&eSkywars &7Solo Survival" to be unstealable
format slot 6 of player with 322:0 named "&eUHC &7Ultra Hardcore Mode" to be unstealable
format slot 8 of player with 369 named "&eWizards &7Last Man Standing" to be unstealable
format slot 18 of player with 311 named "&eCastle Siege &7Team Game" to be unstealable
format slot 20 of player with 2 named "&eBlock Hunt &7Cat and Mouse" to be unstealable
format slot 22 of player with 397:4 named "&eSuper Smash Mobs" to be unstealable
format slot 24 of player with 46 named "&eMine-Strike &7Team Survival" to be unstealable
format slot 26 of player with 386 named "&eDraw My Thing &7Pictionary!" to be unstealable
format slot 36 of player with 138 named "&eDominate &7Team Game" to be unstealable
format slot 38 of player with 283 named "&eTeam Deathmatch &7Team Game" to be unstealable
format slot 40 of player with 5:0 named "&eMaster Builders &7Creative Build" to be unstealable
format slot 42 of player with 261 named "&eArcade &7Mixed Games" to be unstealable
Skript just don't understand what is format,can someone help me please?Spigot work fine with this script.
 
Last edited:
Is there an error or does the menu just not display with the formatted slots? The general rule of thumb for formatting an inventory after opening it is to wait 1 or 2 ticks before starting your format effects, otherwise they just won't happen.
 
skript said that it can't understand the format slot so it make the menu/gui not able to open
 
skript said that it can't understand the format slot so it make the menu/gui not able to open

Maybe the unstealable part is the issue? You could try replacing 'to be unstealable' with 'to run ""' which should also prevent putting the item in your inventory since it's trying to run a command (despite the command being blank).
 
After a while I prob missed a message,it even said that open chest is not an effect or condition,so I am confused about it,I have the lastest skRayFall,wildskript.and not the lastest version of SkQuery since the lastest version of SkQuery actually crash the skript plugin.I tried other like skAction,skUtilities etc.but they just break the skript plugin more,so I deleted it.also my old spigot server actually have skrayfall,SkQuery and wildskript,also that my old spigot is running 1.8.x,and now my bukkit server is running on 1.12.2 with protocol support so 1.8 can actually join.but since SkQuery don't seems to support 1.12 so I am using a old unofficial version of SkQuery.
 
Status
Not open for further replies.