@echo off REM ===== Step 2: start the draft board (with phone/multi-device relay) ===== REM Runs the local relay server so the control PC, the TV screens, AND players' phones REM all connect to it. AUTO-RESTARTS if it ever crashes, reloading the last saved state, REM so the draft is always recoverable. Keep this window open for the whole draft. cd /d "%~dp0" title Betta Bring It - Draft Server (keep this window OPEN) echo( echo =============== PLAYERS JOIN FROM THEIR PHONE =============== echo This PC's LAN IP address(es): ipconfig | findstr /c:"IPv4" echo( echo Players open: http://YOUR-RESERVED-IP:8777/lobby.html echo Join PIN + team claims are managed in Settings -^> Connections echo ============================================================ echo( REM Open the CONTROL screen on this PC via localhost (required so phone features work). REM Use the on-screen TV icon to open the board / pick TV windows. start "" http://localhost:8777/draftboard.html :loop echo [%date% %time%] starting draft relay on http://localhost:8777 ... python draft_server.py 8777 echo( echo [%date% %time%] server stopped (exit %errorlevel%) - restarting in 2s. Close this window to stop for good. timeout /t 2 /nobreak >nul goto loop