onPlayerQuit

Revision as of 01:25, 28 September 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Server 1.0.0, Client 1.0.0

function(Event event, Client client, int disconnectType)

The onPlayerQuit event is invoked when a player leaves the server.

Parameters

1) Event event The event object for this event.
2) Client client The client that has disconnected.
3) int disconnectType The disconnect type.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

        OnPlayerChat
        OnPlayerCommand
        OnPlayerConnect
        OnPlayerJoin
        OnPlayerJoined
        OnPlayerQuit


Client Related

OnPlayerJoin