> For the complete documentation index, see [llms.txt](https://wiki.dyroxplays.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dyroxplays.de/caseopening/commands/registercaseblock.md).

# registercaseblock

Befehle zum Einrichten des Case-Opening-Systems.

***

## `/registercaseblock`

Aktiviert den Registrierungs-Modus für Case-Blöcke.

**Permission:** `caseopening.registercaseblock`

### Verwendung:

{% stepper %}
{% step %}

### Befehl ausführen

```bash
/registercaseblock
```

{% endstep %}

{% step %}

### Block anklicken

* Linksklick auf einen beliebigen Block
  {% endstep %}

{% step %}

### Fertig!

* Der Block ist jetzt eine Case-Opening-Station
* Spieler können darauf klicken um das Case-GUI zu öffnen
  {% endstep %}
  {% endstepper %}

### Abbrechen:

* **Rechtsklick** (ohne Block) bricht den Modus ab

### Beispiel:

```bash
# 1. Befehl ausführen
/registercaseblock

# 2. Klicke auf einen Ender Chest Block
# 3. Wähle "Starter Case" aus dem GUI
# ✓ Ender Chest ist jetzt eine Starter-Case-Station
```

***

## `/unregistercaseblock`

Aktiviert den Entfernungs-Modus für registrierte Case-Blöcke.

**Permission:** `caseopening.unregistercaseblock`

### Verwendung:

{% stepper %}
{% step %}

### Befehl ausführen

```bash
/unregistercaseblock
```

{% endstep %}

{% step %}

### Registrierten Block anklicken

* Linksklick auf einen Case-Block
  {% endstep %}

{% step %}

### Fertig!

* Der Block ist nicht mehr registriert
* Normale Block-Funktion wiederhergestellt
  {% endstep %}
  {% endstepper %}

### Abbrechen:

* **Rechtsklick** (ohne Block) bricht den Modus ab

***

## Tipps für Case-Blöcke

### Empfohlene Block-Typen:

✅ Gut geeignet:

* `ENDER_CHEST` - Sieht nach Schatztruhe aus
* `CHEST` - Klassisch
* `BARREL` - Modern
* `BEACON` - Auffällig für wichtige Cases
* `ENCHANTING_TABLE` - Magisch
* `GLOWSTONE` - Leuchtend

❌ Nicht empfohlen:

* Blöcke die Spieler oft platzieren (COBBLESTONE, DIRT)
* Blöcke mit eigener Funktion (CRAFTING\_TABLE, FURNACE)
* Transparente Blöcke (GLASS)

***

## Fehlerbehebung

<details>

<summary>Block funktioniert nicht</summary>

**Prüfe:**

1. ✅ Block korrekt registriert? Prüfe `locs.yml`
2. ✅ Case existiert noch? `/case info`
3. ✅ Region erlaubt Interaktion?
4. ✅ Kein anderes Plugin blockiert den Rechtsklick?

</details>

<details>

<summary>Block nach Restart verschwunden</summary>

**Ursache:** Block wurde zerstört oder World neu generiert.

**Lösung:**

```bash
/unregistercaseblock
→ Klicke auf den alten/neuen Block

/registercaseblock
→ Registriere neu
```

Oder manuell in `locs.yml` bearbeiten.

</details>

<details>

<summary>Koordinaten herausfinden</summary>

**Ingame:**

```bash
# Aktiviere Debug-Screen
F3 (Java) oder Einstellungen (Bedrock)

# Oder nutze Command
/minecraft:tp ~ ~ ~ 
```

Zeigt deine aktuellen Koordinaten.

</details>

***

## Best Practices

* 💡 Zentral platzieren: Case-Blöcke am Spawn für maximale Sichtbarkeit
* 💡 Dekoration: Umgib Case-Blöcke mit passender Deko (Partikel-Plugins, Rüstungsständer)
* 💡 Kennzeichnung: Nutze Schilder oder Holograms zur Beschriftung
* 💡 Schutz: Schütze Case-Bereiche mit WorldGuard/PlotSquared
* 💡 Backup: Notiere Koordinaten oder exportiere `locs.yml` für Backups
* 💡 Testing: Teste mit verschiedenen Permissions ob alle Spieler Zugriff haben


---

# 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://wiki.dyroxplays.de/caseopening/commands/registercaseblock.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.
