ModsJava
RestartOnEmpty
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotA simple, lightweight plugin to restart your server when it's empty!
Requirements
This plugin is extremely lightweight and does not contain any configuration options.
If you're running a Spigot/Paper/Purpur server standalone, then you need to:
Requirements
- A Spigot (or Spigot fork) server of version 1.18 or higher
- Either a panel/process manager that will automatically restart the server when it stops, or a correctly configured startup script defined in settings.restart-script of your spigot.yml.
- /restartonempty [true/false/status]
- Permission: restartonempty.use (default: op)
- Running the command without an argument will toggle whether the server will restart on empty.
- Running it with a true/false argument will set whether the server will restart on empty.
- Running /restartonempty status will return whether the server will restart on empty.
This plugin is extremely lightweight and does not contain any configuration options.
If you're running a Spigot/Paper/Purpur server standalone, then you need to:
- Write a startup script for your server (options exist online if you don't know how to do this)
- Place this script into the root folder of your server (the folder that your server.jar is in)
- Change the restart-script option of your spigot.yml to the name of that script.
- This plugin does not support Multicraft, as it cannot, by default, automatically restart a server when it stops.
- If you're using PufferPanel, go into your server's settings -> Autostart Conditions -> enable "Restart the server when it stops normally".
- If you're using PM2, the server should automatically restart when it stops by default.
- Other process managers and panels may or may not be able to do this. I cannot provide support about these.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
RestartOnEmpty is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 98 times (via Spigot). Download it and open it directly in the game.