RawServerData

API reference for RawServerData in @erlcjs/core.

Raw data structure representing the full server information payload from ER:LC.

Signature:

interface RawServerData

#Properties

Property

Modifiers

Type

Description

AccVerifiedReq

'Disabled' | 'Email' | 'Phone/ID'

Verification level requirement for joining.

CommandLogs?

RawCommandLog[]

(Optional) Server command logs.

CoOwnerIds

number[]

List of UserIds of server co-owners.

CurrentPlayers

number

Number of players currently in the server.

EmergencyCalls?

RawEmergencyCall[]

(Optional) Active emergency calls.

JoinKey

string

The join key of the server.

JoinLogs?

RawJoinLog[]

(Optional) Server join/leave logs.

KillLogs?

RawKillLog[]

(Optional) Server kill logs.

MaxPlayers

number

Maximum allowed players in the server.

ModCalls?

RawModCall[]

(Optional) Active moderator calls.

Name

string

The server name.

OwnerId

number

The UserId of the server owner.

Players?

RawPlayerData[]

(Optional) List of active players.

Queue?

number[]

(Optional) UserIds currently in the join queue.

Staff?

RawStaffData

(Optional) Server staff lists.

TeamBalance

boolean

Whether team balance is enabled.

Vehicles?

RawVehicle[]

(Optional) Active vehicles spawned.