> For the complete documentation index, see [llms.txt](https://francobm.gitbook.io/magiccrates/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://francobm.gitbook.io/magiccrates/commands.md).

# Commands

Here you will find the commands contained in the plugin.

the format is as follows:\
`command - permission | description.`

`/magiccrates editor - magiccrates.admin | It will open the editor where you can create, edit and remove all the crates on your server.`

`/magiccrates play <crateId> - magiccrates.admin | This will show you the cinematics of a crate without using a key, use it as a test.`

`/magiccrates preview <crateId> - magiccrates.preview.crate | will show you the contents of a crate by means of its inventory preview.`

`/magiccrates preview <crateId> <player> - magiccrates.admin | It will show the contents in a crate preview inventory to a specific player.`

`/magiccrates open <crateId> - magiccrates.open.crate | Unlocks a crate if you have a key in your inventory regardless of whether you have the physical crate option enabled or disabled.`

`/magiccrates open <crateId> <player> - magiccrates.admin | Unlocks a crate to a specific player if he has a key in his inventory regardless of whether he has the physical crate option enabled or disabled.`

`/magiccrates reload - magiccrates.admin | This will reload all plugin settings.`

`/magiccrates key give <crateId> <player|*> <quantity> - magiccrates.admin | will give a key of the crate of your choice to a specific player or to all players(*)`

`/magiccrates key take <crateId> <player|*> <quantity> - magiccrates.admin | will remove the number of keys you specified from the crate you choose for a specific player or for all players(*).`\
Note: This will attempt to remove the player's key if he has it in his inventory.
