-
Notifications
You must be signed in to change notification settings - Fork 17
Activator WE_CHANGE
MaxDikiy edited this page Oct 18, 2017
·
1 revision
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>
]
Item | Possible Values | Description |
---|---|---|
[region] |
... |
Region name |
[block-type] |
<blockType> / ANY
|
Type of block. |
Placeholder | Description |
---|---|
%blocktype% | Shows the block type which will be changed. |
%blocklocation% | Shows the location of block which will be changed. |
- 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
- 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
- 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
Links:
Download | Support | Twitter | VK | MinecraftMain Blog
© 2017, fromgate
http://reactions.fromgate.me
http://reactions.fromgate.ru
- Commands and Permission
- Activators
- Flags
- Actions
- Timers
- Menus
- Data formats
- Configuration
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация