DUXPLIMA Documentation

Triggers and events

The four moments that hand items out, their event files, delays and actions.

Triggers

An item's triggers list names the moments that hand it out. An empty list means only /uxmjoinitems give and giveall hand it out.

TriggerWhen
joinEvery join, a first one included
first-joinA player's first join only
respawnAfter a respawn
world-changeAfter a move to another world

Event files

Each moment is a file under events/:

KeyMeaning
enabledfalse and the moment hands out nothing
delayHow long to wait after the event; units ms, s, m, h, d
actionsAction lines run once, after the items are in place
EventShipped
join.confAt once; [message] @event.join.welcome: "Welcome to the lobby, Name."
first-join.confAfter 1s; a title "Welcome" with "Right click the compass to start". It runs beside join.conf, not instead of it
respawn.confAfter 50ms, because the inventory is not writable at the instant the respawn event fires; no actions
world-change.confAt once; no actions
Worlds on separate servers

On a network where each world is its own server, set enabled = false in world-change.conf: the join trigger already covers it, and the two together hand the items out twice.

Related: Event files, Clicks