Triggers trigger/block_place

Block Place Trigger

Fires when a player places a block. Optionally filters by material type.

Note: Cancel this event to prevent the block from being placed.

Outputs

NameTypeDescription
exec exec Fires when a block is placed.
player player The player who placed the block.
block string Material name of the placed block.
location location Location where the block was placed.

Properties

KeyTypeDefaultDescription
material string "" Only fire for this material. Leave blank to fire for any block.