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