Skip to main content
ONLINE PALHEAP TELEMETRY // PALWORLD FEYBREAK UE5 LINUX SERVER BASELINE: 2026-10-11 | CADENCE: 4H / 6H / 12H WATCHDOG | OOM GUARDRAIL
PalworldFey
PalworldFey Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Feybreak Fix Guides // PalHeap Telemetry

Palworld REST API & RCON Graceful Player Drain Script

Never kill PalServer cold; a 15-line REST API or RCON drain script warns players, saves Level.sav, and closes cleanly before systemd restarts the unit.

Measured Feybreak UE5 & RSS Profile

Palworld dedicated servers include both RCON (port 25575) and an HTTP REST API (port 8212) secured by AdminPassword. Binding both to localhost (127.0.0.1) lets systemd ExecStop trigger /v1/api/announce, /v1/api/save, and /v1/api/shutdown reliably.

Subsystem / SignalMeasured TargetOperational Impact
REST API Endpoint127.0.0.1:8212/v1/api/*Zero external RCON tool binary required
Pre-Restart Warning30 - 60 secondsGives players time to dismount flying Pals
Save VerificationHTTP 200 on /v1/api/saveGuarantees zero rollback across restarts

Step-by-Step Triage & Config Remediation

  1. Enable RESTAPIEnabled=True: Set RESTAPIEnabled=True and a strong AdminPassword in PalWorldSettings.ini.
  2. Firewall port 8212 to localhost: Keep RESTAPIPort=8212 reachable only by local systemd scripts or trusted admin VPNs.
  3. Hook script into ExecStop: Call /v1/api/announce, sleep 30, call /v1/api/save, then /v1/api/shutdown.
#!/usr/bin/env bash
AUTH="admin:$PAL_ADMIN_PASS"
curl -s -u "$AUTH" -X POST http://127.0.0.1:8212/v1/api/announce -d '{"message":"Restarting in 30s for memory cleanup"}'
sleep 30
curl -s -u "$AUTH" -X POST http://127.0.0.1:8212/v1/api/save
curl -s -u "$AUTH" -X POST http://127.0.0.1:8212/v1/api/shutdown -d '{"waittime":5,"message":"Saving world"}'

Diagnostic FAQ

Is REST API better than RCON for systemd scripts?

Yes, REST API works with standard curl and JSON without compiling mcrcon, and supports clean save + shutdown endpoints.

What happens if a player stays logged in during /v1/api/shutdown?

PalServer saves all player inventories and disconnects them cleanly after waittime expires.

Related Feybreak Fix Guides Guides

PalworldFey: Size UE5 leak slope + systemd restart cadence Launch Game Panel