[SKRIPT] GUI do not work!!

Discussion in 'Skript' started by carloverhamme, Aug 8, 2017.

  1. Hey guys,
    if i make a GUI in skript and i reload the skript it tells SO MUCH errors and then i try to open it but notting happens!!
    Can som1 help me PLZ!

    VERSION: 1.11.2
    SKRIPT PLUGINS: Skript, SkQuary

    My skript:

    command /menu:
    permission: menu.open
    permission message: &cNo Permissions!!
    trigger:
    open chest with 1 rows named "&7Game Menu" to player
    wait 1 tick
    format slot 1 of player with 276 name "&9KitPvp" with lore "&7Click me to go to KitPvp" to close then run [execute console command "/mvtp %player% kitpvp"]

    Plz realy need help!!
     
  2. you need skrayfall to make gui menu
     
  3. AngelRani

    Supporter

    On the line:
    Code (Text):
    format slot 1 of player with 276 name "&9KitPvp" with lore "&7Click me to go to KitPvp" to close then run [execute console command "/mvtp %player% kitpvp"]
    You said "name" and it should be "named"

    Code (Text):
    command /menu:
        permission: menu.open
        permission message: &cNo Permissions!!
        trigger:
            open chest with 1 rows named "&7Game Menu" to player
            wait 1 tick
            format slot 1 of player with 276 named "&9KitPvp" with lore "&7Click me to go to KitPvp" to close then run [execute console command "/mvtp %player% kitpvp"]
     
     
    #3 AngelRani, Aug 8, 2017
    Last edited: Aug 15, 2017
  4. Your Errors Screenshot please? I Might Be Able to Help You :rolleyes:
     
  5. Ow Thx, the error:
    They say that they dont understanding the condition
     
  6. okay and also i need a screenshot cuz i dont understand which condition it does not understand
     
  7. ok wait am gonne fix it
     
  8. If i use SkQuary in localhost it works but i am running a server with server.pro and then it says this:
     

    Attached Files:

  9. Yea its working on a localhost server, but not on server.pro (whit the needed plugins!)
     
  10. Think you need the plugins: Skript, SkQuery and SkRayFall

    Try this:

    command /menu:
    permission: menu.open
    permission message: "&cNo Permissions!!"
    trigger:
    open chest with 1 rows named "&7Game Menu" to player
    wait 1 tick
    format slot 4 of player with diamond sword named "&9KitPvp" with lore "&7Click me to go to KitPvp" to close then run [execute console command "/mvtp %player% kitpvp"]
     
  11. Proof read and tested, works perfect
    Code (Text):

    Options:
        kitpvpitem: diamond_sword

    command /menu:
        permission: menu.open
        permission message: &cNo Permissions!!
        trigger:
            open chest with 1 rows named "&7Game Menu" to player
            wait 1 tick
            format slot 1 of player with {@kitpvpitem} named "&9KitPvp" with lore "&7Click me to go to KitPvp" to close then run [execute console command "/mvtp %player% kitpvp"]
     
     
  12. thx guys its working <3
     
  13. Wouldn't recommend using free server hosting....