Skip to content

QuitGame ​

com.jsmacrosce.jsmacros.client.api.event.impl.EventQuitGame

Since1.8.4Not cancellable

Fires during JVM shutdown from a shutdown hook registered by JsMacros. It has no payload.
Listener work may not finish before the process exits. This event does not fire when leaving a world while the game continues running; use EventDisconnect for that transition.

Constructors ​

new EventQuitGame ​

new EventQuitGame()#
Initializes the event with the JsMacros client core as its runner; construction does not dispatch it.

Methods ​

toString ​

toString(): String#
Returns a diagnostic string containing the event name and an empty-brace payload marker, not JSON.
Returns: the event name followed by :{}