This repository was archived by the owner on Jan 3, 2022. It is now read-only.
forked from PEXPlugins/Modifyworld
-
Notifications
You must be signed in to change notification settings - Fork 0
IMPORTANT NOTICES
Metall edited this page Jul 14, 2020
·
1 revision
Thanks to Bukkit user @Tahg we were notified about one issue with the modifyworld.blocks.place.* node: If you remove modifyworld.* from a group, for the group to place blocks, you will need to specify what blocks the group is allowed to place other blocks on using the modifyworld.blocks.interact.* (alternately you can use a wildcard for the block ID with modifyworld.blocks.interact.*) in addition to the modifyworld.blocks.place.* for the blocks the group is allowed to place. This is because Bukkit checks first for onPlayerInteract() then for onBlockPlace().
- For example, when trying to place a sand block on a grass block, the permission node checks are
modifyworld.blocks.interact.grassthenmodifyworld.blocks.place.sand. Consider the block being targeted with this action - theinteractpermission is required for the block that is targeted with right-click, and thus could be to the side or above the placed block. Metadata can appear on a lot of blocks and items that you might not expect, please make sure you read the section on Metadata and check the debug output before posting in the forums!