/> />

How to Automatically Restart Your Minecraft Server

Managing your Server

·

Sep 19, 2024

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 lag frequently, or this can even crash the server. 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 Shockbyte Panel to restart your server automatically. This is made possible through the Quick Actions feature available on the panel.


How to Setup Automatic Scheduled Restarts

Step 1:

Navigate to the Shockbyte Panel and open up your server.

A Shockbyte server as seen in the Shockbyte panel.
Step 2:

Navigate to the Tasks tab on the left menu.

Opening up the Tasks tab on the Shockbyte Panel.
Step 3:

Locate the Send Restart quick action, and click Configure.

Configuring a Quick Action on the Shockbyte Panel.
Step 4:

Create a name for your quick action, and click Save.

Configuring a task in the Shockbyte Panel.

The name that you set for the task does not matter, as it is entirely cosmetic - however we will name it Automatic Restarts for the purpose of this tutorial.

Step 5:

Navigate to the My Tasks tab and click the clock icon next to your new task.

Configuring a Scheduled Task on the Shockbyte Panel.
Step 6:

There are no arguments for this quick action, so click Next Step.

Clicking Next Step on the scheduled task creation modal.
Step 7:

Set the schedule to whatever works best for your server and click Schedule.

Scheduling a time for a task within the Shockbyte Panel.

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


Zach's Avatar
Zach Lowery

Game Experience Engineer