Palworld Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[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)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
Line 1: Line 1:
{{#seo:
{{#seo:
|title=Palworld Admin Commands: Console, RCON & REST API Reference (1.0)
|title=Palworld Admin Commands: Chat Commands, RCON and REST API
|description=Every Palworld dedicated server admin command for game version 1.0: chat commands, finding Steam IDs, banning and unbanning, RCON setup and the REST API.
|description=Every Palworld dedicated server admin command for game version 1.0: chat commands, finding Steam IDs, banning and unbanning, RCON setup and the REST API.
}}
}}
Line 7: Line 7:
== Logging in as admin ==
== 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 [https://www.survivalservers.com/sspanel/ Command Center], then press '''Save Settings & Restart'''. Self-hosted servers set <code>AdminPassword</code> in <code>PalWorldSettings.ini</code>.
Your server needs an admin password. On a Survival Servers server, one is set automatically. View or change it in the '''Admin Pass''' field on the Game Server page in the [https://www.survivalservers.com/sspanel/ Command Center], then click '''Save Settings & Restart'''. Self-hosted servers set <code>AdminPassword</code> in <code>PalWorldSettings.ini</code>.


Open chat in-game and authenticate:
Open chat in game and log in:


  /AdminPassword yourpassword
  /AdminPassword yourpassword
Line 57: Line 57:
== Banning and unbanning ==
== Banning and unbanning ==


<code>/BanPlayer</code> writes the ban to the server's ban list; <code>/UnBanPlayer</code> removes it while the server is running. The list itself lives at:
<code>/BanPlayer</code> writes the ban to the server's ban list. <code>/UnBanPlayer</code> removes it while the server is running. The list itself lives at:


  /Pal/Saved/SaveGames/banlist.txt
  /Pal/Saved/SaveGames/banlist.txt
Line 63: Line 63:
You can edit that file over [[FTP Access|FTP]] while the server is stopped, one <code>steam_&lt;SteamID64&gt;</code> ID per line, and it loads on the next start.
You can edit that file over [[FTP Access|FTP]] while the server is stopped, one <code>steam_&lt;SteamID64&gt;</code> 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.
On a Survival Servers server, the '''Pal Command''' tool has a '''Ban List''' on its '''Access''' tab that edits the list for you. Changes apply live while the server runs, or on the next start while it's stopped.


=== Kicking or banning Xbox and&nbsp;PlayStation&nbsp;players ===
=== Kicking or banning Xbox and&nbsp;PlayStation&nbsp;players ===


For a player who joined from Xbox or PlayStation, use the '''Pal Command''' tool on your server's page. The server must&nbsp;be&nbsp;running.
For a player who joined from Xbox or PlayStation, use the '''Pal Command''' tool on the Game Server page. The server must&nbsp;be&nbsp;running.


# Open '''Pal Command''' and go&nbsp;to&nbsp;'''Console'''.
# Open '''Pal Command''' and go&nbsp;to&nbsp;'''Console'''.
Line 77: Line 77:
== RCON ==
== 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 <code>PalWorldSettings.ini</code>:
RCON lets you send the same commands from outside the game with any Source RCON client. On a Survival Servers server, RCON is on by default on '''your game port + 2''', with the admin password as the RCON password. If you host it yourself, turn it on in <code>PalWorldSettings.ini</code>:


<pre>RCONEnabled=True,RCONPort=25577</pre>
<pre>RCONEnabled=True,RCONPort=25577</pre>


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 don't run <code>/AdminPassword</code> first: the RCON password logs you in. How to set up an RCON program: [[How to use palworld rcon|How to use Palworld RCON]].


The REST API below and '''Pal Command''' under '''TOOLS''' do not use RCON.
The REST API and '''Pal Command''' under '''TOOLS''' don't use RCON.


== REST API ==
== 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 <code>RESTAPIEnabled=True,RESTAPIPort=8212</code>. Authentication is HTTP basic auth with username <code>admin</code> and your admin password.
Since the 0.3 update, Palworld has an official HTTP REST API, and it's the most reliable way to automate a server. On a Survival Servers server, it's on by default on '''your game port + 3'''. If you host it yourself, set <code>RESTAPIEnabled=True,RESTAPIPort=8212</code>. It logs in with HTTP basic auth, using the username <code>admin</code> and your admin password.


{| class="wikitable"
{| class="wikitable"
Line 117: Line 117:
== Pal Command ==
== 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.
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, so you can run your server without being in the game.


== See also ==
== See also ==
Line 126: Line 126:
:[[How to Mod your Palworld Server Guide]]
:[[How to Mod your Palworld Server Guide]]


Need a server? [https://www.survivalservers.com/services/game_servers/palworld/ Palworld server hosting] from Survival Servers comes with instant setup, Pal Command, and full admin access.
[https://www.survivalservers.com/services/game_servers/palworld/ Palworld server hosting] from Survival Servers comes with instant setup, Pal Command, and full admin access.

Latest revision as of 09:02, 17 November 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 server, one is set automatically. View or change it in the Admin Pass field on the Game Server page in the Command Center, then click Save Settings & Restart. Self-hosted servers set AdminPassword in PalWorldSettings.ini.

Open chat in game and log in:

/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 server, the Pal Command tool has a Ban List on its Access tab that edits the list for you. Changes apply live while the server runs, or on the next start while it's stopped.

Kicking or banning Xbox and PlayStation players

For a player who joined from Xbox or PlayStation, use the Pal Command tool on the Game Server page. The server must be running.

  1. Open Pal Command and go to Console.
  2. Type /players. Each line ends with that player's ID: steam_... for Steam, gdk_... for Xbox, ps5_... for PlayStation.
  3. 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 a Survival Servers server, RCON is on by default on your game port + 2, with the admin password as the RCON password. If you host it yourself, turn it on in PalWorldSettings.ini:

RCONEnabled=True,RCONPort=25577

Over RCON, you don't run /AdminPassword first: the RCON password logs you in. How to set up an RCON program: How to use Palworld RCON.

The REST API and Pal Command under TOOLS don't use RCON.

REST API

Since the 0.3 update, Palworld has an official HTTP REST API, and it's the most reliable way to automate a server. On a Survival Servers server, it's on by default on your game port + 3. If you host it yourself, set RESTAPIEnabled=True,RESTAPIPort=8212. It logs in with HTTP basic auth, using the 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, 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

Palworld server hosting from Survival Servers comes with instant setup, Pal Command, and full admin access.