Add --server headless dedicated-server CLI flag #1
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/veilwalkers#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
README notes that a
--serverCLI flag is "a good first mod" (seescripts/autoload/network_manager.gd). Currently hosting a headless server requires opening the editor or a display and clicking through the host menu.Landable scope:
--server(and optionally--port) innetwork_manager.gd_readyhost_game()with no UIgodot --headless -- --serverImplemented in commit
846be80on main.scripts/autoload/network_manager.gd::_maybe_autohost_from_cli()parses--server(and optional--port) in_ready, callshost_game(port), thenchange_scene_to_file.call_deferred(WORLD_SCENE_PATH)so the autoload boot finishes before the world scene loads — same flow as the main menu host button.Usage:
README running section updated. Verified locally:
godot --headless --path . --import --quitandgodot --headless --path . -- --server --port 54321both boot clean (no SCRIPT ERROR / Parse Error, nopush_error).