JAutoRestart - The Ultimate Server Restart Solution
Keep your Minecraft server running at peak performance with
JAutoRestart, the intelligent auto-restart plugin designed to combat lag and maintain stability effortlessly! Whether you need scheduled resets, lag-triggered restarts, or a seamless configuration experience, this plugin has you covered.
Key Features: Scheduled Restarts – Set automatic restarts at precise times.
(Tested) Interval-Based Restarts – Restart your server at fixed time gaps.
(Tested) TPS Monitoring – Detects low TPS and takes action.
(Not tested!) Lag-Triggered Auto-Restart – Ensures smooth performance.
(Not tested!) Inactivity-Based Restarts – Shuts down an empty server to save resources.
(Tested) Intuitive GUI – Easily configure everything with a sleek in-game menu.
BungeeCord Support – Works seamlessly across networks.
(Tested) Customizable Alerts – Notify players before restarts with tailored messages.
(Tested) Fully Configurable Messages – Personalize every aspect to fit your server.
(Tested)
(Not tested!) If you have time, please test it and let me know in the comments.
# Server lag detection settings
lag_detection:
enabled: true
threshold: 15.0 # TPS threshold to trigger restart
check_interval: 60 # Check interval in seconds
consecutive_checks: 3 # Number of consecutive low TPS checks before restarting
# Inactivity restart settings
inactivity_restart:
enabled: true
threshold_minutes: 30 # Restart after X minutes of inactivity
check_interval: 300 # Check interval in seconds
delay: 30 # Countdown seconds before restart
# BungeeCord/proxy settings
bungeecord:
enabled: false
show_other_servers: true # Show notifications for other servers' restarts
# Update checker settings
update_checker:
enabled: true
check_interval: 86400 # Check for updates every 24 hours
messages:
restart_initiated: "<gold>Server restart initiated! Server will restart in <white>{seconds}</white> seconds."
restart_cancelled: "<green>Server restart has been cancelled."
restart_cancelled_broadcast: "<green>The scheduled server restart has been cancelled."
restart_in_progress: "<yellow>A server restart is currently in progress."
no_restart_in_progress: "<yellow>There is no restart in progress to cancel."
config_reloaded: "<green>JAutoRestart configuration has been reloaded."
no_permission: "<red>You don't have permission to use this command."
invalid_number: "<red>Invalid number. Please enter a valid number of seconds."
only_players: "<red>This command can only be used by players."
restart_seconds: "<yellow>Server restarting in <bold>{seconds}</bold> seconds!"
restart_minutes: "<yellow>Server restarting in <bold>{minutes}</bold> minutes!"
restart_title: "<red>Server Restarting"
restart_subtitle: "<yellow>In {seconds} seconds"
action_bar_countdown: "<red>Server restarting in {seconds}..."
tps_monitor_enabled: "<green>TPS monitor has been enabled."
tps_monitor_disabled: "<yellow>TPS monitor has been disabled."
update_available: "<gold>A new version of JAutoRestart (v{version}) is available!"
no_update_available: "<green>You are running the latest version of JAutoRestart."
proxy_restart_notification: "<gray>Server <gold>{server}</gold> is restarting in {seconds} seconds."
proxy_restart_cancelled: "<gray>Restart on server <gold>{server}</gold> has been cancelled."
Commands: /jautorestart – Displays the help menu.
/jautorestart restart [seconds] – Triggers a restart countdown.
/jautorestart cancel – Cancels an active restart.
/jautorestart reload – Reloads the configuration.
/jautorestart gui – Opens the easy-to-use configuration GUI.
/jautorestart update – Checks for the latest version.