Block Attributes
onDestroyedByPlayer
This attribute defines the script that is executed when a player destroys the block.
Examples
onDestroyedByPlayer[0] = "player.sendMessage('You destroyed me.');";
This attribute defines the script that is executed when a player destroys the block.