> For the complete documentation index, see [llms.txt](https://docs.anotherlevel.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anotherlevel.it/documentation/battlepass/commands.md).

# Commands

## BattlePass Plugin Commands Guide

### Overview

This guide provides detailed explanations of the commands available in the BattlePass plugin, divided into Admin and Player commands. Additionally, information on customizing command aliases is included.

### Admin Commands

Admin commands require specific permissions to execute. They are essential for managing the BattlePass experience for players.

### Console Commands

* **Add Experience**: `/battlepassadmin add <playerName> <exp>`
  * *Description*: Adds experience points to a player's BattlePass.
  * *Usage*: This command is usable from the console.

### Player admin Commands

Player commands related to BattlePass administration require the `albattlepass.admin` permission.

* **Add Experience**: `/battlepassadmin add <playerName> <exp>`
  * *Description*: Adds experience points to a player's BattlePass.
* **Reload Messages**: `/battlepassadmin reload`
  * *Description*: Reloads the `messages.yml` file.
* **Open Editor**: `/battlepassadmin editor`
  * *Description*: Opens the in-game BattlePass editor.
* **Help**: `/battlepassadmin help`
  * *Description*: Displays a list of available admin commands.
* **Report**: `/battlepassadmin report`
  * *Description*: Provides information useful for developers, aiding in diagnostics and troubleshooting.

### Player Commands

Regular player commands for interacting with BattlePass.

* **Help**: `/battlepass help`
  * *Description*: Shows a list of available player commands.
* **Rewards GUI**: `/battlepass rewards`
  * *Description*: Opens the BattlePass rewards graphical interface.
* **Personal Info**: `/battlepass info`
  * *Description*: Displays information about your own BattlePass.
* **Others' Info**: `/battlepass info <playerName>`
  * *Description*: Displays information about another player's BattlePass.
  * *Permission Required*: `anotherlevel.battlepass.info.other`

### Command Aliases

Customize command aliases through the `config.yml` file. This feature is particularly useful for servers using Paper: [Download Paper](https://papermc.io/downloads/paper).

#### Example Aliases

```yaml
# Paper aliases, you can change it if you
# are using Paper: https://papermc.io/downloads/paper
aliases:
  - pp
  - ppass
  - pass
  - passbattaglia
  - bp
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.anotherlevel.it/documentation/battlepass/commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
