Triggers trigger/event

Event Trigger

Fires whenever a Bukkit/Paper event is dispatched on the server. Accepts any class that implements org.bukkit.event.Event.

Note: Use this node when you need to react to any Bukkit event that does not have a dedicated trigger node. Common events: PlayerDeathEvent, EntityDamageEvent, BlockGrowEvent, etc.

Outputs

NameTypeDescription
exec exec Execution flow continues here when the event fires.
event event The raw event object for use with Event Get Player, Event Cancel, etc.

Properties

KeyTypeDefaultDescription
event event_class "org.bukkit.event.player.PlayerJoinEvent" Fully-qualified Bukkit event class name.
priority select "NORMAL" Listener priority — lower fires earlier, MONITOR should not modify the event.
ignoreCancelled boolean false When true, this node will not fire for events that were already cancelled.

Examples

Reward player on death

Listen to PlayerDeathEvent and broadcast a message.

  1. Set Event Class to org.bukkit.event.player.PlayerDeathEvent
  2. Connect the event output to an Event Get Player node
  3. Pipe the player into a Player Message node