Skip to content
/SLASHPLAY

How to change the port of a 7 Days to Die server

On SLASHPLAY you don't: it sets ServerPort on every start. Players use the port in the address on the server page.

ServerPort

The port the server listens on. Default 26900.

<property name="ServerPort" value="<number>"/>

Examples

<property name="ServerPort" value="26900"/>

The game's default.

What it does

On SLASHPLAY the port is part of the address on the server page.

Good to know

  • SLASHPLAY sets the ports. Changing them here stops players from connecting.
  • SLASHPLAY writes it on every start, so a change here is replaced.

Run it on your server

Admin commands are typed in the in-game console (F1) by a player on the admin list in UserData/Saves/serveradmin.xml; the server page's Console tab shows the server's output but can't send commands. Settings go in sdtd.xml on the Files tab and apply at the next start. New to this? Start a 7 Days to Die server first.

Your own
7 Days to Die server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.