Skip to content

Events

ResourceWorldResetWarningEvent reports the world, whole minutes remaining, and scheduled time. It has no operation ID because the reset has not started.

@EventHandler
public void onResetWarning(ResourceWorldResetWarningEvent event) {
getLogger().info(event.getWorldName() + " resets in " + event.getMinutesRemaining() + " minutes");
}

ResourceWorldPreResetEvent is cancellable before evacuation or regeneration. ResourceWorldPostResetEvent is terminal and reports phase, outcome, optional failure, retry safety, and a diagnostic message. Observe outcomes at EventPriority.MONITOR and branch on enums instead of parsing messages.