... | @@ -7,12 +7,10 @@ recipes: |
... | @@ -7,12 +7,10 @@ recipes: |
|
- 'perms mmoitems.recipe.steel-sword mmoitems.recipe.station.steel'
|
|
- 'perms mmoitems.recipe.steel-sword mmoitems.recipe.station.steel'
|
|
```
|
|
```
|
|
| Condition | Usage | Description |
|
|
| Condition | Usage | Description |
|
|
| Min Lvl. | level <min> | Recipe level restriction. |
|
|
| Min Lvl. | {{{level <min>}}} | Players must be Lvl X or higher. |
|
|
|
|
| Permission | {{{perm <perm1> <perm2>...}}} | Only players with specific perms may use the recipe.
|
|
|
|
| Food | {{{food <amount>}}} | The recipes (requires and) consumes X food. |
|
|
|
|
| Mana | {{{mana <amount>}}} | The recipe (..) consumes X mana. |
|
|
If you want your recipe to be available only for players who are at least **level** X, use this: `level <required_level>`. If you want your recipe to be available only for players with specific **permissions**, use: `perms <perm1> <perm2> <perm3> ...`. Perm nodes must be separated using spaces.
|
|
| Stamina | {{{stamina <amount>}}} | The recipe (..) consumes X stamina. |
|
|
|
|
|
|
You may also make the crafting recipe consume mana/stamina/food when used by a player. In order to setup a mana/food/stamina recipe condition, use (e.g mana) `mana <amount>`.
|
|
|
|
|
|
|
|
The `hide-when-locked` recipe option only triggers when at least one of the conditions is/are not met. The recipe will still display in the GUI if the player does not have all the required ingredients. Recipe conditions display at the beginning of the GUI recipe item lore: https://i.imgur.com/xPwlm5B.png |
|
The `hide-when-locked` recipe option only triggers when at least one of the conditions is/are not met. The recipe will still display in the GUI if the player does not have all the required ingredients. Recipe conditions display at the beginning of the GUI recipe item lore: https://i.imgur.com/xPwlm5B.png |
|
|
|
\ No newline at end of file |