How to Automatically Restart your Minecraft Server

When your Minecraft server has been running for an extended period of time, sometimes processes and other server data end up overusing its RAM. When your server runs out of RAM, you may start experiencing lags frequently, or this can even crash. However, this can easily be resolved by restarting your server regularly. 

Restarting your server once in a while allows the RAM used by Minecraft to clear out useless and old data from when your players disconnect, chunks, entities, etc. (Tip: How often you should restart your Minecraft server)

You can use your Multicraft server panel to automatically restarting your server. This is made possible through the Scheduled Tasks feature available on the panel. 

HOW TO SETUP AUTOMATIC SCHEDULED RESTARTS

  1. On your Multicraft panel, navigate to Advanced > Scheduled Tasks.

    Automatic restart - navigate to Scheduled Tasks

  2. On the Scheduled Tasks page, click on New Task.

    Automatic restart - new task

  3. On the New Task page, fill out the necessary entries based on how often you want your server to restart, when/what time, and more. Below are example entries for creating a scheduled automatic restart task for your Minecraft server:

    Automatic restart - setup task options

    Here is a breakdown of the options for creating a new scheduled task and what they're for: 

    • Name: Fill this out with how you want to call your task e.g. Automatic Server Restart
    • Status: Select Scheduled from the dropdown list so that the task will automatically run based on its schedule.
    • Scheduled Time: Set the time for when your server will begin the auto restart task. Note that the time uses the timezone of the server, not your local timezone. 
    • Interval: Checking the box and set the interval to how often you would like your server to restart.
    • Command: From the dropdown list, select ``Restart``.
    • Arguments: Leave this blank.
    • Run For: Select ``Server`` from the dropdown list.

    In the example above, the server is scheduled to restart daily at 5:00 AM starting January 31st, 2019

  4. Once you've set the new task based on your preferences, click the Create button to create your new scheduled task. 

You're done! Your server will automatically restart on your specified schedule. 

If you need assistance with your scheduled tasks, feel free to contact our support team


RELATED ARTICLE:

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • scheduled tasks, server management, restart, minecraft server, Multicraft
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Multicraft User Roles

You can allow a friend or another user to manage your server by adding them as a additional user...

Creating a MySQL Database

Every server comes with a free MySQL Database. This database can be managed in the Multicraft...

Giving Operator (OP) to a Player

We have a video tutorial for giving OP to a player:   An operator (OP) is someone who has...

Adding Extra Control Panel Users

We have a video tutorial on how to add users on Multicraft:   You can give a friend or server...

How to Manually Backup Your Minecraft Server

We have a video tutorial for creating a backup:   Backups can be used to recover your server...