# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.chrisgraph.fr/how-to-install/playtime-reward.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
