# ShopGUI Skript

## 1. Download Skript Plugin & Add the Skript

Download [Skript](https://github.com/SkriptLang/Skript/releases) plugin and run the server. Put the Skript file in `/plugins/Skript/scripts`.

<figure><img src="https://2845936110-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbALRQOls6KFfKhOlV43m%2Fuploads%2FUG18NPZBcZc8Lw3HItFX%2FSprite-0001.png?alt=media&#x26;token=3f801eaf-d844-4881-8c5d-23221e0ef387" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2845936110-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbALRQOls6KFfKhOlV43m%2Fuploads%2F0FEdUs1ZxnHE06qeKgkp%2FSprite-0002.png?alt=media&#x26;token=09a909a8-fe42-41f9-80dc-8e8f84d69115" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2845936110-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbALRQOls6KFfKhOlV43m%2Fuploads%2FmeaMasi4gpTLPRoGa3Sj%2FSprite-0003.png?alt=media&#x26;token=b472d729-df86-4b2f-a8fe-944f4972e798" alt=""><figcaption></figcaption></figure>

## **2. Installing Dependencies**

Download [skRayFall](https://www.spigotmc.org/resources/skrayfall.10012/), [skript-yaml](https://www.spigotmc.org/resources/skript-yaml.49829/), [skript-gui](https://github.com/APickledWalrus/skript-gui), [EssentialsX](https://essentialsx.net/downloads.html?branch=stable) and [Vault](https://www.spigotmc.org/resources/vault.34315/). Copy the jar files into your plugin folder.

## 3. Activate the Skript

If your server is closed, you can open your server. If it's active, we are recommend restart your server. If the plugins are already on your server and you haven't changed the name of the ShopGUI skript, you can activate the skript by typing `/skript reload shopGui.sk`

## 4. Final Setup

If there is no problem with the required plugins, the Skript is ready to use.

If you grant the necessary permissions to the players (Default: `shopgui.nq.player`), they just have to type `/shopgui <item>` to use the store.

If you grant the necessary permissions to the authorities (Default: `shopgui.nq.admin`), They can add products to the market by typing `/shopgui worth`. The products you add to the shop are stored at `plugins/ShopGui-nQ/prices.yml`.

The skript can be refreshed with the `/shopgui reload` command. (`shopgui.nq.admin` permission is also required.)

All other information is available in the skript.
