Permissions

Permissions

If you have Vault installed, permissions will be enabled by default. You can disable them by setting "Permissions.enabled" to "false".

FoodyCraft has permissions for every item that can be eatten and permissions for every item crafted in crafting grid. Also, there is one "use" permission for Squeezer.

The main permission is foodycraft.* . It gives ultimate access to all plugin features.
Under that permission there are three groups of permissions:
foodycraft.eat.* : allows player to eat every item added by FoodyCraft.
foodycraft.use.* : allows player to use special items. By the time, there is only one item that uses that permission: Squeezer.
foodycraft.craft.* : This permission allows player to craft items added by FoodyCraft in crafting grid.
NOTE: While there are crafting permissions for crafting grid, there aren't any permissions for furnaces! Remember it because some items can be crafted in different ways!

And, finally, you can replace " * " with the item name to allow player, for example, eat only baked apples.
It will looks like this: foodycraft.eat.baked_apple , and every player with that permission will be allowed to eat baked apples.
To sum up, every item added by FoodyCraft that can be eatten needs foodycraft.eat.item_name , where item_name is the name of the item. Item names are in lowercase with _ instead of space. Crafting grid permissions are simular to eating permissions: foodycraft.craft.item_name