1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Problem with GUI

Discussion in 'Skript' started by Riknesh, Dec 22, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    Whenever I make a GUI with glass pane..it only works if I use numerical ID of glass pane instead of "stained_glass_pane:4",and it keeps spamming my chat whenever I reload the skript.How can i fix this problem?

    Ex:format slot 8 of player with 160:14 named "&4Cancel" with lore "&fClick to Close" to close

    Message:[Skript] Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '160:14' with e.g. 'stained glass pane:14'.

     
  2. Best Answer:
    Post #6 by ChisleLP, Dec 24, 2017
  3. ChisleLP

    ChisleLP Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    789
    Likes Received:
    60
    Just replace "160:14" to "stained glass pane:14"

    btw a hint

    don't use SkQuery GUI Format.

    Its buggy.

    Use Tuske GUI.
     
  4. Pikachu

    Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    139
    Medals:
    Or the proper alias, red glass
     
  5. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    Still facing the same prob.
     
  6. WatchBOT

    WatchBOT New Member

    Joined:
    Sep 4, 2017
    Messages:
    7
    Likes Received:
    0
    In the error it literally says what to do. "Please replace '160:14' with e.g. 'stained glass pane:14'."
    If that doesn't work, and you haven't changed the formatting, try it with 'stone' and see if that works. If it does, then something with the alias isn't working. Could you maybe also post your entire code? Maybe there is another solution.
     
  7. ChisleLP

    ChisleLP Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    789
    Likes Received:
    60
    What i did most time:

    Enter the name of Minecraft blocks to Skript, if error, then maybe replace every " " with "_" if you got Other color. then add data id after name, example.

    red stained glass pane #If doesn't work

    red_stained_glass_pane #if doesn't work

    stained glass pane:14 #Im not sure if 14 its red. but the most time i follow the error/warning Output. and work for me fine. Maybe you have to update your Alliases.
     
  8. Riknesh

    Riknesh Active Member

    Joined:
    Jun 9, 2017
    Messages:
    76
    Likes Received:
    2
    Thanks..I tried updating my aliases,and its working now
     
Thread Status:
Not open for further replies.

Share This Page

Loading...