# Commands & Permissions

| Command                                                                                                                                                                                          | Description                                                     | Permission                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- | ---------------------------------- |
| `/<battlepass_id>`                                                                                                                                                                               | Open the battlepass GUI                                         | `xbattlepass.command.<pass_id>`    |
| `/xbattlepass reload`                                                                                                                                                                            | Reloads the plugin                                              | `xbattlepass.command.reload`       |
| `/xbattlepass quests <pass_id>`                                                                                                                                                                  | Opens the Quests GUI                                            | `xbattlepass.command.quests`       |
| `/xbattlepass tier <pass_id>`                                                                                                                                                                    | Opens the Tiers GUI                                             | `xbattlepass.command.tier`         |
| `/xbattlepass setpremium <player> <pass_id> <true/false> [silent]`                                                                                                                               | Set the player's premium pass                                   | `xbattlepass.command.setpremium`   |
| `/xbattlepass complete_task <player/all> <pass_id> <category_id> <quest_id> <task_id>`                                                                                                           | Complete the player's battlepass task                           | `xbattlepass.command.completetask` |
| <p><code>/xbattlepass reset battlepass \<player/all> \<pass\_id></code> <br><code>/xbattlepass reset task \<player/all> \<pass\_id> \<category\_id> \<quest\_id> \<task\_id></code></p>          | Reset the player's battlepass or task experience                | `xbattlepass.command.reset`        |
| <p><code>/xbattlepass give \<player/all> \<pass\_id> \<tier/xp> \<amount></code><br><code>/xbattlepass give \<player/all> task\_xp \<category\_id> \<quest\_id> \<task\_id> \<amount></code></p> | Give the player battlepass tiers, experience or task experience | `xbattlepass.command.give`         |

### Additional Permissions

#### Premium Battlepass

To set the permission required for the Premium Battlepass, edit this in your battlepass configs.

#### XP multiplier permission

Permission: `xbattlepass.xpmultiplier.<%increase>`

General Usage: `xbattlepass.xpmultiplier.200` would give 200% more battlepass XP (3x) to anyone with the permission. The backend math is `1 + (<%increase> / 100)`&#x20;

Permission: `xbattlepass.xpmultiplier.50percent`\
\
\
Permission: `xbattlepass.xpmultiplier.double`\
\
\
Permission: `xbattlepass.xpmultiplier.triple`\
Permission: `xbattlepass.xpmultiplier.quadruple`

General Usage: `xbattlepass.xpmultiplier.50percent` would give 50% more skill XP (1.5x)


---

# 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://exanthiax.gitbook.io/xbattlepass/useful/commands-and-permissions.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.
