# 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.

# 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.

# 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.

  1. Open the editor.
  2. Click the Crates button.
  3. Click the desired crate.
  4. Right click the Animation button if it says that Animation is disabled.
  5. Left click the Animation button.
  6. 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.

  1. Open the editor.
  2. Click the Crates button.
  3. Click the desired crate.
  4. Right click the Animation button so it says that Animation is disabled.