# Place

TIP

This event can be cancelled

# Event Details

  • The Place event gets called whenever a player breaks a block, you can get some information from the event with the variables listed below

# Variables

  • $args$[0] - The player that placed the block
  • $args$[1] - The item name, custom name, ID, meta, amount, and NBT that the player is holding as an array
  • $args$[2] - The block name, id, and meta that was broken as an array
  • $args$[3] - The world that the block is in
  • $args$[4] - The X position of the block
  • $args$[5] - The Y position of the block
  • $args$[6] - The Z position of the block

# Usage

  • Add a command to be called when this event triggers by running /acodes event place add <command>