> 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/solarcrate/cau-hinh.md).

# Cấu hình

Tất cả file config đặt trong `plugins/SolarWorth/`. Dùng `/solarworth reload` để áp dụng thay đổi mà không restart.

| File                   | Mô tả                                                                                                     |
| ---------------------- | --------------------------------------------------------------------------------------------------------- |
| config.yml             | Cấu hình chính: toggle\_worth, disable\_multipliers, blacklisted-worlds, database                         |
| messages.yml           | Toàn bộ tin nhắn gửi cho người chơi (hỗ trợ color code &)                                                 |
| sounds.yml             | Cấu hình âm thanh khi bán thành công (sound, volume, pitch)                                               |
| sellaxe.yml            | Cấu hình Sell Axe và Sell Stick: material, mode, duration, uses, lore, enchants, radius, container-filter |
| worth/prices.yml       | Giá từng vật phẩm. Key: `MATERIAL_NAME`, `ENCHANTED_BOOK_ENCHANT_LEVEL`, hoặc `POTION_TYPE`               |
| sell/\*.yml            | File category: danh sách vật phẩm, slot GUI, tiến trình multiplier                                        |
| gui/sell.yml           | Tùy chỉnh GUI bán vật phẩm                                                                                |
| gui/worth.yml          | Tùy chỉnh GUI danh mục giá trị                                                                            |
| gui/history.yml        | Tùy chỉnh GUI lịch sử giao dịch                                                                           |
| gui/sellmultiplier.yml | Tùy chỉnh GUI multiplier                                                                                  |

### Định dạng prices.yml

<figure><img src="/files/wa0esMWQOTRyENrleKyv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3ZAELJpr58TcCgPzmIaC" alt=""><figcaption></figcaption></figure>

## World Blacklist

Có thể vô hiệu hóa lệnh bán trong các world nhất định. Cấu hình trong `config.yml`:

```
blacklisted-worlds:
  - world_nether
  - world_the_end
  - creative_world
```

Khi người chơi dùng `/sell`, `/sell all`, hoặc `/sellmulti` trong world bị blacklist, họ sẽ nhận thông báo `world_blacklist` từ `messages.yml`.

**Lưu ý:** Sell Axe và Sell Stick cũng kiểm tra world blacklist khi người chơi tương tác với container.
