Saferl
PluginLicenseRef-All-Rights-Reserved

Saferl

This plugin reloads geyser and your mc server with: /saferl

97
Downloads
0
Followers
8 months ago
Updated
📦
5
Versions

📖About Saferl

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 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

  1. Download the .jar file from the "Versions" tab.
  2. Place the .jar into your server's /plugins folder.
  3. Restart your server. The plugin will generate its config.yml.
  4. Open plugins/SaferRestart/config.yml to customize your commands and actions.
  5. 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.