player

PLAYER

Type Definitions

PLAYER

window.PLAYER Represents the current player's status in the game. This object is defined by stock and is static, meaning it requires a page reload to update. The PLAYER object stores various pieces of information about the player, which are detailed below.

Additional properties (nickMatcher and level) added by IITC in sidebar.setupPlayerStat

Properties:
Name Type Description
ap string

The amount of AP (Access Points) the player currently has.

available_invites number

The number of invitations the player can send.

energy number

The amount of XM (Exotic Matter) the player currently holds.

min_ap_for_current_level number

The AP required for the player's current level, used for tracking level progress.

min_ap_for_next_level number

The AP required for the next level, used for tracking level progress.

nickname string

The agent name of the player.

team string

The faction of the player, which can be either "ENLIGHTENED" or "RESISTANCE".

verified_level number

Current player level.

Additional properties

nickMatcher RegExp

A regular expression used to match the player's agent name in chat. Added by IITC.

level number

Backwards compatibility property, equivalent to verified_level. Added by IITC.