This is a long awaited update with some optimisation changes + a new feature
Additions - Added the ability to set a crate to virtual, meaning a physical key is not required (crate-type: VIRTUAL in crate config)
- Added %reward% and %player% placeholders in crate actions.
- Added PlaceholderAPI Placeholder %eternalcrates_keys_<type>% (Example: %eternalcrates_keys_vote%), Will return the amount of virtual keys that player owns.
- Added /crates keys to let a user see how many virtual crate keys they have (eternalcrates.key)
Fixes - Fixed /crates giveall not giving the right amount
- Fixed /crates giveall not having tab complete
- Fixed /crates giveall having bad optimisation on larger playerbases
- Fixed preview & claim gui not displaying colour in title
- Fixed crate locations stacking
API Changes - Added Crate#finish(Player, List<Reward>), This finishes the crate animation and gives the player rewards with pre defined rewards
- Added Crate#finish(Player), This finishes the crate animation and selects rewards when it finishes.
- Added Animation#setCanBeVirtual(Boolean), This stops the animation from working for Virtual Crates.