the control panel
- config_loader.php: prefer local billing config FIRST (root cause fix) - was: panel config loaded first, overriding local config with wrong db name - now: local modules/billing/includes/config.inc.php always wins when present - config.inc.php: add $db_port="3306" - config.example.php: new example config with all variables documented - menu.php: add $db_port to mysqli_connect - admin_auth.php: add $db_port; remove hardcoded /_website path detection - bootstrap.php billing_get_db(): add $db_port - login.php: fix /_website path detection - adminserverlist.php: add $db_port; fix hardcoded /modules/billing/ URL - All other mysqli_connect calls: add isset($db_port) port parameter (my_servers, forgot_password, serverlist, server_status, order, register, reset_password, payment_success, my_account, admin_invoices, admin_payments, diag_remote, admin_coupons, test_db_connection, tools/check_db_user, renew_server) - timestamp.txt: updated Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a3e1e4bb-8eb1-4e6e-b1f8-7f3952301231 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| .vscode | ||
| .well-known/pki-validation | ||
| Crypt | ||
| css | ||
| docs | ||
| documentation | ||
| favicon | ||
| ftp | ||
| images | ||
| includes | ||
| js | ||
| lang | ||
| modules | ||
| protocol | ||
| scripts | ||
| sql | ||
| status | ||
| themes | ||
| tools | ||
| .gitignore | ||
| all_hostable_games_union.csv | ||
| APACHE_SETUP.md | ||
| api_authorized.hosts | ||
| backup.sh | ||
| biedi.php | ||
| browserconfig.xml | ||
| CHANGELOG.md | ||
| check.php | ||
| COPYING | ||
| deploy_gsp.sh | ||
| exim SMTP.txt | ||
| favicon.ico | ||
| fileserver.conf | ||
| game_titles.txt | ||
| gsp | ||
| home.php | ||
| IMPLEMENTATION_COMPLETE.md | ||
| IMPLEMENTATION_NOTES.md | ||
| IMPLEMENTATION_SUMMARY.md | ||
| index.orig.php | ||
| index.php | ||
| INSTALL.BAT | ||
| install.php | ||
| INSTALL_README.md | ||
| LICENSE | ||
| manifest.json | ||
| ogp_api.php | ||
| panel.conf | ||
| panel.sql | ||
| php_aggregator.php | ||
| phpinfo.php | ||
| push_to_github.sh | ||
| README.md | ||
| README.txt | ||
| server_status.php | ||
| serverbot.php | ||
| status_api.php | ||
| status_api_local.php.example | ||
| TASK_COMPLETION_SUMMARY.md | ||
| tos.php | ||
| tz.php | ||
GSP Windows Agent
Cygwin-based agent that lets the GameServer Panel manage Windows Server 2019/2022 hosts. It mirrors the Linux agent feature set: signed RPC transport, GNU Screen session management, and SteamCMD-aware installers.
Highlights
- One-click installer (
Install/onceinstall_agent.bat) that bootstraps Cygwin, required packages, and thegameserverservice account. - Task Scheduler entry that keeps the agent running after reboots.
- Helper scripts (
agent_conf.sh,rebase_post_ins.bat, etc.) for maintaining the environment. - Markdown documentation under
documentation/agent-guide.md.
Quick start
- Clone or download the repository to
C:\\gsp-agent. - Right-click
Install\\onceinstall_agent.bat→ “Run as administrator”. - Open the bundled Cygwin terminal and configure the agent:
cd /OGP bash agent_conf.sh -p "gameserverPassword" - Edit
C:\\OGP\\Cfg\\Config.pm(match the settings you entered in the GSP web panel) and start the “OGP agent start on boot” scheduled task.
Related repositories
- GSP – PHP panel that issues commands to the agents.
- GSP-Agent-Linux – Linux counterpart with systemd service files.
Contributing
Send pull requests through GitHub. Test installer changes on a clean Windows Server VM, keep batch files in ASCII, and update documentation/agent-guide.md whenever you modify the workflow.