Class: Server

January 23, 2026 ยท View on GitHub

steamapi


steamapi / Server

Class: Server

Defined in: structures/Server.ts:15

Game server as returned by getServers

Constructors

Constructor

new Server(data): Server

Defined in: structures/Server.ts:49

Parameters

data

any

Returns

Server

Properties

address

address: string

Defined in: structures/Server.ts:20

Server address of the form IPv4:PORT


appID

appID: number

Defined in: structures/Server.ts:23

App ID this server is hosting


gameDir

gameDir: string

Defined in: structures/Server.ts:26

The directory the game is from


gmsIndex

gmsIndex: number

Defined in: structures/Server.ts:29

GMS Index. Not sure what this means


id

id: string

Defined in: structures/Server.ts:17

The SteamID of this game server


lan

lan: boolean

Defined in: structures/Server.ts:32

Is this server LAN only


port

port: number

Defined in: structures/Server.ts:35

The port this server is running on


region

region: ServerRegion

Defined in: structures/Server.ts:38

Server region


reject?

optional reject: string

Defined in: structures/Server.ts:47

Requirements for clients to join server


secure

secure: boolean

Defined in: structures/Server.ts:41

Is this server VAC secured


specPort

specPort: number

Defined in: structures/Server.ts:44

Server specPort. Not sure what this means