RestartOnEmpty icon

RestartOnEmpty -----

Restart your server when it's empty!



A simple, lightweight plugin to restart your server when it's empty!

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.
Commands
  • /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.
Setup
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.
If you're running the server through a panel:
  • 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.
Resource Information
Author:
----------
Total Downloads: 6
First Release: May 22, 2025
Last Update: May 22, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings