# Tier Management

## Admin GUI Controls

| Action      | ผลลัพธ์                          |
| ----------- | -------------------------------- |
| คลิกซ้าย    | แก้ไข (ราคา, radius) ผ่าน Dialog |
| กด Q (Drop) | เปิด/ปิดใช้งาน tier              |
| Shift+คลิก  | เปิด/ปิดแสดงในร้านค้า            |
| คลิกขวา     | ลบ tier (มี Dialog ยืนยัน)       |

## สร้าง Tier ใหม่

1. กดปุ่ม "สร้าง Tier ใหม่"
2. เลือกบล็อกแร่จาก GUI (21 ชนิด)
3. กรอกข้อมูลใน Dialog: ชื่อ, radius, ราคา
4. กด "สร้าง"

## เปิด/ปิดใช้งาน

* **เปิด** → ผู้เล่นวางบล็อกได้ + แสดงใน admin เป็นบล็อกปกติ
* **ปิด** → ผู้เล่นวางไม่ได้ + แสดงเป็น glass pane สีเทา

## เปิด/ปิดร้านค้า

* **แสดง** → ปรากฏใน `/ps shop`
* **ซ่อน** → ไม่ปรากฏใน shop แต่ยังวางได้ (ถ้า enabled)

{% hint style="info" %}
ใช้ร่วมกัน: ปิด shop แต่เปิด enabled = ให้เฉพาะ admin give ได้ ผู้เล่นซื้อเองไม่ได้
{% endhint %}

## ลบ Tier

1. คลิกขวาที่ tier
2. Dialog ยืนยันจะปรากฏ
3. กด "ลบ" เพื่อยืนยัน หรือ "ยกเลิก"

{% hint style="danger" %}
การลบ tier ไม่สามารถย้อนกลับได้ แต่ region ที่สร้างไว้แล้วจะยังใช้งานได้
{% endhint %}

## Give Command

```
/ps give <player> <tier>
```

ตัวอย่าง:

```
/ps give Steve 10x10
/ps give .BedrockPlayer 50x50
```


---

# 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/admin/tier-management.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.
