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 Need help with TuSke GUI

Discussion in 'Skript' started by ShinyJustyZ, Feb 23, 2021.

Thread Status:
Not open for further replies.
  1. ShinyJustyZ

    ShinyJustyZ Member

    Joined:
    Feb 23, 2021
    Messages:
    2
    Likes Received:
    0
    What happened?
    I was making a simple Admin GUI and when I went to test it opened an empty GUI with nothing inside it and gave me an internal error.
    Expected Behavior
    A GUI should open with an option named Weather options and inside two buttons. One button for sunrise, the other one for the day.
    Errors / Screenshots
    https://pastebin.com/FJ6WR5cw
    Server Information
    Server version/platform: PaperSpigot 1.16.5
    Skript version: 2.5.3
    Other information
    I'm using TuSke addon for the GUI
    Code (Text):
    1. command /agui:
    2.   permission: admingui.main
    3.   permission message: "&CYou do not have permission to execute this command!"
    4.   trigger:
    5.     open virtual chest inventory with size 3 named "&DAdmin GUI" to player
    6.     format gui slot 11 of player with white wool named "&7Weather options" with lore "&FShow the weather options" to run:
    7.       close player's inventory
    8.       make player execute command "/aweather"
    9. command /aweather:
    10.   permission: admingui.weather
    11.   permission message: "&CYou do not have permission to execute this command!"
    12.   trigger:
    13.     open virtual chest inventory with size 3 named "&DWeather GUI" to player
    14.     format gui slot 11 of player with orange wool named "&6Sunrise" with lore "&FChange the time to Sunrise" to run:
    15.       make player execute command "/time set 0"
    16.       close player's inventory
    17.     format gui slot 13 of player with yellow wool named "&EDay" with lore "&FChange the time to Day" to run:
    18.       make player execute command "/time set day"
    19.       close player's inventory
    20.  
     
  2. Best Answer:
    Post #2 by Ankoki, Feb 23, 2021
  3. Ankoki

    Moderator Supporter Addon Developer

    Joined:
    Nov 5, 2020
    Messages:
    55
    Likes Received:
    12
    Doesn't seem like something you'll be able to fix yourself unless you can update Tuske (for the latest click here), if not i suggest switching to vanilla guis.
     
    • Like Like x 1
  4. ShinyJustyZ

    ShinyJustyZ Member

    Joined:
    Feb 23, 2021
    Messages:
    2
    Likes Received:
    0
    Thank you so much, updating TuSke fixed it!
     
  5. Ankoki

    Moderator Supporter Addon Developer

    Joined:
    Nov 5, 2020
    Messages:
    55
    Likes Received:
    12
    Glad to help c:
     
Thread Status:
Not open for further replies.

Share This Page

Loading...