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 account in the manifest.xml file for your package:

<dependency>account</dependency>

Tables

The account table has the following entries:



account.login

This event is triggered when logging into a FFXI character

Definition

account.login : event

Event Parameters

This event does not receive any parameters.



account.logout

This event is triggered when logging out of a FFXI character

Definition

account.logout : event

Event Parameters

This event does not receive any parameters.



Data Entries

account.logged_in boolean

Whether or not the player is currently logged in.


account.name string

The name of the currently logged in character.


account.id integer

The ID of the currently logged in character.


account.server integer

The ID of the server currently logged in to.


account.server_name string

The name of the server currently logged in to. nil if the server is unknown.

⚠️ **GitHub.com Fallback** ⚠️