Events and Actions
Make your entities more interactive by performing actions when specific events occur. This is similar to the custom items events and actions.
Events
interact
interactActions executed when a player interacts with a custom entity.
attack
attackActions executed when a custom entity attacks another entity.
attacked
attackedActions executed when a custom entity is attacked by another entity.
damaged
damagedActions executed when a custom entity takes damage.
death
deathActions executed when a custom entity dies.
Actions
summon_entity
summon_entitySummon a custom entity.
entitythe entity IDmax_per_chunkthe max amount of entities of this type to be allowed to spawn in the current chunk
execute_command
execute_commandExecute a command.
commandthe command to executeas_consoleif the command must be executed as console (true by default)silentif the command must send a message or not on executionflow_success_if_message_containsThe plugin can't automatically identify plugins commands success/fail status, so you have to specify a text that can help the plugin to identify the command status.
Common action properties
delay
delayDelay before executing this action.
flow
flowAdvanced options to change the flow of actions for this event section. Refer to the VSCode extension to get more info.
permission
permissionPermission required to run this action.
Last updated
Was this helpful?