register World Unload
Registers a new trigger that runs before the world unloads.
Available modifications:
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired