Skip to content
This repository was archived by the owner on Jan 3, 2022. It is now read-only.

Item Nodes

Metall edited this page Jul 14, 2020 · 1 revision

See Materials for values.

Permission node Description
modifyworld.items.craft.<itemid> Player can craft <itemid>.
modifyworld.items.drop.<itemid> Player can drop <itemid>.
modifyworld.items.enchant.<itemid> Player can enchant <itemid>.
modifyworld.items.have.<itemid> Player can have <itemid> in their inventory. itemRestrictions: true need to be set for this to work.
modifyworld.items.hold.<itemid> Player can have <itemid> in their hand. itemRestrictions: true need to be set for this to work.
modifyworld.items.pickup.<itemid> Player can pickup <itemid>. Also it's possible to specify <itemid> by name, example: modifyworld.items.pickup.diamondpickaxe
modifyworld.item.left.<itemid>.on.block.<blockid> Player can use left click <itemid> on block <blockid>. item-use-check: true need to be set for this to work and is check in addition to the modifyworld.interact.<entityName> checks
modifyworld.item.right.<itemid>.on.block.<blockid> Player can use right click <itemid> on block <blockid>. item-use-check: true need to be set for this to work and is check in addition to the modifyworld.interact.<entityName> checks
modifyworld.items.throw.<itemid> Player may throw eggs, snowballs, splash potions or experience bottles. Potion metadata excludes splash flag: potion:34 will match a Splash Potion of Swiftness II.
modifyworld.items.take.<itemid>.of.<container> Player may take items from containers, such as chests.
modifyworld.items.put.<itemid>.of.<container> Player may put items in containers, such as chests.

Clone this wiki locally