Skip to content
Update Recipe Conditions authored by Dan Culligan's avatar Dan Culligan
......@@ -11,6 +11,7 @@ recipes:
conditions:
- 'level{level=5}'
- 'permssion{list="mmoitems.recipe.steel-sword,mmoitems.recipe.station.steel"}'
- 'placeholder{placeholder=%ac_Stat_Weight%~>~1}'
```
| Condition | Usage | Description |
......@@ -18,6 +19,7 @@ recipes:
| Min Lvl. | `level{level=<min>}` | Players must be Lvl X or higher. |
| Class | `class{list=<Class Name>,<Class Name 2>...}` | Restricts a recipe to certain classes |
| Permission | `permission{list="<perm1>,<perm2>..."}` | Only players with specific perms may use the recipe. |
| Placeholder | `placeholder{placeholder=<Placeholder>~<Comparator>~<Number>}` | Check the placeholder of a Player, then compare it to a number of your choice. Comparator list: <,<=,>,>=,==,=,!= |
| Food | `food{amount=<amount>}` | The recipes consumes (and requires) X food. |
| Mana | `mana{amount=<amount>}` | The recipe consumes (and requires) X mana. |
| Stamina | `stamina{amount=<amount>}` | The recipe consumes (and requires) X stamina. |
......
......