Actions
fromgate edited this page Nov 4, 2018
·
20 revisions
Each activator can contain an unlimited number of actions and reactions. Actions to be performed if all activator flags returned true. If at least one of the flags returned false, runs reaction. Actions and reactions are executed in the order in which they were added to the activator.
Action | Description |
---|---|
ACTION_DELAYED | Execute another action after delay |
BACK | Pushback player to one or two of previously stored locations |
BLOCK_FILL | Fill area define by parameters loc1, loc2 or region with defined block type |
BLOCK_SET | Place block in location |
BROADCAST | Send message to every online player |
CANCEL_EVENT | Cancel bukkit event, that initiates current activator (not all activators could be canceled) |
CHAT_MESSAGE | Send message from player |
CMD | Execute command as player |
CMD_CHAT | Execute command as player from chat |
CMD_CONSOLE | Execute command as server console |
CMD_OP | Execute command as OP |
DAMAGE | Hit player |
DELAY | Set global delay variable |
DELAY_PLAYER | Set personal delay variable |
EFFECT | Play visual effect. |
EXECUTE | Execute a predefined EXEC-activator |
EXECUTE_STOP | Stop executing of delayed activator |
EXECUTE_UNSTOP | Resume executing of stopped activator |
FCT_POWER_ADD | Add power to player's faction power value. |
FILE | Actions on the server files |
FLY | Set the flight mode |
FLY_SPEED | Set the player's Flying speed |
GLIDE | Set the flight mode on Elytra |
GROUP_ADD | Add player to group |
GROUP_REMOVE | Kick player from group |
HEAL | Heal player |
IF_ELSE | Conditional operator |
ITEM_DROP | Drop items around defined location |
ITEM_GIVE | Give item to player |
ITEM_REMOVE | Remove item from the player's hand |
ITEM_REMOVE_INVENTORY | Remove item from the player's inventory |
ITEM_SLOT | Put item in provided inventory slot |
ITEM_SLOT_VIEW | Get information about an item in a given slot |
ITEM_WEAR | Wear item |
LOG | Write to the server log |
MENU_ITEM | Create and show GUI (item menu) to player. Read how to create menu here. |
MESSAGE | Send message to player |
MOB_SPAWN | Spawn mob (with specified name, health, enchants, etc...) |
MONEY_GIVE | Credit player's account (and debit source player if defined) |
MONEY_PAY | Debit player's account (and credit target player if defined) |
PLAYER_ID | Obtaining the UUID of the player |
POTION | Add defined potion effect to player |
POTION_REMOVE | Remove potion effect |
POWER_SET | Set redstone power of the block (supported levers and doors) |
RADIUS_CLEAR | Remove entities (mobs or items) in radius from player |
REGEX | Pulling data out of the text. Parameter: REGEX input: regex: prefix |
REGION_CLEAR | Remove entities (mobs or items) in region |
RNC_SET_CLASS | Set player's class (RacesAndClass plugin required) |
RNC_SET_RACE | Set player's race (RacesAndClass plugin required) |
SHOOT | Shoot (without projectile) in player view direction |
SIGN_SET_LINE | Set (or clear) one or more line of sign |
SOUND | Play sound effect |
SQL_DELETE | Execute delete-query (delete record in MySQL database table) |
SQL_INSERT | Execute insert-query (insert new row in table at MySQL database) |
SQL_SELECT | Execute SQL query and store field located in first row (and defined column) at variable |
SQL_SET | Set the SQL variable |
SQL_UPDATE | Execute update-query (update field of table at MySQL database) |
TIMER_RESUME | Resumes execution of stopped timer |
TIMER_STOP | Stops execution of timer |
TOWN_KICK | Exclude player from the Towny's town |
TOWN_SET | Move player to Towny's town |
TP | Teleport player to defined location. |
VAR_CLEAR | Remove global variable |
VAR_DEC | Decrease global variable value |
VAR_INC | Increase global variable value |
VAR_PLAYER_CLEAR | Remove personal variable |
VAR_PLAYER_DEC | Decrease personal variable value |
VAR_PLAYER_INC | Increase personal variable value |
VAR_PLAYER_SET | Create personal variable |
VAR_SET | Create global variable |
VAR_TEMP_SET | Create temporary variable |
VELOCITY | Set player''s velocity (you can force player to jump or change movement direction) |
VELOCITY_JUMP | Jump to location |
WAIT | Wait some time before execute next action |
WALK_SPEED | Set the player's walking speed |
WE_SUPERPICKAXE | This action is used when the player needs to set the "Enable / Disable" option for super pickaxe |
WE_TOOLCONTROL | This action is used when the player needs to set the "Enable / Disable" option for tool control |
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
- Команды и пермишены
- Активаторы
- Флаги
- Действия
- Таймеры
- Меню
- Форматы данных
- Конфигурация