Commands and Permissions

Every EcoCrafting command and the permission node it requires.

Commands

CommandDescriptionPermission
/ecocraftingOpens the category browser GUIecocrafting.command.ecocrafting
/ecocrafting reloadReloads the pluginecocrafting.command.reload
/ecocrafting lookup <item>Look up the recipe for any itemecocrafting.command.lookup
/ecocrafting open <category> [player]Open a specific category GUIecocrafting.command.open
/ecocrafting open-trade <ids> [player]Open a villager trade GUI with no villagerecocrafting.command.opentrade
/ecocrafting debugDebug the item held in main handecocrafting.command.debug
/ecocrafting validateValidate all categories and report warningsecocrafting.command.validate
/ecocrafting listList all loaded categoriesecocrafting.command.list
/ecocrafting createOpen the in-game recipe creator GUIecocrafting.admin.create
/ecocrafting edit <recipe-id>Edit a recipe in the recipe creator GUIecocrafting.admin.edit
/ecocrafting confirmConfirm save in the recipe creatorecocrafting.admin.create
/ecocrafting cancelCancel save in the recipe creatorecocrafting.admin.create
/ecocrafting unlock <player> <recipe-id>Unlock a locked recipe for a playerecocrafting.admin
/ecocrafting lock <player> <recipe-id>Lock a recipe for a playerecocrafting.admin
/ecocrafting resetlimits <player\|global\|all> [recipe]Reset craft limitsecocrafting.admin

Alias: /ecocrafting can also be run as /rbook.

Stonecutter recipe IDs

A stonecutter recipe has one ID for the whole recipe and one ID for each output.

  • Whole recipe: the file name, e.g. stone_cuts. /ecocrafting unlock and /ecocrafting lock act on every output at once, and ecocrafting.recipe.stone_cuts lets a player craft every output.

  • One output: the file name, an underscore, then the output's id, e.g. stone_cuts_stairs. An output without an id uses its position in the list, counting from 0, e.g. stone_cuts_0. Use it to unlock or lock that output alone, for its own node ecocrafting.recipe.stone_cuts_stairs, and for /ecocrafting resetlimits and the craft limit placeholders (e.g. %ecocrafting_limit_stone_cuts_stairs_remaining%), which only accept output IDs.

An output's own unlock or lock wins over the whole recipe's. The unlock_recipe and lock_recipe effects and the has_unlocked_recipe condition take the same IDs.

Additional Permissions

PermissionDescription
ecocrafting.open.othersRequired to open a category GUI or trade GUI for another player (the <player> argument)
ecocrafting.limit.bypassIgnore craft limits. Crafts made with this are not counted

Where to go next

  • Build a recipe: How to Make a Recipe to create recipes to unlock and lock.

  • Plugin config: Plugin Config for the GUI and sound settings.