# Protection Stone

## วิธีการทำงาน

Protection Stone คือบล็อกแร่พิเศษที่เมื่อวางลง จะสร้างพื้นที่ป้องกันรอบๆ อัตโนมัติ

### การสร้างพื้นที่

1. ได้รับบล็อก PS (จาก shop, admin give, หรือ first-join)
2. วางบล็อกลงบนพื้น
3. ระบบสร้าง WorldGuard region อัตโนมัติ
4. พื้นที่ป้องกันจาก bedrock (-64) ถึง build limit (320)

### การลบพื้นที่

* **ทุบบล็อก PS** → ลบ region + คืนบล็อก PS กลับ inventory
* **ผ่าน GUI** → Settings → ลบ
* **คำสั่ง** → `/ps delete` (ต้องยืนในพื้นที่)

## Tiers

| Tier    | Material        | ขนาด           | ราคา Default |
| ------- | --------------- | -------------- | ------------ |
| 10x10   | Iron Ore        | 10x10 blocks   | $15,000      |
| 30x30   | Diamond Ore     | 30x30 blocks   | $200,000     |
| 50x50   | Emerald Ore     | 50x50 blocks   | $500,000     |
| 80x80   | Redstone Ore    | 80x80 blocks   | $1,200,000   |
| 100x100 | Netherite Block | 100x100 blocks | $3,500,000   |

{% hint style="warning" %}
Material ของแต่ละ tier ต้องไม่ซ้ำกัน
{% endhint %}

## ซ่อน/แสดงบล็อก

* เปิด Settings GUI → กดปุ่ม Hide
* บล็อก PS จะหายไป (เป็น AIR)
* กดอีกครั้ง → บล็อกกลับมาตำแหน่งเดิม
* แม้ซ่อนอยู่ ยังคลิกขวาตำแหน่งเดิมเพื่อเปิด GUI ได้

## ข้อจำกัด

* ไม่สามารถวางซ้อนทับกับพื้นที่อื่นได้
* Tier ที่ถูกปิดใช้งาน (disabled) วางไม่ได้
* Piston ไม่สามารถดันบล็อกเข้า/ออกพื้นที่ได้


---

# Agent Instructions: 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://docs.niendsitekungz.com/usage/protection-stone.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.
