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

# Claiming Land

##

{% embed url="<https://youtu.be/bw8NTmsBClI>" %}

## How to Claim Land

Follow these steps to protect your builds and create a Residence claim in **TwilightRealms**.

### 1. Find an Area to Protect

Choose a spot in the **Overworld** to claim.

* Use `/wild` to explore open land.
* Alternatively, enter the **main portal at spawn** to find available areas.

<figure><img src="/files/24sGxXk0BoXWduF4RP0t" alt="" width="540"><figcaption></figcaption></figure>

### 2. Get the Selection Tool

The **Residence selection tool** is a **wooden hoe** by default.\
Hold it in your main hand to begin selecting your protected area.

### 3. Select the First Corner

1. Hold the wooden hoe in your main hand.
2. **Left-click** a block at one corner of the area you want to protect.
3. A confirmation message will appear.

### 4. Select the Opposite Corner

1. Walk to the opposite corner of the area.
2. **Right-click** a block to complete the selection.
3. You will receive a confirmation message.

* The selected area **automatically protects everything from bedrock to the build limit**.
* A **red and green particle outline** will display, showing the protected region.

<figure><img src="/files/0nfPJr2pqRJF1anMWFms" alt="" width="540"><figcaption></figcaption></figure>

### 5. Create the Claim

Once your area is selected, create the residence using the command:

`/res create <resname>`

**Example:**

`/res create Factory`

* You will receive a **confirmation message**.
* The protected area will be highlighted again.

### 6. Manage Claim Flags

Inside your new claim, you can manage **permissions and flags** using:

`/res set`

This opens options for restricting or allowing specific actions within the residence.

####

<figure><img src="/files/0K0Std2eMOgkYMCcMTUO" alt="" width="540"><figcaption></figcaption></figure>

#### Set Player-Specific Flags

Customize permissions for an individual player:

`/res pset <player> [flag] [true/false/remove]`

* Allows you to grant, deny, or remove specific permissions for that player within your claim.

### 7. Add or Remove Friends

#### Add a Player

Give a player access to your claim:

`/res padd <player>`

* Grants **basic permissions**: building, opening doors, ECT.

#### Remove a Player

Remove a player from your claim:

`/res pdel <player>`

* Revokes their access and permissions.

### Expanding Your Claim

Players can expand their existing claim to cover more area without creating a new one.

To expand your claim:

* Look in the direction you want to expand
* Use the command: `/res expand <amount>`

This will increase the size of your current claim in that direction, extending its protection based on the amount specified.&#x20;

**Note:**\
Expanding a claim does not increase your total claim block limit. It only redistributes the blocks you already have available, so you must have enough remaining claim blocks to expand.

### Extra Commands&#x20;

#### View All Flags

See a list of all available flags:

`/res flags`

* Displays every flag you can modify in your claim.

#### Check Flag Status

Check how a flag applies to a player:

`/res check [land name] [flag] <player>`

* Shows whether a player has permission for that specific action.

***

## Important Notes

### Land Claims

All players receive one claim of protected land to start. Players can earn or buy an extra claim from the [server store](https://twilightrealms.tebex.io/package/7242530).

#### Default Claim Sizes

| Player Type      | Claim Size                    |
| ---------------- | ----------------------------- |
| Default Players  | 64 × 64 blocks (16 Chunks)    |
| Prime and Prime+ | 128 × 128 blocks (64 Chunks)  |
| UlltraPrime      | 256 x 256 blocks (256 Chunks) |

<figure><img src="/files/hWMHZV7VNl4geXK5QCWd" alt="" width="375"><figcaption></figcaption></figure>

### Claim World Restrictions

⚠️ **Important:** Land claims can **only be created in the Overworld**.

The **Nether** and **End** are **unprotected worlds**. This means:

* Land **cannot be claimed** in these worlds.
* **All builds, chests, and items can be stolen** by other players.

Players should **avoid storing valuable items or building important structures** in the Nether or End.


---

# 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://twilightrealms.gitbook.io/twilightrealms/claiming-land.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.
