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

# Commands & Permissions

{% hint style="info" %}
**Command not working?**

The command needs to be enabled in the **config.yml** for it to function properly. If the issue still persists please report it.
{% endhint %}

## Player Commands (pe.commands)

| Command                         | Description                                                | Permission    |
| ------------------------------- | ---------------------------------------------------------- | ------------- |
| /peconomy help                  | Displays this menu.                                        | N/A           |
| /balance \[player]              | Displays your balance.                                     | pe.balance    |
| /balancetop                     | Displays the server balance top.                           | pe.balancetop |
| /pay \<player> \<amount>        | Pay another play from your balance.                        | pe.pay        |
| /withdraw \<amount> \[quantity] | Withdraw your item into an item.                           | pe.withdraw   |
| /paytoggle \[player]            | Toggle the ability to receive payments from other players. | pe.paytoggle  |

## Admin Commands

| Command                            | Description                   | Permission      |
| ---------------------------------- | ----------------------------- | --------------- |
| /peconomy reload                   | Reloads all the config files. | pe.admin.reload |
| /peconomy set \<player> \<amount>  | Set a player's balance.       | pe.admin.set    |
| /peconomy take \<player> \<amount> | Take money from a player.     | pe.admin.take   |
| /peconomy give \<player> \<amount> | Give money to a player.       | pe.admin.give   |
| /peconomy reset \<player>          | Reset a player's balance.     | pe.admin.reset  |

## Rest API Commands

| Command                                | Description               | Permission            |
| -------------------------------------- | ------------------------- | --------------------- |
| /peconomy apitokens                    | Shows the help menu.      | pe.apitokens          |
| /peconomy apitokens delete \[player]   | Delete your API token.    | pe.apitokens.delete   |
| /peconomy apitokens generate \[player] | Generate a new API token. | pe.apitokens.generate |

{% hint style="info" %}
**Permissions not working?**

The <> in some permissions are placeholders, you will need to replace them with a valid value like requested.
{% endhint %}

## Player Permissions

| Permission        | Description                        |
| ----------------- | ---------------------------------- |
| pe.balance.others | Displays another player's balance. |

## Admin Permissions

| Permission         | Description                                            |
| ------------------ | ------------------------------------------------------ |
| pe.admin.update    | When a player joins they receive update notifications. |
| pe.admin.apitokens | Remove/Generate other players' API tokens.             |
| pe.admin.paytoggle | Toggle payments for another player.                    |


---

# 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 dynamically by asking a question.

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

```
GET https://docs.olziedev.com/projects/playereconomy/commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
