Skip to content

Permissions

William 'psyFi' Hatcher edited this page Jan 11, 2018 · 2 revisions

Permissions

ProtectionPerms manages what actions players can perform based on their permissions. This page documents permission nodes that ProtectionPerms checks for a given action.

Remember, by default, players cannot perform any actions without permissions being granted. Change the mode to invert this.

Assumptions

This Wiki assumes that you are running ProtectionPerms in the default mode; whitelist, unless otherwise specified. In whitelist mode, players cannot perform an action without the proper permission. In blacklist mode, players can perform all actions, unless they have the permission associated with the action.

Inheritance and (lack of) Wildcards

All child permissions are granted if a player has a parent permission. For example, granting protectionperms.block grants that player the ability to place, break, and interact with all blocks. Don't use * as a wildcard. See Sponge Docs for more info.

Permissions

Permission Explanation Notes
protectionperms.block.break.<blockID> Breaking of blockID
protectionperms.block.place.<blockID> Placing of blockID
protectionperms.block.interact.<blockID>.primary Primary Interaction with blockID
protectionperms.block.interact.<blockID>.secondary Secondary Interaction with blockID
protectionperms.entity.interact.<entityID>.primary Primary Interact with entityID
protectionperms.entity.interact.<entityID>.secondary Secondary Interaction with entityID
protectionperms.entity.tame.<entityID> Taming of entityID
protectionperms.entity.breed.<entityID> Breeding of entityID
protectionperms.entity.mount.<entityID> Mounting of entityID
protectionperms.entity.damage.<entityID>.deal Deal damage to entityID
protectionperms.entity.hook.<entityID> Hook or "catch" entityID
protectionperms.item.use.<itemID> Use itemID
protectionperms.item.use.<itemID>.on.self Use itemID on yourself
protectionperms.item.use.<itemID>.on.<ID>.primary Primary use itemID on ID ID can be block, entity, or item
protectionperms.item.use.<itemID>.on.<ID>.secondary Secondary use itemID on ID ID can be block, entity, or item
protectionperms.item.equip.<itemID> Equipping of itemID
protectionperms.item.pickup.<itemID> Picking up itemID off of ground
protectionperms.item.drop.<itemID>.dispense Dropping of itemID on ground Not Recommended! See issue #13
protectionperms.item.drop.<itemID>.death Dropping of itemIDon ground Not Recommended! See issue #13
protectionperms.item.craft.<itemID> Craft itemID
protectionperms.item.smelt.<itemID> Smelting of itemID
protectionperms.item.fuel.<itemID> Use itemID as fuel (in a furnace)

Clone this wiki locally