RawPlayerData

API reference for RawPlayerData in @erlcjs/core.

Raw data structure representing a player from the ERLC API.

Signature:

interface RawPlayerData

#Properties

Property

Modifiers

Type

Description

Callsign?

string | null

(Optional) The player's optional callsign. Only present for non-civilian teams.

Location

{ LocationX: number; LocationZ: number; PostalCode: string; StreetName: string; BuildingNumber: string; }

The player's location coordinates and address details.

Permission

RawPlayerPermission

The permission level of the player in the server.

Player

string

The player identifier, in the format Username:UserId.

Team

string

The team the player is currently on.

WantedStars

number

The number of wanted stars the player currently has.