> For the complete documentation index, see [llms.txt](https://guides.ultracustomizer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.ultracustomizer.com/guis/how-to-open-your-gui.md).

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

![](https://861805133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M_kvS90LCrvnHsAPzTE%2F-MbKiOux6aduNBuFsI9V%2F-MbKkPL-YJASJG7q-Hsw%2Fimage.png?alt=media\&token=4b68c77b-f605-4eac-9451-41a968505051)

{% hint style="info" %}
This permission can be anything you want it to be
{% endhint %}

Than when he has the permission we are going to open our GUI.

![](https://861805133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M_kvS90LCrvnHsAPzTE%2F-MbKiOux6aduNBuFsI9V%2F-MbKlV5JXe5vmDFHHGcX%2Fimage.png?alt=media\&token=120308d2-5eba-4ff9-9dc8-01e7a4952c62)

{% hint style="success" %}
And here we are you have now a command to open a GUI
{% endhint %}

{% hint style="info" %}
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
{% endhint %}
