SaferRestart - Simple Server Shortcuts Tired of typing multiple commands just for routine tasks like reloading a plugin or restarting your server? SaferRestart is the solution! It's a simple, server-side utility for Spigot, Paper, and their forks that lets you bundle complex command sequences into your own easy-to-remember shortcuts. With a fully customizable config.yml, you have complete control over what your shortcuts do.
Features Fully Customizable Commands: Turn long, cumbersome command sequences into a single, memorable command. You define what each shortcut does in the config.yml!
Powerful Permission Control: Full control over who can use your custom commands. Compatible with any permissions plugin (like LuckPerms).
Extremely Lightweight & Configurable: Despite its flexibility, the plugin has a minimal performance impact. A clean config.yml makes setup a breeze.
Configuration & Commands (Examples) You can now define your own commands and the actions they perform directly in the config.yml. The following are the default configurations provided as an example:
/saferl
Default Action: Executes /geyser reload and then /reload in sequence.
Default Permission: saferrestart.reload
/saferestart
Default Action: Executes the /stop command to allow your start script to handle a proper, safe restart.
Default Permission: saferrestart.use
⚠️ Important Warning About /reload The default /saferl command uses the vanilla /reload command. Using /reload on production servers is not recommended. It can lead to severe issues like memory leaks, broken plugins, and data corruption.
A full, proper restart via the /stop command or an external restart script is always the safer and more reliable method. Use any command that executes /reload at your own risk!
Setup Download the .jar file from the "Versions" tab.
Place the .jar into your server's /plugins folder.
Restart your server. The plugin will generate its config.yml.
Open plugins/SaferRestart/config.yml to customize your commands and actions.
Assign the corresponding permissions (e.g., saferrestart.reload, saferrestart.use, or your custom ones) to the desired groups or players.
Compatibility Server-Side Only: This plugin only needs to be installed on the server.
Supported Software: Works on Spigot, Paper, Purpur, and any other server software that supports the Bukkit/Spigot plugin API.
Dependencies: The default /saferl command requires the Geyser plugin. Your custom commands will only have the dependencies you define yourself.