# Getting Started

## **Dependencies**

* <mark style="color:red;">REQUIRED</mark> ProtocolLib: <https://www.spigotmc.org/resources/1997/>
* <mark style="color:green;">OPTIONAL</mark> PlaceholderAPI: <https://www.spigotmc.org/resources/6245/>
* <mark style="color:green;">OPTIONAL</mark> Vault: <https://www.spigotmc.org/resources/vault.34315/>

## How to Install

1. Buy and download the plugin.
2. Download any required dependencies, if needed.
3. Put the `MysteryBoxes.jar` file in the `/plugins/` folder.
4. Start the server. The plugin will create all the files it needs.
5. Change the plugin settings to what you want (follow the **First Steps** below).
6. Restart the server or reload the plugin to make the changes work.

## **First Steps**

1. After installing the plugin, it's time to make your first [Mystery Vault](https://xerickerspigot.gitbook.io/mysteryboxes/guides/mystery-vaults#what-is-the-editor).
2. Once you've done that, create [Mystery Boxes](https://xerickerspigot.gitbook.io/mysteryboxes/guides/mystery-boxes#how-mystery-boxes-work) and [Mystery Loots](https://xerickerspigot.gitbook.io/mysteryboxes/guides/mystery-loots#how-mystery-loots-work).
3. [Assign](https://xerickerspigot.gitbook.io/mysteryboxes/guides/mystery-loots#assigning-a-group-loot-to-a-box) the Mystery Loots to your Mystery Boxes.
4. Connect the plugin to your [MySQL database](https://xerickerspigot.gitbook.io/mysteryboxes/setting-up/data-and-mysql#how-to-enable-mysql) (this step is optional).
5. Look at the list of all the [commands](https://xerickerspigot.gitbook.io/mysteryboxes/general-use/commands) you can use.
6. Make sure all players have the right [permissions](https://xerickerspigot.gitbook.io/mysteryboxes/general-use/permissions).

## **Need Help?**

[Cube Development](https://bit.ly/3ycE4Id) is a shared Discord server Spigot developers and their customers.

Once you join the server, you will be asked to verify to gain access to this plugin's channel.
