#
Openings
ExcellentCrates features 2 types of crate openings: Virtual and Physical ones!
Every opening can produce one, multiple or zero rewards depends on its settings/code.
#
Virtual Openings
Virtual openings are simply animated GUIs that are visible only to a player that opened a crate.
Their settings located in the /plugins/ExcellentCrates/openings/inventory/ directory.
You can create your own virtual openings, as well as edit or remove existing ones.
Unfortunately, there is currently no guide explaining their configuration structure, but you can try to figure it out yourself!
#
Physical Openings
Physical openings plays effects and animations above or near the crate block and are visible for all players.
Their settings located in the /plugins/ExcellentCrates/openings/world/ directory.
You can create your own physical openings only through the API. You can't remove them by deleting their files.
Currently, by default there is only one physical opening available called simple_roll
.
#
Skip Animation
There are 2 ways to skip crate opening animation for players.
#
Mass Open
Players can use the Mass Open feature to skip crate opening animations.
#
Virtual Openings
For virtual openings, there is Max_Ticks_To_Skip
setting. It's individual per each opening.
The higher the value, the more time a player have to skip the animation to by closing opening GUI.
Set it to -1
to disallow animation skip.
#
Linking Opening
You can link opening animation to a crate using the editor.
- Open the editor.
- Click the Crates button.
- Click the desired crate.
- Right click the Animation button if it says that Animation is disabled.
- Left click the Animation button.
- Select a desired opening animation from a list in chat.
#
Disabling Opening
You can disable an opening animation completely for a certain crate using the editor.
- Open the editor.
- Click the Crates button.
- Click the desired crate.
- Right click the Animation button so it says that Animation is disabled.