> For the complete documentation index, see [llms.txt](https://minecraftman1013.gitbook.io/shop-skript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minecraftman1013.gitbook.io/shop-skript/old-shop-skript/master.md).

# Getting Started

What to do when getting started

## This is an archive! Only use this if you have the old version of the script (from Minehut)

Before you do anything, make sure that you have these plugins installed:

Skript, Vault, and EssentialsX (Or some other Economy Manager).

{% hint style="info" %}
In order to make shops, you need to know:

&#x20;a) How to create a file

b) Basic knowledge of how to modify a file&#x20;
{% endhint %}

## Commands and Permissions

**All Versions**

| **Command**          | Aliases          | **Permission** | Description                             |
| -------------------- | ---------------- | -------------- | --------------------------------------- |
| /shop reload         | -                | shop.reload    | Reload the shops                        |
| /shop visual         | /shop preview    | shop.visual    | See what items are in which slots       |
| /modifyshop \<shop>  | /shopmodify, /ms | shop.modify    | Modify the contents of each shop        |
| /shopactions \<shop> | /shopaction, /sa | shop.actions   | Modify what each item does in your shop |

**Versions 1.0.3+**

| **Command** | Aliases               | **Permission** | Description                    |
| ----------- | --------------------- | -------------- | ------------------------------ |
| /createshop | /newshop, /ns, /cs    | shop.create    | Create a new shop from in game |
| /deleteshop | /removeshop, /rs, /ds | shop.delete    | Delete a shop from in game     |

Each shop that you create will also have its own command to open it.\
No permission is required

## Options.sk File

This is the file with all of the most important options.

{% code title="options.sk" %}

```bash
options:
	# This is the file location for the Skript.
	# The / at the end means it will reload the whole folder called "Shop"
	# Default is Shop/
	File Location: Shop/
	
	Shops: "Shop", "Blocks", and "Redstone"

	# The message that players get sent if they don't have permission to do a command
	No Permission Message: &4You don't have permission to do this!

	# When players click an item in the shop, should it cancel the event?
	Cancel Click: true
```

{% endcode %}

## What do Each of These Options do?

Each of these options serve an important function.

* File Location
  * Where is the folder with all of the shop files located?
  * Default: Shop/
* Shops
  * A list of all the shop categories you have
  * Default: "Shop", "Blocks", and "Redstone"
* No Permission Message
  * Default: &4You don't have permission to do this!
* Cancel Click
  * When players click an item in the shop, should it not let them take it?
    * **true** (Keep the item in the shop) or **false** (let them take the items)
  * Default: true

{% hint style="info" %}
If you would like something setup for you, join my support discord! <https://discord.gg/gkbfB6V>
{% endhint %}
