Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthick authored Jun 14, 2017
1 parent 0e35e96 commit 8284e6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ At this time, ProtectionPerms is completely based off permissions. Without a gi
* `protectionperms.item.fuel.<itemID>` - Player can us `itemID` as fuel in a furance.
* Example: `protectionperms.item.fuel.minecraft:coal`

#### A Note on BlockStates:
Whenever a permission requires a blockID you can optionally include `BlockState` information. For example if I wanted to give the player permission to break Andesite but not regular stone I could give them the permission `protectionperms.block.break.minecraft:stone[variant=andesite]`. Giving the player the `protectionperms.block.break.minecraft:stone` permission still allows them to break all variants of stone as normal.

When creating your permission nodes you may run into situations where you have conflicting permissions. For instance, you may not be able to place a block even though you have the place permission because you don't have the corresponding use permission for the block as an item, in this case pay attention to the message ProtectionPerms gives you when you try to execute an action, it should point you toward the permission node you need. :wink:

## Support Me
Expand Down

0 comments on commit 8284e6f

Please sign in to comment.