How can I make automated Restarts?

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.
  2. On the Scheduled Tasks page, click on 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:
  4. 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.
  5. 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. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

"MinecraftForgeUniversal" is missing essential files!

If you're trying to install Minecraft Forge Universal, or some other Forge based mod packs you...

How can I make automated backups?

Having backups of your world is essential for any casual or popular servers. Though Multicraft...

Manually Backup Server Map

Note: You can restore your map in the backup page1. Login to Multicraft Panel2. Locate &...

Mods not spawning?

Having issues with mods not spawning? you will need to install a plugin that integrates the...

How to install plugins?

We do not offer installation by our support staff, however you can use the Bukget plugin...