account - Windower/packages GitHub Wiki
This library provides data and events related to account information.
local account = require('account')❗ Dependency Required
To use this library, you must include
accountin themanifest.xmlfile for your package:<dependency>account</dependency>
The account table has the following entries:
- account.login : An event that triggers when logging in.
- account.logout : An event that triggers when logging out.
- account.logged_in : Boolean that specifies whether the user is currently logged into an account.
- account.name : The name of the current account.
- account.server : The server ID of the current account.
- account.server_name : The server name of the current account.
- account.id : The id of the current account.
This event is triggered when logging into a FFXI character
account.login : eventThis event does not receive any parameters.
This event is triggered when logging out of a FFXI character
account.logout : eventThis event does not receive any parameters.
Whether or not the player is currently logged in.
The name of the currently logged in character.
The ID of the currently logged in character.
The ID of the server currently logged in to.
The name of the server currently logged in to. nil if the server is unknown.