Events
These events are added by denizen-reflect to handle custom interactions.
Custom Command
- Event:
custom command - Triggers: When a custom command is executed.
- Switches:
id:<id>: Only process the event if the command ID matches.
- Context:
<context.id>: Returns the ElementTag of the id command.<context.<argument>>: Returns the ObjectTag of the specified argument.
- Determine:
ElementTagto send a command execution error.
Custom Tag
- Event:
custom tag - Triggers: When a custom tag is filled in.
- Switches:
id:<id>: Only process the event for a specific tag ID.object_type:<object_type>: Only process if the tag is used on a specific object type.
- Context:
<context.id>: Returns the ID of the tag.<context.object>: Returns the ObjectTag the tag is being used on.<context.object_type>: Returns the type of the object (e.g.,player,item).<context.raw_param>: Returns the raw parameter string passed to the tag.<context.param>: Returns the parameter as an ObjectTag.
- Determine:
ObjectTagto fill the tag.
Placeholder
- Event:
placeholder - Triggers: When a custom palceholder is filled in.
- Switches:
id:<id>: Only process the event for a specific placeholder identifier.
- Context:
<context.id>: The placeholder identifier.<context.params>: The parameters passed to the placeholder.
- Determine:
ElementTagto fill the placeholder.
