> For the complete documentation index, see [llms.txt](https://opuszek.gitbook.io/itemblocker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://opuszek.gitbook.io/itemblocker/getting-started/quick-start.md).

# Quick start

{% hint style="warning" %}
Operators bypass every restriction by default. Test your rules with a player who is not an operator, or set both `bypass.enabled: false` and `bypass.per-action: false` in [config.yml](/itemblocker/reference/config.md) and run `/ib reload`.
{% endhint %}

## Block your first item

```
/ib block tnt actions:place
```

TNT can no longer be placed. Players see `[ItemBlocker] You cannot place TNT.` Without `actions:`, every action is blocked.

```
/ib block elytra actions:armor worlds:world_the_end
```

Elytras cannot be worn, but only in the End.

## Check and undo

```
/ib show tnt
/ib list items
/ib unblock tnt
```

## Use the menu

```
/ib gui
```

Open a preset, then **Items**, and click an item in your own inventory to set its rules. See [The menu](/itemblocker/features/menu.md).

## Start from a template

```
/ib template survival
```

Creates a `survival` preset that keeps creative-only items such as bedrock, barriers and command blocks out of survival. See [Preset templates](/itemblocker/features/templates.md).

## Some more examples

```
/ib block mace actions:obtain                         # keep your mace, but get no new ones
/ib limit ender_pearl stack:4 inventory:16            # at most 16 pearls, 4 per stack
/ib block enchantment sharpness level:5 mode:downgrade  # Sharpness V becomes IV
/ib block potion strength level:2                     # no Strength II
/ib group add *_sword actions:use in:pvp              # no swords in the pvp preset...
/ib allow add wooden_sword in:pvp                     # ...except wooden ones
/ib filter add excalibur hand actions:use,drop        # block the exact sword you hold
```

## Where to go next

* [Presets](/itemblocker/rules/presets.md) explains how rules are grouped and where they apply.
* [Actions](/itemblocker/rules/actions.md) lists everything that can be blocked.
* [Commands](/itemblocker/reference/commands.md) has every command and option.


---

# 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://opuszek.gitbook.io/itemblocker/getting-started/quick-start.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.
