Using it

Crates and crate blocks

A crate is one YAML file in crates/. mcVaults ships 16 ready-made crates, each using a different animation, so you can try them before building your own. A crate becomes a physical crate in the world by binding it to a block.

Bind a block#

  1. Look at the block (within 6 blocks) and run /mv bind example_crate.
  2. The block now shows a hologram, a spinning reward and idle particles. Each player sees their own key count on it.
  3. Right-click the block to open the crate screen. Right-click with the crate's key to open it at once (see Keys).
  4. Run /mv unbind while looking at the block to remove the binding. Breaking a bound block by a player with mcvaults.admin.bind also unbinds it.

One block holds one crate. Binding a block that is already bound is refused. If a block cannot be bound, check that you are looking at it from within 6 blocks.

Create and delete crates#

  • /mv create <id> creates an empty crate and opens the admin panel.
  • /mv delete <id> deletes the crate file.
  • /mv list lists every crate with its reward count and animation.