registerGameUnload

open fun registerGameUnload(method: Any): RegularTrigger

Registers a new trigger that runs before the game unloads.

This runs before shutdown of the JVM and before "/ct load" happens.

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard