> For the complete documentation index, see [llms.txt](https://buildsystem.eintosti.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://buildsystem.eintosti.de/other/luckperms-context.md).

# LuckPerms Context

## Contexts

<table><thead><tr><th width="167">Context Key</th><th width="397">Description</th><th>Values</th></tr></thead><tbody><tr><td><code>build-mode</code></td><td>Whether the player is in build-mode (<code>/build</code>)</td><td><code>true</code>, <code>false</code></td></tr><tr><td><code>role</code></td><td>The player's role in the current world</td><td><code>creator</code>, <code>builder</code>, <code>guest</code></td></tr></tbody></table>

## Example

> You want players who are guests in a world (neither *creator* nor *builder*) to remain in the gamemode they currently are in.

Now you can use the following context: `/lp user <user> permission set buildsystem.gamemode false buildsystem:role=guest`


---

# 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:

```
GET https://buildsystem.eintosti.de/other/luckperms-context.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.
