# ExcellentShop v5.0.1

ExcellentShop `v5.0.1` is a small update focused on fixing bugs from **v5.0.0**, while introducing the **Trusted System** for the Chest Shop module, extra placeholders for the shop GUI, and additional buttons for the Buy Menu.

---

### Trusted System

I finally added **Trusted Players** feature to the Chest Shop module. You can now add trusted users to your shops, allowing them to restock supplies, manage items, and adjust prices.

!!!
You may need to manually add the buttons for accessing the Trusted Players Menu in your `shop_settings.yml`. Check the configuration example below.
!!!

==- Buttons Config
```yaml
  # Actual button
  shop_trusted_players:
    Priority: 10
    Item:
      Material: minecraft:player_head
      Display_Name: <lorange><b>Trusted Players</b></lorange>
      Lore:
      - <gray>Trust your friends, so they</gray>
      - <gray>can restock and manage your shop!</gray>
      - ''
      - <lorange>→ <u>Click to open</u></lorange>
      SkinURL: 65e5223317a890a30351f6f78d0abf8dd76cbd08df6f918883934564d28e58e
      Hide_Components: true
    Slots: '34'
    Type: shop_trusted_players
  # Placeholder to display if player has no permission to manage trusted players.
  trusted_players:
    Priority: 1
    Item:
      Material: minecraft:red_stained_glass_pane
      Display_Name: <red><b>Trusted Players</b></red>
      Lore:
      - <gray>You don't have access to this menu.</gray>
      Hide_Components: true
    Slots: '34'
```
===

---

### Other Changes

+++ New :icon-phs-seal-check:

- Added placeholders `{max_units_to_buy}` and `{max_units_to_sell}` indicating max. possible amount you can buy/sell at the moment.
- Added buttons `reset` and `maximize` for Buying Menu.
- [!badge text="ChestShop" icon="phs-package"] Added UI to manage trusted players.

+++ Fixed :icon-phs-bug-beetle:

- Items in player inventory occasionally desync when using sell GUI.
- [!badge text="VirtualShop" icon="phs-shopping-cart"] Inventory space check for command items.
- [!badge text="VirtualShop" icon="phs-shopping-cart"] Product permissions are not saved in editor.
- [!badge text="ChestShop" icon="phs-package"] Shulker Box and Barrel shops are placed sideways.

+++
