-
Notifications
You must be signed in to change notification settings - Fork 17
Activator DAMAGE
MaxDikiy edited this page Jul 24, 2017
·
1 revision
This activator works when the player is exposed to some kind of damage.
To create this activator, use the command:
/react add DAMAGE <ActivatorId> [source:<BLOCK/ENTITY/OTHER/ANY>] [cause:
<type>
]
Placeholder | Description |
---|---|
%damage% | Damage the will deal to mob. You can modify this temporary variable using VAR_TEMP_SET action to change value of player damage |
%cause% | Damage cause |
%source% | Damage source |
- To forbid to damage the player in any way:
/react add DAMAGE d
/react add d a CANCEL_EVENT true
or
DAMAGE:
d:
cause: ANY
source: ANY
flags: []
actions:
- 'MESSAGE=Damage: &c%damage%'
- 'MESSAGE=Cause: &c%cause%'
- 'MESSAGE=Source: &c%source%'
- cancel_event=true
reactions: []
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
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация