Skip to content

function getPlayersCount (shared-side)

Available since version: 0.3.0

Get the number of online players on the server.

Declaration

int getPlayersCount()

Parameters

No parameters.

Returns int

Number of players on the server.