Crate Configuration
This is where you can find the detailed documentation on how to setup the lootboxes.
Configuration Guide
Crate Options:
- text:
string
- image?:
string
- This is the image you need to upload to imgur or discord then copy the link.
- border?:
string
- hoverColor?:
string
- item?:
string
- requirements:
table
- tier:
string
- item:
string
- itemLabel:
string
- amount:
integer
- tier:
string
- For requirements this should always be set to requirement.
- Acceptable tiers:
requirement
.
- tier:
- rewards:
table
- tier:
string
- This will determine the odds of receiving the item.
- Acceptable tiers:
legendary, rare, common, uncommon
.
- item:
string
- amount:
integer
- itemLabel:
string
- tier:
Adding Crates:
config.lua
Adding Images:
Locate folder: trase_lootboxes/web/build/images
- Find any .png image for the file you want.
- You need to rename the file to the item name (for e.g. AP Pistol is WEAPON_APPISTOL.png)
- Restart the server