> For the complete documentation index, see [llms.txt](https://reasonfounddecoy.gitbook.io/mctantrum-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reasonfounddecoy.gitbook.io/mctantrum-wiki/slimefun/addons/sensibletoolbox/access-control.md).

# Access Control

## Access Control

* Permission-based: each type of item has one permission node, and each type of block has four permission nodes which define the actions that players may take with them.
* Block-based: STB defines access levels for individual STB blocks - Public & Private. This controls who may open the block's GUI (if it has one), and who may interact with the block's inventory (via item routers).
* Inventory-based: STB will use other plugins (currently only LWC, but maybe others in future) to protect vanilla inventories from access by STB items and blocks such as the Advanced Recipe Book and the [Item Routers](/mctantrum-wiki/slimefun/addons/sensibletoolbox/items/routing.md).

## Permission-Based Access

This is described in more detail [here](/mctantrum-wiki/slimefun/addons/sensibletoolbox/permissions.md).

## Block-Based Access

Most STB blocks have a GUI button (usually in the top-right corner) allowing the block's owner (and only the block's owner) to toggle the block's current access level. There are currently two access levels:

* Public - anyone can interact with the block
* Private - only the block's owner can interact with the block

"Interact" means to open a block's GUI by right-clicking it, and to insert/extract items from that GUI.

This also applies to [Item Routers](/mctantrum-wiki/slimefun/addons/sensibletoolbox/items/routing.md): if a block is marked as private, then an Item Router will only be able to insert/extract items if it is owned by the same player.

One exception: players with the **stb.access.any** permission node are not subject to access checks. It is recommended that only server admins are given this node (it is only available to server ops by default). This node does not apply to Item Router access, only to players who directly interact with STB blocks.

## LWC Support

[LWC](https://dev.bukkit.org/projects/lwc) is a powerful block protection plugin, which Sensible Toolbox (v0.0.2+) will integrate with, if installed:

[Item Routers](/mctantrum-wiki/slimefun/addons/sensibletoolbox/items/routing.md) will only interact with vanilla inventories for which the Item Router's owner actually has LWC access rights The Advanced Recipe Book will only pull ingredients from vanilla inventories for which the player actually has LWC access rights You will require a version of LWC with UUID support; at the time of writing (Jul 2014), this means a development build from here.

{% hint style="info" %}
MCTantrum does not use LWC, however the same rule applies for access rights inside a claim.
{% endhint %}


---

# 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://reasonfounddecoy.gitbook.io/mctantrum-wiki/slimefun/addons/sensibletoolbox/access-control.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.
