Skip to content
On this page

Athena.player.setter

Functions

account

Usage

Athena.player.setter.account(player, accountData): Promise<void>

Set the current account data for this player.

Parameters

NameType
playerPlayer
accountDataAccount

Returns

Promise<void>

Defined in

server/player/setter.ts:20


actionMenu

Usage

Athena.player.setter.actionMenu(player, actionMenu): any

Parameters

NameType
playerPlayer
actionMenuActionMenu

Returns

any

Defined in

server/player/setter.ts:37


override

Usage

Athena.player.setter.override(functionName, callback): any

Used to override any setter functions

Parameters

NameType
functionName"account"
callback(player: Player, accountData: Account) => Promise<void>

Returns

any

Defined in

server/player/setter.ts:68

Usage

Athena.player.setter.override(functionName, callback): any

Used to override any setter functions

Parameters

NameType
functionName"actionMenu"
callback(player: Player, actionMenu: ActionMenu) => any

Returns

any

Defined in

server/player/setter.ts:69

Usage

Athena.player.setter.override(functionName, callback): any

Used to override any setter functions

Parameters

NameType
functionName"respawned"
callback(player: Player, position: IVector3) => void

Returns

any

Defined in

server/player/setter.ts:70


respawned

Usage

Athena.player.setter.respawned(player, position): void

Set this player as respawned.

Parameters

NameTypeDescription
playerPlayer-
positionIVector3Use null to find closest hospital.

Returns

void

Defined in

server/player/setter.ts:50

Created by Stuyk | Est. 2020