Wizards of Lua

The Art of Spell Crafting


PlayerLoggedOutEvent - When a Player Leaves the World

The PlayerLoggedOutEvent is fired whenever a Player leaves the world (server).

The PlayerLoggedOutEvent class is a subtype of the Event class and inherits all its properties and functions.

Here is an overview of the PlayerLoggedOutEvent properties:

Property Type read / write
player Player r

Properties

Below you find short descriptions about each of the properties and some examples about how to use them in your spells.


player : Player

The player who left the world.