Package journeymap.api.v2.server.event
Class ServerEventRegistry
java.lang.Object
journeymap.api.v2.server.event.ServerEventRegistry
Server only events will be here.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<GlobalWaypointEvent> Fired for global waypoint CRUD.static final Event<GlobalWaypointGroupEvent> Fired for global waypoint group CRUD.static final Event<WaypointPendingActionEvent> Fired when a recipient accepts or declines a pending waypoint.static final Event<WaypointPendingReceivedEvent> Fired once per recipient before a pending waypoint entry is stored.static final Event<WaypointShareSubmitEvent> Fired on the server when a player (or addon via IServerAPI) submits a waypoint share. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WAYPOINT_SHARE_SUBMIT_EVENT
Fired on the server when a player (or addon via IServerAPI) submits a waypoint share. Cancellable: cancel to block the entire share (nothing stored, no notifications sent). -
WAYPOINT_PENDING_RECEIVED_EVENT
Fired once per recipient before a pending waypoint entry is stored. Cancellable: cancel to skip this specific recipient; other recipients are unaffected. -
WAYPOINT_PENDING_ACTION_EVENT
Fired when a recipient accepts or declines a pending waypoint. Cancellable: cancel to block the action (waypoint stays in pending). -
GLOBAL_WAYPOINT_EVENT
Fired for global waypoint CRUD. CREATE and UPDATE are cancellable. -
GLOBAL_WAYPOINT_GROUP_EVENT
Fired for global waypoint group CRUD. CREATE and UPDATE are cancellable.
-
-
Constructor Details
-
ServerEventRegistry
public ServerEventRegistry()
-