Skip to content

Commit

Permalink
Declare open perms first for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikoo committed Jul 6, 2024
1 parent f9871e7 commit c512f0b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions plugin/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ permissions:
# Inventory nodes (/openinv)
openinv.inventory:
children:
openinv.inventory.open:
children:
openinv.inventory.open.self: true
openinv.inventory.open.other: true
openinv.inventory.edit:
children:
openinv.inventory.open: true
Expand All @@ -22,10 +26,6 @@ permissions:
openinv.inventory.edit.other:
children:
openinv.inventory.open.other: true
openinv.inventory.open:
children:
openinv.inventory.open.self: true
openinv.inventory.open.other: true
# Specific slot behaviors inside opened player inventories
openinv.inventory.slot:
default: true
Expand All @@ -38,6 +38,10 @@ permissions:
# Ender chest nodes (/openender)
openinv.enderchest:
children:
openinv.enderchest.open:
children:
openinv.enderchest.open.self: true
openinv.enderchest.open.other: true
openinv.enderchest.edit:
children:
openinv.enderchest.edit.self:
Expand All @@ -46,10 +50,6 @@ permissions:
openinv.enderchest.edit.other:
children:
openinv.enderchest.open.other: true
openinv.enderchest.open:
children:
openinv.enderchest.open.self: true
openinv.enderchest.open.other: true
# Player access
openinv.access:
children:
Expand Down

0 comments on commit c512f0b

Please sign in to comment.