Name | custom event |
Event Lines | custom event |
Triggers | when called by a script using customevent. |
Example |
|
Has Player | When the command is used with a player link. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
Has NPC | When the command is used with an NPC link. |
Switches | id:<id> to only run the event if the given ID is used. This should almost always be specified.
data:<key>:<value> to only run the event if the given data key matches the given value, using advanced matchers for the given object type (note: the 'customevent' command call has to be careful about object type for this). |
Contexts | <context.id> returns the ID that was used.
<context.data> returns the MapTag of input data (if any! some events don't have context data).
<context.(key)> returns the value of the input data key, if available.
|
Determine | "OUTPUT:<Anything>" to add that value to the output list (note this is an ADD, not a SET). |
Group | Core |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/events/core/CustomScriptEvent.java#L16 |