[❢] 支持的版本: 1.21.6, 1.21.7, 1.21.8
[❢] 要求: Java 21, Vault
*旧版本不支持,并且将来也不会支持*

## ✨ 关于插件
**MrSellChests** 是一个现代化的 Minecraft 插件,允许玩家轻松地 **直接在游戏中出售箱子的内容**。
## ✨ 功能
- **区块收集**
- 保持/移除/转移不可出售的物品
- **全息显示**
- **统计**
- 每个出售箱子都有自己的设置
- 支持 **1.21.4** 和 **Hex 颜色**
- **加速系统**
- *我将来会添加更多*
## ✨ 指令
### 管理员指令
- `/msc` – 用于帮助
- `/msc reload` – 重新加载配置文件/消息文件
- `/msc give <玩家> <箱子类型> <数量>` – 给指定的玩家给予指定数量的箱子
- `/msc boost <玩家> <加速> <时间>` – 给玩家指定加速,持续设定的时间
- `/msc boost give <玩家> <加速> <数量>` – 给玩家一个 **加速凭证**
## ✨ 权限
### 功能权限
- `mrsellchests.destroy.others` – 允许摧毁其他玩家的出售箱子
- `mrsellchests.open.others` – 允许打开其他玩家的出售箱子
- `mrsellchests.place.<类型>` – 允许放置特定类型的出售箱子
- `mrsellchests.limit.<数量>` – 允许放置最多定义的出售箱子数量
### 指令权限
- `mrsellchests.reload` – 使用 `/msc reload` 的权限
- `mrsellchests.give` – 使用 `/msc give` 的权限
- `mrsellchests.boost` – 使用 `/msc boost` 的权限
## ✨ 配置文件
### 文件: `config.yml`
**出售箱子配置:**
- 箱子大小
- 箱子加速
- 自定义 Lore/名称/全息显示
- 自定义物品
#### 出售箱子示例
```yaml
# SellChests Configuration
SellChests:
Basic:
Chest:
Type: "TIME" # TIME
Interval: 10 # 出售间隔,单位秒
Booster: 1.0 # 出售加速
Size: 9 # GUI 尺寸
MaxLinks: 1 # 最大链接的普通箱子数量
Material: "YELLOW_SHULKER_BOX" # 可放置材料
Item:
Name: "{#D8F454>}✹ Basic Sell Chest ✹{#A9B654<}"
Lore:
- "&7"
- "{#D8F454}Informations:"
- "&7This chest sells items in its inventory"
- "&7at the set interval!"
- "&7"
- "{#D8F454}Statistics:"
- "&7Sell Interval: {#D8F454}10s"
- "&7Booster: {#D8F454}1.0x"
- "&7Size: {#D8F454}9"
Hologram:
- "{#D8F454>}&l✹ MrSellChests ✹{#A9B654<}"
- "&7ʙᴀꜱɪᴄ"
- "&7"
- "{#D8F454}&l❘ &fChest Owner: {#A9B654}[PlayerName]"
- "{#D8F454}&l❘ &fChest Boost: {#A9B654}[Booster]x"
- "{#D8F454}&l❘ &fItems Sold: {#A9B654}[ItemsSold]"
- "{#D8F454}&l❘ &fDeleted Items: {#A9B654}[DeletedItems]"
- "{#D8F454}&l❘ &fMoney Earned: {#A9B654}[MoneyEarned]"
- "{#D8F454}&l❘ &fNext Sell in {#A9B654}[Interval] seconds"
- "&7"
- "{#D8F454}Right-Click &8| &fTo open settings of this chest!"
```
### 文件: `YOURSHOP.yml`
**商店中物品配置:**
- 数量
- 出售价格
- 购买价格
```yaml
#### MrUltimateShop Configuration
Shop:
Name: "{#FF58DF>}&lSHOP{#FF58C4<} &8| &fSell-Chests &8(&a[CurrentPage]&8/&c[TotalPages])"
Size: 54 # 6 行
Decorations:
'1':
Material: BLACK_STAINED_GLASS_PANE
Name: " "
Slots: "1,2,3,4,5,6,7,9,17,18,26,27,35,36,44,46,47,48,49,50,51,52"
Glowing: false
'2':
Material: IRON_BARS
Name: " "
Slots: "0,8,45,53"
Glowing: false
Items:
'10':
Material: MrSellChests:Basic
type: VANILLA
command: "give [PlayerName] Stone [Count]"
EconomyType: "VAULT"
EnableCustomItemLore: true
quantity: 1
slot: 10
page: 1
Buy:
Enable: true
Price: 10000.0
Sell:
Enable: false
Price: 0.5
```
## ✨ 插件预览
您可以在画廊中找到预览图片。