Set Up Automatic Restarts for Your Empyrion Server
Empyrion supports two methods for scheduling automatic restarts. The first uses a setting in dedicated_config.yaml and sends players an in-game warning before restarting. The second uses the panel's Scheduled Tasks feature for time-based restarts with more scheduling options.
Method 1: Stop Period in dedicated_config.yaml (with in-game warning)
This method lets the game itself handle restarts and notifies players before they happen.
- Log in to the control panel and navigate to your Empyrion hosting service.
- Stop your server.
- Open the Configuration Files menu.
- Click Config Editor next to
dedicated_config.yaml. - Find the Stop Period (hours) setting. This controls how often the server restarts. For example, a value of
12restarts the server every 12 hours. - Save the config and start your server.
Method 2: Scheduled Tasks in the control panel
This method gives you more control over the exact time and frequency of restarts.
- Log in to the control panel and navigate to your server.
- Click the Scheduled Tasks icon on the left side.
- Click New at the top and choose Scheduled Start/Stop/Restart, then click New in that section.
- Give the task a descriptive name and check the Enabled box.
- Set Type to Daily to restart at the same time each day.
- Set the start date and time. The panel uses its own time zone; check the panel time zone article if you need to align this with your local time.
- Expand Advanced Options to configure the action type or set the task to wait until the server is empty before restarting.
- Click Save.
To repeat the restart every few hours within a day (for example every 6 hours), enable the Repeat Task option and set the interval.
See server not starting if the server does not come back up after a scheduled restart.