Skip to content
/SLASHPLAY

How to change a setting in game in 7 Days to Die

As an admin, type setgamepref BedrollDeadZoneSize 30 (or sg) in the in-game console (F1).

setgamepref

Sets a game preference on the running server.

setgamepref <game pref> <value>

Examples

setgamepref BedrollDeadZoneSize 30

The example in serverconfig.xml.

Arguments

game prefRequired
The preference name.
valueRequired
Its new value.

What it does

Some settings can't be changed for an existing world in the config; the shipped serverconfig.xml suggests this command for at least some of them.

Good to know

  • Type it in the in-game console (F1) as an admin from serveradmin.xml. SLASHPLAY's **Console** tab shows the server's output but can't send commands to 7 Days to Die.
  • Only admins can run it by default (permission level 0); commandpermission changes that.
  • sg is the short name.
  • To keep a value for the next start, also set it in sdtd.xml.

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.