Palworld Admin Commands: Difference between revisions
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description |
[wiki:wiki-operator] Removed the line about Pocketpair's RCON plans; kept that the REST API and Pal Command do not use RCON (Ryan yes 10/27) |
||
| Line 83: | Line 83: | ||
Over RCON you do not run <code>/AdminPassword</code> first: authentication is the RCON password itself. See [[How to use palworld rcon|How to use Palworld RCON]] for client setup. | Over RCON you do not run <code>/AdminPassword</code> first: authentication is the RCON password itself. See [[How to use palworld rcon|How to use Palworld RCON]] for client setup. | ||
The REST API below and '''Pal Command''' under '''TOOLS''' do not use RCON. | |||
== REST API == | == REST API == | ||
Revision as of 15:44, 27 October 2026
Admin commands for Palworld dedicated servers, current for game version 1.0. Palworld has no drop-down developer console: admin commands are typed into the in-game chat after logging in as admin. The same commands can also be sent from outside the game over RCON or the REST API, which is what server dashboards use.
Logging in as admin
Your server needs an admin password. On a Survival Servers instance one is set automatically. View or change it in the Admin Pass field on your server's page in the Command Center, then press Save Settings & Restart. Self-hosted servers set AdminPassword in PalWorldSettings.ini.
Open chat in-game and authenticate:
/AdminPassword yourpassword
You keep admin rights for the session. Commands start with / and are typed in chat.
Admin command list
The complete command set in game version 1.0:
| Command | What it does |
|---|---|
/AdminPassword <password> |
Logs you in as admin |
/Shutdown <seconds> <message> |
Shuts the server down after the delay, showing the message to every player first. Saves the world on the way down. Use this instead of /DoExit |
/DoExit |
Force-stops the server immediately, with no warning to players |
/Save |
Forces a world save |
/Broadcast <message> |
Sends a message to every player on the server |
/ShowPlayers |
Lists connected players with their name, player UID, and Steam ID |
/KickPlayer <SteamID> |
Kicks a player from the server |
/BanPlayer <SteamID> |
Bans a player and kicks them if online |
/UnBanPlayer <SteamID> |
Lifts a ban |
/TeleportToPlayer <SteamID> |
Teleports you to that player |
/TeleportToMe <SteamID> |
Teleports that player to you |
/Info |
Shows server name and version |
/ToggleSpectate |
Switches you into spectator mode and back |
Finding a player's ID
Run /ShowPlayers: it prints every connected player as name,playeruid,steamid. The kick, ban, and teleport commands all take the steamid value.
The REST API lists the same players with the ID in the form steam_<SteamID64>. Use that longer form in REST calls, and the plain number in chat commands.
Banning and unbanning
/BanPlayer writes the ban to the server's ban list; /UnBanPlayer removes it while the server is running. The list itself lives at:
/Pal/Saved/SaveGames/banlist.txt
You can edit that file over FTP while the server is stopped, one steam_<SteamID64> ID per line, and it loads on the next start.
On a Survival Servers instance the Pal Command tool has a Ban List on its Access tab that edits the list for you, live while the server runs or queued to apply on the next start while it is stopped.
Kicking or banning Xbox and PlayStation players
For a player who joined from Xbox or PlayStation, use the Pal Command tool on your server's page. The server must be running.
- Open Pal Command and go to Console.
- Type
/players. Each line ends with that player's ID:steam_...for Steam,gdk_...for Xbox,ps5_...for PlayStation. - Type
/kick <name or ID>or/ban <name or ID>, with a reason after it if you want one, then confirm in the window that opens.
/unban <player ID> lifts a ban. The kick and ban buttons beside a name in the Players list do the same. Access > Ban by player id also works while the server is stopped, and the ban applies at the next start.
RCON
RCON lets you send the same commands from outside the game with any Source RCON client. On Survival Servers instances RCON is enabled by default on your game port + 2, with the admin password as the RCON password. Self-hosted servers enable it in PalWorldSettings.ini:
RCONEnabled=True,RCONPort=25577
Over RCON you do not run /AdminPassword first: authentication is the RCON password itself. See How to use Palworld RCON for client setup.
The REST API below and Pal Command under TOOLS do not use RCON.
REST API
Since the 0.3 update Palworld ships an official HTTP REST API, and it is the most reliable way to automate a server. On Survival Servers instances it is enabled by default on your game port + 3; self-hosted servers set RESTAPIEnabled=True,RESTAPIPort=8212. Authentication is HTTP basic auth with username admin and your admin password.
| Endpoint | Method | What it does |
|---|---|---|
/v1/api/info |
GET | Server name and version |
/v1/api/players |
GET | Connected players with IDs, level, and location |
/v1/api/metrics |
GET | Server FPS, uptime, player count, frame time |
/v1/api/announce |
POST | Broadcasts a message: {"message":"Restart in 5 minutes"}
|
/v1/api/kick |
POST | Kicks a player: {"userid":"steam_<SteamID64>"}
|
/v1/api/ban |
POST | Bans a player (same body as kick) |
/v1/api/unban |
POST | Lifts a ban (same body) |
/v1/api/save |
POST | Forces a world save |
/v1/api/shutdown |
POST | Graceful shutdown: {"waittime":30,"message":"Server restarting"}
|
Example with curl:
curl -u admin:yourpassword -H "Content-Type: application/json" -X POST -d "{\"message\":\"Hello\"}" http://your.server.ip:8213/v1/api/announce
Pal Command
Every Survival Servers Palworld server includes Pal Command free in the Command Center. It has a live world map, player tracking, ban and whitelist managers, and Discord alerts, all built on the surfaces above, so you can run your server without being in the game.
See also
- How to Create a Palworld Server Guide
- Palworld Server Settings
- How to use palworld rcon
- How to Mod your Palworld Server Guide
Need a server? Palworld server hosting from Survival Servers comes with instant setup, Pal Command, and full admin access.