Skip to content
Back to Homepage

How to Optimize Your 7 Days to Die Server

7 Days to Die servers can consume a lot of RAM. If you’re experiencing crashing or looking to optimize with a Pay as You Go plan, our guide is a great place to start to look at what settings can add RAM usage

7 Days to Die has user configurable caps for the maximum allowed view distance (how far a player can see into the distance) and the amount of animals and zombies on the map. Changing these will directly impact performance as the server has less to keep track of in RAM.

  1. Open the Blacksmith's Portal

  2. Go to Files

  3. Open serverconfig.xml

  4. Find the following three values, MaxSpawnedZombies, MaxSpawnedAnimals, and ServerMaxAllowedViewDistance

  5. Change these values to an amount you are comfortable with for your game. Changing the view distance will have an exponential effect on RAM usage as it is a radius.

  6. Restart your server to apply the changes

If you choose Random World Generation (RWG), you have the option to set a size for the world. Smaller worlds will use less RAM since there is less for the game to keep track of. Here’s how to change world sizes.

  1. Open the Blacksmith's Portal

  2. Go to Startup

  3. Change the World Map to RWG

  4. Change World Map Size to your desired map size. Larger values will use more server resources.

  5. Change World Name to force the server to generate a new world

  6. Restart your server

Restarting your server regularly is a great way of clearing out cached resources that aren’t necessary anymore. Fortunately, we can automate this process by scheduling restarts with the AleForge Panel.

  1. Open the Blacksmith's Portal

  2. Click Schedules

  3. Click Create Schedule . To restart at midnight UTC, set the Cronjob timer to 0 0 * * *

  4. Click New Task

  5. Change the dropdown to Send Power Action and set the power action to Restart Server

  6. Your server will now automatically restart once a day, at midnight UTC.