Compatibility
Minecraft: Java Edition
26.1.2
Platforms
Tags
Creators
Details
Licensed ARR
Published 2 days ago
By default, your Minecraft server will shut down completely when it stops — whether from a crash, a command, or a plugin like OneLife triggering a world reset. To fix this, you need to set up a restart loop in your start.bat file. This is a simple Windows batch script that automatically relaunches the server every time it stops, with a 5 second delay in between. Without this, the OneLife plugin will delete the world but the server will never come back online, leaving your players unable to reconnect. Replace your current start.bat with the script below and you're good to go. @echo off :start java -Xmx2G -jar spigot-26.1.2.jar nogui echo Server gestopt. Herstart over 5 seconden... timeout /t 5 goto start


