Skip to main content

A turnkey game server with an integrated management panel.

Discover our game servers

Configure automatic restart

Restarting your game server regularly frees memory and prevents slowdowns. The YorkHost Panel has a dedicated assistant, Auto restart, that warns players before the restart and can take a backup along the way. You can also create the schedule yourself from the Schedules tab.

With the Auto restart assistant (recommended)​

  1. Log in to the YorkHost Panel:
  2. Select your server
  3. Go to Advanced → Auto restart
  4. Under When, choose how often:
    • Every day: a Restart time, for example 05:00
    • Specific days: the time, then tick the Days (Mon, Tue…)
    • Every N hours: an Interval (every 1, 2, 3, 4, 6, 8 or 12h) and the time of one of the restarts, used as the reference for the others
  5. Set the Player announcements (see below)
  6. Under Options, turn on if needed:
    • Backup before restart: a backup starts when the announcements begin (5 minutes before the restart if there are none), so it finishes by the restart. If your plan's backup limit is reached, the oldest unlocked backup is replaced
    • Only if the server is online: a stopped server stays stopped instead of being started by the restart
    • Enabled: turning it off pauses the restart without deleting it
  7. Check the Sequence block, which sums up the steps (announcements, backup, restart)
  8. Click Create scheduled restart

The top of the page then shows Active schedule and the date of the Next restart. To change the setup, edit the values and click Save; to stop it for good, click Delete.

Time zone

The times you enter are the panel's: its time zone and the current time are shown under the field. If your browser is set to another time zone, the page tells you.

Player announcements​

By default, the assistant warns players 15, 5 and 1 minute before the restart with the message The server restarts in {minutes} min..

  • Detected game: the panel recognises the server's game and fills in the matching Announcement command (for example say {message} for Minecraft, Rust, Terraria or Source games, broadcast {message} for ARK). {message} is replaced by the Announcement text, and {minutes} by the minutes remaining
  • Minutes before restart: you can add or remove announcements (5 at most, the earliest 60 minutes before at most)
  • If the game is not recognised, enter your game's announcement command yourself. Leave it empty to restart without warning
  • Some games have no announcement command usable from the console (Palworld, Valheim, Satisfactory, Enshrouded…): the server then restarts without an announcement
  • FiveM: the server console is txAdmin's, which doesn't relay messages to players. For in-game announcements, use txAdmin's scheduled restarts instead
Permissions

Announcements require permission to send console commands. A subuser without the schedule or restart permissions sees the page as read only.

With Schedules​

The assistant creates a regular schedule, named "Redémarrage quotidien (YorkHost)", which you will find under Advanced → Schedules (View in Schedules button in the assistant). If you change it from the Schedules page, the assistant warns you: saving from Auto restart will replace its timing and tasks.

To create a restart schedule yourself:

  1. Go to Advanced → Schedules
  2. Click Create schedule
  3. Fill in:
    • Schedule name: for example "Daily restart"
    • Minute: 0
    • Hour: 5 (for a restart at 5 AM)
    • Day of month: *
    • Month: *
    • Day of week: *
  4. Leave Schedule Enabled ticked, and tick Only When Server Is Online if a stopped server should stay stopped
  5. Click Create schedule
  6. Open the schedule, then click New Task:
    • Action: Send power action
    • Payload: Restart the server
    • Time offset (in seconds): 0
  7. Click Create Task

To warn players, add a Send command task before the restart (for example say Restart in 5 minutes) and give the restart a Time offset (in seconds): it applies after the previous task, up to 900 seconds. The Show Cheatsheet button gives CRON syntax examples, and Run Now lets you test the schedule.

CRON syntax examples​

NeedMinuteHourDay of monthMonthDay of week
Every day at 6:00 AM06***
Every 6 hours0*/6***
Every Monday at 4:30 AM304**1
tip

Pick an off-peak time (night) so you don't disturb players. For most servers, one restart a day is enough.