Permission

Example item permission

  my_armor_simple_helmet:
    display_name: my_armor_simple helmet
    permission_suffix: my_armor_simple
    resource:
      generate: true
    durability:
      max_custom_durability: 275
    specific_properties:
      armor:
        slot: head
        color: '#ff0001'
    attribute_modifiers:
      head:
        armor: 9
        armorToughness: 1

How to make the item visible in the /ia gui

To allow your players to see this item in /ia GUI you have to give them permission: ia.user.ia.seeitem.my_armor_simple

Remember to give them permission ia.user.ia to let them use /ia command

Remember to create a category for the /ia GUI.

Recipes permissions

Example

Permission: ia.user.recipe.iasurvival.cooked_sausage

info:
  namespace: iasurvival
recipes:
  cooking:
    cooked_sausage:
      permission: iasurvival.cooked_sausage
      ingredient:
        item: iasurvival:sausage
      machines:
        - FURNACE
        - BLAST_FURNACE
      exp: 1
      cook_time: 200
      result:
        item: iasurvival:cooked_sausage
        amount: 1

Read more about permissions

Permissions

Last updated