Class: GameServer

January 23, 2026 ยท View on GitHub

steamapi


steamapi / GameServer

Class: GameServer

Defined in: structures/GameServer.ts:4

Game server as returned by getServerList

Constructors

Constructor

new GameServer(data): GameServer

Defined in: structures/GameServer.ts:56

Parameters

data

any

Returns

GameServer

Properties

address

address: string

Defined in: structures/GameServer.ts:6

Server address of the form IPv4:PORT


appID

appID: number

Defined in: structures/GameServer.ts:18

App ID this server is hosting


bots

bots: number

Defined in: structures/GameServer.ts:39

Number of bots in the server


dedicated

dedicated: boolean

Defined in: structures/GameServer.ts:48

Is the server running dedicated


gameDir

gameDir: string

Defined in: structures/GameServer.ts:21

The directory the game is from


id

id: string

Defined in: structures/GameServer.ts:12

The SteamID of this game server


map

map: string

Defined in: structures/GameServer.ts:42

What map the game server is on


maxPlayers

maxPlayers: number

Defined in: structures/GameServer.ts:36

Max number of players that can join the server


name

name: string

Defined in: structures/GameServer.ts:15

Public name of the server


os

os: string

Defined in: structures/GameServer.ts:51

What OS the server is running. Typically 'l' or 'w'


players

players: number

Defined in: structures/GameServer.ts:33

Number of players in the server


port

port: number

Defined in: structures/GameServer.ts:9

The port this server is running on


product

product: string

Defined in: structures/GameServer.ts:27

Product string. Not sure what this means. Is often the same as gameDir


region

region: ServerRegion

Defined in: structures/GameServer.ts:30

Server region


secure

secure: boolean

Defined in: structures/GameServer.ts:45

Is this server VAC secured


tags

tags: string[]

Defined in: structures/GameServer.ts:54

Game specific sv_tags e.g. hidden,reserved,empty,secure


version

version: string

Defined in: structures/GameServer.ts:24

What version the server is running