GUI Issue

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

Rasturize

New Member
Mar 16, 2017
4
0
0
23
Whenever players try to open a GUI from the skript I made, they get the message "you can't open that menu", any solutions?

command /info:
trigger:
open chest with 3 rows named "{@GUI}" to player
wait a tick
format slot 1 of player with armor stand named "{@Item1}" with lore "{@Item1Lore}" to close
format slot 3 of player with diamond sword named "{@Item2}" with lore "{@Item2Lore}" to close
format slot 5 of player with iron pickaxe named "{@Item3}" with lore "{@Item3Lore}" to close
format slot 7 of player with saddle named "{@Item4}" with lore "{@Item4Lore}" to close
format slot 11 of player with enchantment table named "{@Item5}" with lore "{@Item5Lore}" to close
format slot 13 of player with water bottle named "{@Item6}" with lore "{@Item6Lore}" to close
format slot 15 of player with compass named "{@Item7}" with lore "{@Item7Lore}" to close
format slot 21 of player with red stained glass named "{@Item8}" with lore "{@Item8Lore}" to close
format slot 23 of player with 322 named "{@Item9}" with lore "{@Item9Lore}" to close


Thanks for the help in advance.
 
You need to describe your errors more properly with much details as possible, such as Server, Skript and Addons and its versions.
Take a read at help request layout and how to properly format your code.

Also, a external suggestion: SkQuery's format slot is old and has some bugs that let players stole items. If you want, you can meet TuSKe's GUI Manager which has all bugs fixed and some more features.
 
You need to describe your errors more properly with much details as possible, such as Server, Skript and Addons and its versions.
Take a read at help request layout and how to properly format your code.

Also, a external suggestion: SkQuery's format slot is old and has some bugs that let players stole items. If you want, you can meet TuSKe's GUI Manager which has all bugs fixed and some more features.
Thanks, will do :emoji_slight_smile:
[doublepost=1489636529,1489635209][/doublepost]@Tuke_Nuke
Issue still happening after getting latest version of TuSKe.

Skript Version: Skript 2.2 (Fixes-V8b)
Skript Author: Njol
Minecraft Version: 1.8

Full Code:
code_language.skript:
command /info [<text>]:
    permission: neme.gui
    trigger:
        if arg-1 is not set:
            open chest with 3 rows named "{@GUI}" to player
            wait a tick
            create a gui slot 1 of player with armor stand named "{@Item1}" with lore "{@Item1Lore}" to do nothing
            create a gui slot 3 of player with diamond sword named "{@Item2}" with lore "{@Item2Lore}" to do nothing
            create a gui slot 5 of player with iron pickaxe named "{@Item3}" with lore "{@Item3Lore}" to do nothing
            create a gui slot 7 of player with saddle named "{@Item4}" with lore "{@Item4Lore}" to do nothing
            create a gui slot 11 of player with enchantment table named "{@Item5}" with lore "{@Item5Lore}" to do nothing   
            create a gui slot 13 of player with water bottle named "{@Item6}" with lore "{@Item6Lore}" to do nothing
            create a gui slot 15 of player with compass named "{@Item7}" with lore "{@Item7Lore}" to do nothing   
            create a gui slot 21 of player with red stained glass named "{@Item8}" with lore "{@Item8Lore}" to do nothing
            create a gui slot 23 of player with golden apple named "{@Item9}" with lore "{@Item9Lore}" to do nothing

No errors on reload, the same issue appears where players doing the command get "You can't open that menu!"
 
@Rasturize so it means there is another command (from another plugin) conflicting with that command, try to change the command and also, give more details about that error. Where is it showing and how? You could print it if you want.
 
@Rasturize so it means there is another command (from another plugin) conflicting with that command, try to change the command and also, give more details about that error. Where is it showing and how? You could print it if you want.
Tried changing the name of the command, didn't seem to change anything. The error shows when a player types the command, here's an example.

http://i.imgur.com/7lvIMq4.png
 
Status
Not open for further replies.