How to open your GUI

In this guide we are going to open a GUI and check if the user has permission to do this.

Creating the command

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.

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

Was this helpful?