> For the complete documentation index, see [llms.txt](https://docs.xandtech.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xandtech.fr/home/xtimerewards/reference/permissions.md).

# Permissions

| Node                             | Default | Controls                                                                                                                                                                                               |
| -------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `xtimerewards.use`               | `true`  | Viewing your own playtime/milestones, claiming rewards, `/xtimerewards streak`, `/daily`... any player-facing action.                                                                                  |
| `xtimerewards.top`               | `true`  | Viewing `/xtimerewards top` and `/xtimerewards streaktop`.                                                                                                                                             |
| `xtimerewards.admin`             | `op`    | Access to every `/xtimerewards admin ...` subcommand and the admin GUI (see [Commands](/home/xtimerewards/reference/commands.md)). Also gates the shared-IP alert and the update-checker notification. |
| `xtimerewards.afkmode`           | `true`  | Using `/afk` (voluntary reward-earning AFK mode).                                                                                                                                                      |
| `xtimerewards.afkmode.bypasscap` | `false` | Exempts a player from `afk-mode.daily-cap-seconds` entirely.                                                                                                                                           |
| `xtimerewards.streak`            | `true`  | Using `/daily` (the daily login-streak menu).                                                                                                                                                          |

## Per-milestone scoping

Any individual milestone in `milestones.yml` (or streak tier in `streaks.yml`) can require its own extra permission via `required-permission`, on top of the base `xtimerewards.use` — this is how you scope a specific reward tier to a rank without a separate permission plugin config:

```yaml
- id: weekly_vip_bonus
  required-permission: xtimerewards.milestone.vipbonus
  ...
```

A milestone with no `required-permission` set is open to everyone who already passes `xtimerewards.use`.

## Common gotchas

* **`xtimerewards.admin` is a single node covering everything admin-side** — there's no finer-grained split (e.g. a separate node just for `/xtimerewards admin export`). Give it only to trusted staff.
* **`required-permission` on a milestone/streak tier is a plain permission node you create and grant yourself** — it isn't auto-registered in `plugin.yml`, so most permission plugins will need it explicitly granted (or matched by a wildcard like `xtimerewards.milestone.*`) rather than relying on a plugin-declared default.
* **`xtimerewards.afkmode.bypasscap` only matters if `afk-mode.daily-cap-seconds` is non-zero** — with the cap disabled (the default, `0`), this permission has no effect either way.


---

# 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.xandtech.fr/home/xtimerewards/reference/permissions.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.
