In this guide we are going to open a GUI and check if the user has permission to do this.
First we need to make our command to open our GUI. Than we need to make a has permission check to see if that user can use that GUI / command.
This permission can be anything you want it to be
Than when he has the permission we are going to open our GUI.
And here we are you have now a command to open a GUI
You can put in a message if the user has no permission to use that GUI and/or you can add a sound after the GUI has opent
Last updated 4 years ago