Skip to content

Permission Nodes

Jakub Szkarłat edited this page Jan 31, 2020 · 3 revisions

Permission Nodes

At this stage permission node names are very unstable. They may change from version to version and I cannot guarantee that your old configuration will be compatible with newer versions of plugin.

General

Permissions Node Description
chat Defines if user should able to chat
use-beds User permission to sleep

Weapons

Permissions Node Description
throw.* throwable items
shoot.* range weapon (bow, crossbow)

Entities

Note: Most of entities are grouped into categories. So all fish must be followed with fish., animals with animal. and monsters with monster.. For example animal.panda, monster.zombie, etc.

Permissions Node Arguments Description Notes
interact.* enitites Permission to right click actions on entities like shearing or milking cow Also checks permission to use item in hand
target-by.* entities Permission to be followed by monsters or animals while holding proper food -
damage.deal.* entities Permission to deal damage to entity Also checks permission to use item in hand
mob.tame.* animals Permission to tame animals such as horses or wolves -
mob.breed.* animals Checks if player can breed animals of given type -
mob.spawn.* spawn eggs Permission checked whenever player tries to use spawn egg -
mob.ride.* mountable animals Permission to ride on animal -

Items

Permissions Node Arguments Description Notes
item.use.*.on.* items and blocks/entities Permission to use items specified in configuration on blocks or entities This permissions is often used with other permissions to check if player can
item.enchant.* enchantable items Permission to enchant items -
item.eat.* edible items Permission to eat -
item.smelt.* smeltable items Permission to smelt or cook item -
item.craft.* craftable items Permission to craft items -
item.drop.* items Permission to drop item on the ground -
item.pickup.* items Permission to pickup items -
item.hold.* items Permission to hold item in hand -

Block related

Permissions Node Arguments Description Notes
interact.* interactable blocks (e.g. craftbenches, furnaces) Permission to right click interactable blocks like anvils, brewing stand, etc. Also checks if player can interact blocks with item in hand
bucket.empty.* fluids Permission to empty bucket full of fluid Also checks if use can place fluid block (blocks.place)
bucket.fill.* fluids Permission to fill bucket with specified fluid -
block.break.* blocks Permission to break blocks Also checks use of item in hand
block.place.* blocks Permission to place blocks -

Transport

Permissions Node Arguments Description Notes
vehicle.break.* vehicles Permission to destroy vehicles like boats or minecarts -
vehicle.place vehicles Permission to place new vehicle -
vehicle.enter.* vehicles Permission to enter vehicles or ride animals -
vehicle.collide.* vehicles Permissions to push vehicles -

Examples

# Player is allowed to place every block
- worldinteractions.block.place.*
# Allow player to be followed by hostile mobs
- worldinteractions.target-by.monster.*
# Disallow damaging passive mobs
- -worldinteractions.damage.deal.animal.*
# Allow player interacting with furnaces
- -worldinteractions.interact.furnace 

Clone this wiki locally