Operations & recovery ​
All examples use the server console. In game, prefix the command with /; the management ACE is required. Resource names are explicit arguments.
softrestart plan my_restart_safe_script
softrestart begin my_restart_safe_script
softrestart status
plan validates the allowlist, protections, dependencies and current resource states before any maintenance starts. begin reloads the versions already on disk. Plan the complete intended target set; providers cannot stop while running dependants outside that plan rely on them.
Deploy changed files ​
softrestart stage my_restart_safe_script
softrestart status
softrestart continue <runId>
Staging requires add_ace resource.np_softrestart command.refresh allow; the coordinator checks it before accepting the run and again on Continue. Wait for awaiting_deploy before replacing target files. Copy through your normal deployment tooling, then continue with the exact current run ID. Continue refreshes and validates current manifests and dependencies. Invalid deployment remains in awaiting_deploy; fix or revert files before retrying within the hold budget. A changed client target set (such as a server_only transition) must be reverted and scheduled in a new run. Keep the coordinator and all protected foundations running. A staged hold expires; configure the budget to cover your deployment.
Lifecycle ​
A run moves through preparing, stopping, optional awaiting_deploy, starting, and restoring. It captures its participants once, blocks joins during maintenance, and removes disconnected participants from readiness waits. Clients acknowledge preparation, observed target lifecycle and collision restoration. These acknowledgements never supply authoritative positions, health or inventory.
Resources stop in reverse dependency order and start in dependency order. Prepared adapters resume in reverse preparation order. Server snapshots restore only the same player session. Existing peds, vehicles and gameplay properties are not replaced with generic reconstruction. On-foot players return to their saved positions; occupied live vehicles are preserved without generic repositioning. A changed participant ped blocks restoration: restore the original ped or use an operator-directed reconnect/recovery procedure for that affected player.
Abort and failures ​
softrestart abort <runId>
Before targets stop, abort releases the prepared session. After stopping begins, abort attempts to start targets and restore prepared integrations. Inspect console errors and status before taking further action. Idle status includes the most recent lastResult with outcome completed, recovered or aborted and an optional error; recovery is distinct from the intended update completing. If recovery or an adapter resume fails, maintenance remains locked for explicit operator recovery; a timeout is not permission to resume broken gameplay.
A soft restart is not persistent disaster recovery. Its snapshots live in memory and cannot survive an FXServer process restart. If the coordinator itself must stop, its cleanup releases the maintenance state it owns, but that does not repair a partially deployed resource set.
Live validation checklist ​
Test successful reload, staged deployment, abort before and after stopping, slow or dropped clients, resource startup failures, adapter errors and joins during maintenance. Check ongoing gameplay, transactions, vehicle occupants, routing buckets and third-party UI/focus behavior. Mocked tests do not establish compatibility with your live server or all asset changes.