-
Notifications
You must be signed in to change notification settings - Fork 17
Activator FLIGHT
MaxDikiy edited this page May 7, 2017
·
3 revisions
This activator works when the player changes the flight mode.
To create this activator, use the command:
/React add FLIGHT <AgentName> [flight]
Element | Possible Values | Description |
---|---|---|
[Flight] |
TRUE/FALSE/ANY |
The flight mode, which will track the activator. The default is flight: ANY . This means that the activator will work at any switch of the flight mode. |
Placeholder | Description |
---|---|
% Flight% | Shows the flight mode of the player (TRUE / FALSE ). Useful when you need to constantly monitor the flight mode (you can write to a variable). |
- Prohibit flight to the player:
/React add FLIGHT fl flight: true
/React add fl a CANCEL_EVENT true
/React add fl a broadcast &cthe Player &a%player% &ctried to take off, but the Activator prohibits it.
or
FLIGHT:
Fl:
Flight: TRUE
Actions:
- cancel_event = true
- broadcast = &cThe Player &a%player% &ctried to take off, but the Activator prohibits.
- Recognize the mode of the player's flight at the moment of switching:
FLIGHT:
Fl2:
Flight: ANY
Actions:
- broadcast = &eAgro &a%player% &eggles the flight mode to &c&l%flight%
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
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация