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
View Distance & Maximum Entities
Section titled “View Distance & Maximum Entities”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.
Open the Blacksmith's Portal
Go to
FilesOpen
serverconfig.xmlFind the following three values,
MaxSpawnedZombies,MaxSpawnedAnimals, andServerMaxAllowedViewDistanceChange 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.
Restart your server to apply the changes
World Size
Section titled “World Size”Changing world size requires generating a new world. This is best done before you start playing on your server.
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.
Open the Blacksmith's Portal
Go to
StartupChange the
World MaptoRWGChange
World Map Sizeto your desired map size. Larger values will use more server resources.Change
World Nameto force the server to generate a new worldRestart your server
Scheduled Restarts
Section titled “Scheduled Restarts”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.
Open the Blacksmith's Portal
Click
SchedulesClick
Create Schedule. To restart at midnight UTC, set the Cronjob timer to 0 0 * * *Click
New TaskChange the dropdown to
Send Power Actionand set the power action toRestart ServerYour server will now automatically restart once a day, at midnight UTC.