Treasure Chests - File14/ProCosmetics GitHub Wiki

Treasure Chests

Initial Setup

  1. Find a space where you would like to place a treasurechest.
  2. Place a chest.
  3. Stand on the chest and face the direction you want the chest to face.
  4. Execute /procosmetics treasurechest add <layout>
    Example: /procosmetics treasurechest add default-treasurechest

Configuration

Changing text values

Text values such as the hologram name, menu title, and rarity names can be changed in the treasure-chests.yml file. This may have a version appended on the end.


Changing rarity descriptions / display names

These names and descriptions can be changed in the treasure-chests.yml file. Look for the displayname and lore` values


Adding custom treasure chest rewards

At the bottom of the rewards section for each treasure chest rarity, there is an example of a custom value. You can modify or copy this to make life easier.
The simplest way to create new custom rewards is to copy the section, changing the section name (in this example, coin-bag) to avoid conflicts.

To interact with other plugins in these rewards, you can set the commands. You can also modify any other values freely.


⚠️ **GitHub.com Fallback** ⚠️