> For the complete documentation index, see [llms.txt](https://onic-studio.gitbook.io/solarplugins-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onic-studio.gitbook.io/solarplugins-docs/plugins/solarworth/lenh.md).

# Lệnh

Các lệnh dưới được chia theo nhóm quyền.

### Lệnh người chơi

| Lệnh         | Quyền            | Mô tả                                                                                                                           |
| ------------ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| /sell        | solarworth.sell  | Mở GUI bán vật phẩm. Kéo thả vật phẩm vào để xem giá và xác nhận bán.                                                           |
| /sell hand   | solarworth.sell  | Bán ngay vật phẩm đang cầm trên tay. Không mở GUI.                                                                              |
| /sell all    | solarworth.sell  | Bán toàn bộ vật phẩm có giá trong inventory, bao gồm nội dung bên trong ShulkerBox.                                             |
| /worth       | solarworth.worth | Mở GUI danh mục giá trị — xem giá của tất cả vật phẩm theo category.                                                            |
| /toggleworth | Mặc định có      | Bật / tắt hiển thị giá trị (lore) trên tooltip vật phẩm trong inventory của bạn. Yêu cầu bật `toggle_worth: true` trong config. |
| /sellmulti   | solarworth.sell  | Mở GUI Sell Multiplier — xem tiến trình multiplier theo từng category. Không khả dụng khi `disable_multipliers: true`.          |
| /sellhistory | Không cần quyền  | Mở GUI lịch sử giao dịch cá nhân — hiển thị các lần bán gần nhất.                                                               |

### Lệnh admin

| Lệnh                                          | Quyền            | Mô tả                                                                                                                                 |
| --------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| /solarworth reload                            | solarworth.admin | Tải lại toàn bộ config, giá vật phẩm, enchant, category mà không cần restart server.                                                  |
| /setworth \<giá>                              | solarworth.admin | Set giá cho vật phẩm đang cầm trên tay. Hỗ trợ item thường, sách phù phép (theo enchant + level), potion (theo loại).                 |
| /setworth remove                              | solarworth.admin | Xóa giá của vật phẩm đang cầm. Tương đương `/setworth 0`.                                                                             |
| /selltool give \<loại> \<player> \[time/uses] | solarworth.admin | Give Sell AxAxe/Sell Stick cho player. Thời gian: `1h30m`, `7d`, v.v. Số lần: `50`. Nếu bỏ trống, dùng giá trị mặc định trong config. |

### Ví dụ sử dụng

```
# Set giá Sharpness V book = 500
# Cầm sách rồi gõ:
/setworth 500

# Give Sell Tool (Axe) 2 ngày cho OmhVN
/selltool give OmhVN axe 2d

# Give Sell Tool (Stick) 100 lần dùng cho OmhVN
/selltool give OmhVN stick 100

# Reload config sau khi chỉnh sửa
/solarworth reload
```
