> For the complete documentation index, see [llms.txt](https://wiki.chrisgraph.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.chrisgraph.fr/how-to-install/playtime-reward.md).

# PlayTime Reward

:thumbsup: **Buy this pack on** [**BuiltByBit**](https://builtbybit.com/members/chris-graph.151148/)

## Plugins required

* [DeluxeMenus](https://www.spigotmc.org/resources/deluxemenus.11734/)
* [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/)
* [Luckperms](https://luckperms.net)

## How to install

{% hint style="danger" %}
**Please follow the steps below correctly, or your pack may be incorrectly installed.**
{% endhint %}

### PAPI Setup (PlaceholdersAPI)

```
/papi ecloud download Player
```

```
/papi ecloud download Statistic
```

Please reload PlaceholderAPI with `/papi reload`

### DeluxeMenus Setup

1. Drag and drop de **DeluxeMenus** folder in your **plugins** folder
2. Add the following lines to your **config.ym**l in the DeluxeMenus folder :

```
gui_menus:
  playtime_1:
    file: chrisgraph/playtimereward/playtime_1.yml
  playtime_2:
    file: chrisgraph/playtimereward/playtime_2.yml
```

Please reload DeluxeMenus with `/dm reload`

You can open the rewards menu using the command `/playtime`

{% hint style="danger" %}
If you're using essentials, don't forget to disable the playtime command in config.yml in the disabled-commands section.
{% endhint %}
