Commands and Permissions

This page lists every EcoCrates command and permission, so you can hand out keys, place crates, and control who can open what. All commands run under /ecocrates, /crates, /crate, /key, or /keys.

Commands

CommandDescriptionPermission
/ecocratesBase commandecocrates.command.ecocrates
/ecocrates reloadReloads the pluginecocrates.command.reload
/ecocrates set <crate>Set the block you're looking at to be a crateecocrates.command.set
/ecocrates give <player> key <key> [physical\|virtual] [amount]Gives a player keys (virtual by default)ecocrates.command.give
/ecocrates give <player> envoy <envoy> <flare\|compass> [amount]Gives a player an envoy's flare or compassecocrates.command.give
/ecocrates give <player> pouch <pouch> [amount]Gives a player pouchesecocrates.command.give
/ecocrates giveall <key\|envoy\|pouch> <id> [variant] [amount]Same as give, for all online playersecocrates.command.giveall
/ecocrates giveoffline <key\|envoy\|pouch> <id> [variant] [amount]Same as give, for all online and offline playersecocrates.command.giveoffline
/ecocrates take <player> <key\|envoy\|pouch> <id> [variant] [amount]Takes keys or items from an online playerecocrates.command.take
/ecocrates keysView your keysecocrates.command.keys
/ecocrates preview <crate\|pouch> <id>Opens the preview for a crate or pouchecocrates.command.preview
/ecocrates open <crate> [player]Opens a crate using virtual keysecocrates.command.open
/ecocrates open <crate> <player>Opens a crate for another playerecocrates.command.open.others
/ecocrates forceopen <crate>Force-opens a crate without a keyecocrates.command.forceopen
/ecocrates forceopen <crate> <player>Force-opens a crate for another playerecocrates.command.forceopen.others
/ecocrates resetwins <player/all>Resets tracked reward winsecocrates.command.resetwins
/ecocrates convert <converter>Converts data from a supported crate pluginecocrates.command.convert
/ecocrates envoy set <envoy> <current\|x> [y] [z]Marks a spawn point for a points-mode envoyecocrates.command.envoy.set
/ecocrates envoy unset <envoy> <point#>Removes a spawn pointecocrates.command.envoy.set
/ecocrates envoy locateLists remaining envoy crates, click to teleportecocrates.command.envoy.locate
/ecocrates envoy start <envoy>Manually starts an envoyecocrates.command.envoy.start
/ecocrates envoy endEnds the active envoyecocrates.command.envoy.end

For give, giveall, giveoffline and take, the word after the player (or first, for giveall/giveoffline) is the type: key, envoy or pouch. The ID after it is read from that type's folder. Keys use the key ID from /keys/, not the crate ID. With giveoffline, physical items for offline players are handed over the next time they join; give needs the player online for physical items. Amounts must be whole numbers above 0.

Additional permissions

PermissionDescription
ecocrates.open.<crate>Permission to open a specific crate
ecocrates.open.*Permission to open all crates
ecocrates.pouch.<pouch>Permission to open a specific pouch. Given by default
ecocrates.pouch.*Permission to open all pouches
ecocrates.reroll.<crate>Permission to reroll the crate reward (if enabled). Given by default; negate to prevent rerolls
ecocrates.reroll.*Permission to reroll all crates
ecocrates.rewards.<reward>Permission to be eligible for a specific reward (use ecocrates.rewards.* for all rewards)
ecocrates.command.envoyAllows the use of /ecocrates envoy (and /ecoenvoy)
ecocrates.craft.flarePermission to craft envoy start flares (if the envoy's flare recipe sets one). Given by default
ecocrates.craft.compassPermission to craft envoy compasses (if the envoy's compass recipe sets one). Given by default

Chance multiplier permissions

You can create permissions that give players a chance multiplier for rewards, in config.yml.

permission-multipliers:
  - permission: ecocrates.multiplier.vip # The permission node
    multiplier: 1.5 # The chance multiplier applied to eligible rewards
    priority: 1 # Higher priority wins when a player has several, e.g. 2 beats 1

Where to go next

  • Keys: hand out and configure keys in How to Make a Key.

  • Multipliers: the full multiplier config lives in Plugin Config.

  • Rerolls: see how rerolls work on Animations / Rolls.

  • Envoys: configure flares, compasses, and rarities in How to Make an Envoy.

  • Pouches: make single-use reward items in How to Make a Pouch.