Skip to content
Hosting · Server setup

Auto-restart: why and how to set it up

Why a nightly restart is useful for a server, how to set it in the Millida schedule, and how to warn players without plugins.

Updated October 13, 2026

A daily restart is the cheapest preventive maintenance there is. It clears accumulated plugin memory leaks, removes stuck entities and brings TPS back to normal.

How to set it up

Section “Automation and log” → “Schedule” → add a “Restart” task and specify the time. The schedule uses Moscow time — Schedule.

A good time is night in your audience's time zone: 4–6 a.m. A bad one is evening and weekend prime time.

How often

Server typeFrequency
Vanilla and lightweight pluginsonce every 2–3 days
Survival with 20+ pluginsonce a day
Modpackonce a day
Server with a known leakonce every 6–12 hours until you find the cause

An hourly restart is not a solution, it's a cover-up. If your server can't stay up for a day, find the cause: OutOfMemoryError, Profiling.

Warning players

The panel sends stop correctly, but players will still see a disconnect without warning. To avoid that, add commands to the schedule a few minutes before:

say Restart in 5 minutes
say Restart in 1 minute

Auto-restart plugins (for example, from EssentialsX bundles) can show a countdown and on-screen titles.

After the restart

The server comes up in 10–60 seconds, a modpack — up to a few minutes. Players who hit “Join” too early will get Connection refused — that's normal, they just need to wait.

Minecraft hostingYour server runs while you are offlineCreate server