Activator WE_CHANGE

This activator is triggered when a player edits the world using the WorldEdit plug-in.

To create this activator, use the command:

/react add WE_CHANGE <id> [region:<region>] [block-type:<blockType>]

ItemPossible Values ​​Description
[region]...Region name
[block-type]<blockType> / ANYType of block.

Temporary placeholders operating in this activator:

PlaceholderDescription
%blocktype%Shows the block type which will be changed.
%blocklocation%Shows the location of block which will be changed.

Examples

  1. We cancel any editing of the world by a player that is executed using the WorldEdit plugin /react add WE_CHANGE wec
    /react add wec a CANCEL_EVENT true
    or
WE_CHANGE:
  wec:
    block-type: ''
    region: ''
    actions:
    - CANCEL_EVENT=true
  1. Anti Griefing for Spawn region. no one will destroy your Spawn region /react add WE_CHANGE wec2 region:spawn
    /react add wec2 a CANCEL_EVENT true
    or
WE_CHANGE:
  wec2:
    block-type: ''
    region: spawn
    actions:
    - CANCEL_EVENT=true
  1. Replace one block with another /react add WE_CHANGE wec3 region:spawn block-type:STONE
    /react add wec3 a BLOCK_SET block:WOOL loc:%blocklocation%
    /react add wec3 a CANCEL_EVENT true
    or
WE_CHANGE:
  wec3:
    block-type: STONE
    region: spawn
    actions:
    - BLOCK_SET block:WOOL loc:%blocklocation%
    - CANCEL_EVENT=true