PLAYWebcam Lab · local AI →MULTIPLAYER COMMAND

SERVERS & HOSTING

SERVER LOBBY

Seven independent servers. Pick a server to open the game menu, join its current map, or vote for another.

Checking available servers…

PRIVATE MATCH

HOST & JOIN

Create a private match, join by address, or host your own server.

Create a private match on this VPS

Invite-only matches for up to 4 players. Rooms close after 10 minutes empty or 2 hours total.

For custom maps, open your exported editor JSON. The VPS stores it for this room and joining players download it automatically. Up to 128 objects (16 actors, 16 vehicles), 256 items, 6,000 trees and terrain resolution 96.

Checking private room capacity…

Host a LAN game

On the Windows PC with this game project, open PowerShell in the game folder. Run one of these commands:

./Start-Server.ps1 -Port 27960 -MaxPlayers 8

For zombie co-op:

./Start-Beach-Defense.ps1 -Port 27962 -MaxPlayers 8

Keep that PC running. Friends on the same Wi-Fi or LAN open the LAN address printed by the launcher. If Windows blocks access, run this once from an Administrator PowerShell:

./Start-Server.ps1 -Port 27960 -FirewallOnly

Use port 27962 instead for co-op. Starting a LAN server happens on the host PC; this webpage cannot start a process on your computer.

Host on your own VPS

Install Node.js 24 or newer. Copy this project's application and your game assets to the VPS, then run:

npm install --omit=dev
HOST=127.0.0.1 PORT=27960 MAX_PLAYERS=8 node server.mjs

Keep the process running with a service manager and put HTTPS plus a WebSocket-capable reverse proxy in front of it. Use GAME_MODE=defense for zombie co-op, or MAP=mp_ctfmultidemo for CTF.

The project includes the systemd and Nginx templates in deploy/, plus a full hosting guide in HOSTING.md. Give friends the finished server URL and they can use “Join by server address” above.