Solved Need help with TuSke GUI

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

ShinyJustyZ

Member
Feb 23, 2021
2
0
1
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:
command /agui:
  permission: admingui.main
  permission message: "&CYou do not have permission to execute this command!"
  trigger:
    open virtual chest inventory with size 3 named "&DAdmin GUI" to player
    format gui slot 11 of player with white wool named "&7Weather options" with lore "&FShow the weather options" to run:
      close player's inventory
      make player execute command "/aweather"
command /aweather:
  permission: admingui.weather
  permission message: "&CYou do not have permission to execute this command!"
  trigger:
    open virtual chest inventory with size 3 named "&DWeather GUI" to player
    format gui slot 11 of player with orange wool named "&6Sunrise" with lore "&FChange the time to Sunrise" to run:
      make player execute command "/time set 0"
      close player's inventory
    format gui slot 13 of player with yellow wool named "&EDay" with lore "&FChange the time to Day" to run:
      make player execute command "/time set day"
      close player's inventory
 
Status
Not open for further replies.