$server = new SquadServer('server.squad-slovenia.com', 21114, 'verySecretPassword');
$players = $server->currentPlayers();
$maps = $server->currentMaps();
$server->broadcastMessage('Hello from the other side');
$server->changeMap('Sumari AAS v1');
$server->nextMap('Gorodok');
- ListPlayers
- ShowNextMap
- AdminKick "<NameOrSteamId>" <KickReason>
- AdminKickById <PlayerId> <KickReason>
- AdminBan "<NameOrSteamId>" "<BanLength>" <BanReason>
- AdminBanById <PlayerId> "<BanLength>" <BanReason>
- AdminBroadcast <Message>
- ChatToAdmin <Message>
- AdminRestartMatch
- AdminEndMatch
- AdminPauseMatch
- AdminUnpauseMatch
- AdminKillServer <Force [0|1]>
- AdminChangeMap <MapName>
- AdminSetNextMap <MapName>
- AdminSetMaxNumPlayers <NumPlayers>
- AdminSetNumReservedSlots <NumReserved>
- AdminSetServerPassword <Password>
- AdminAddCameraman <NameOrId>
- AdminDemoRec <FileName>
- AdminDemoStop
- AdminListDisconnectedPlayers
- AdminForceNetUpdateOnClientSaturation <Enabled [0|1]>