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#
- Look at the block (within 6 blocks) and run
/mv bind example_crate. - The block now shows a hologram, a spinning reward and idle particles. Each player sees their own key count on it.
- Right-click the block to open the crate screen. Right-click with the crate's key to open it at once (see Keys).
- Run
/mv unbindwhile looking at the block to remove the binding. Breaking a bound block by a player withmcvaults.admin.bindalso 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 listlists every crate with its reward count and animation.