Palworld: How to Use RCON and the REST API

How to connect RCON and REST API tools to your DatHost Palworld server, where to find the address, port and password, and what to do if it fails.

RCON and the REST API let tools like admin panels and Discord bots run commands on your server without being in the game.

RCON is being replaced. Pocketpair has deprecated RCON and says it will stop working in a future Palworld update. It still works for now, but use the REST API for anything new.

Just want to run a command? You don't need either. Type it on the Console page in the control panel, or in game after /AdminPassword . See Palworld: How to Become Admin.

What you need

  1. Go to your DatHost Control Panel and click Edit on your Palworld server.
  2. Password: open Settings. On the Server tab, set an Admin/RCON Password. Save changes, then restart the server.
  3. Address and port: click the server address under your server's name, then open Details. RCON shows the address and port, for example snowcap.dathost.net:29216 . In most tools, the part before the :   is the address and the number after it is the port.

Palworld server address box with Details open, showing the Query and RCON addresse

The game port players join on won't work for RCON or the REST API. Use the port listed for each.

Turn on the REST API

  1. Open Settings. On the Server tab, turn on Enable REST API.
  2. Save changes, then restart the server. The REST API port then shows under Details in the address box.
  3. In your tool, log in with the username admin  and your Admin/RCON Password.

Palworld Settings, Server tab, with Enable REST API and Enable Game Data API

Enable Game Data API, just below, adds a live snapshot of players, Pals, bases and server performance for tools that use it. It needs the REST API on. Its data can include player IP addresses and IDs, so only turn it on if your tool needs it.

Keep it safe. Pocketpair says the REST API isn't designed to be open to the internet. Anyone with your Admin/RCON Password can control your server, so use a strong password, only share it with tools you trust, and turn the REST API off when you don't need it.

See Pocketpair's REST API guide for the commands it supports.

RCON and REST API tools

We don't make or support these tools, so use them at your own risk.

Because RCON is being replaced, check that a tool also supports the REST API before you set it up.

Troubleshooting

"Connection refused" or the tool can't connect.

  • Server Auto Pause is on. When nobody is online, the server pauses and RCON and the REST API stop answering. Join the server to wake it, or turn off Server Auto Pause in Settings if your tool needs to connect while it's empty.
  • Wrong port. Use the RCON or REST API port, not the game port.
  • REST API not turned on. Turn on Enable REST API and restart.

"Wrong password" or "unauthorized". Use the Admin/RCON Password, not the Server Password players join with. For the REST API, the username is admin  .

Still stuck? Contact support with the tool you're using and the error it shows.

Don't have a Palworld server yet? Get one at DatHost

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us