This Markdown file mirrors the internal WDS wiki instructions so you can ship it with release archives or import it into any other knowledge base.
The Windows agent bundles Cygwin, Perl, GNU Screen, and helper scripts so the GameServer Panel can manage Windows Server 2019/2022 game hosts. It exposes the same RPC surface as the Linux agent and expects the same shared key.
- Windows Server 2019 or 2022 (English locale recommended)
- Administrator privileges
- Reliable network access to the panel on TCP 12679 (or whatever port you configure)
- Outbound HTTPS so the agent can talk to
ogp_api.php
- Clone or download the repository to
C:\\gsp-agent. - Run
Install\\onceinstall_agent.batas Administrator. The script:- Installs Cygwin with Perl, rsync, wget, screen, zip/unzip, git, etc.
- Creates the
gameserverWindows account and grants “Log on as a service”. - Unpacks the latest agent files into
C:\\OGP. - Registers the Windows Task Scheduler entry that boots the agent at startup.
- Open the bundled Cygwin terminal and configure the agent:
cd /OGP bash agent_conf.sh -p "gameserverPassword"
- Edit configuration –
/OGP/Cfg/Config.pmmirrors the Linux agent. Setlisten_ip,listen_port,key,web_api_url, and (optionally) the stats database credentials. - Start the service – The installer already created a scheduled task (“OGP agent start on boot”). Run it immediately from Task Scheduler or execute
schtasks /Run /tn "OGP agent start on boot".
- Stop the scheduled task or kill any running
ogp_agent.plprocesses. - Pull the latest files (
git pullinsideC:\\gsp-agentor download the release ZIP again). - Copy updated files into
C:\\OGP. - Re-run
rebase_post_ins.batif new Cygwin DLLs were added. - Start the agent task again.
- Main log:
C:\\OGP\\ogp_agent.log - PID files:
ogp_agent_run.pid(wrapper) andogp_agent.pid(Perl daemon) - Customer servers run inside GNU Screen sessions—attach via
C:\\OGP\\bin\\screen -r ogp_agent - Firewall: open TCP 12679 (or your configured port) and any game-specific ports before provisioning.
- Authentication errors almost always mean the
keyinCfg/Config.pmdoes not match the value stored in the panel → Administration → Servers.
- Always run the installer as Administrator so it can write to
Program Files, register services, and manage thegameserveraccount. - Keep the
team@worlddomination.devmailbox handy for provider login challenges when managing Windows hosts. - The Linux agent docs live in
GSP-Agent-Linux/documentation/agent-guide.mdand the panel XML reference is inGSP/documentation/.