ZAutoRestarter - Minecraft Server Auto-Restart Plugin icon

ZAutoRestarter - Minecraft Server Auto-Restart Plugin -----

ᴀᴜᴛᴏᴍᴀᴛɪᴄ sᴇʀᴠᴇʀ ʀᴇsᴛᴀʀᴛs & ᴄʀᴀsʜ ᴅᴇᴛᴇᴄᴛɪᴏɴ



ZAutoRestarter
Automatic Server Restarts & Crash Detection

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✨ Features
  • Scheduled Restarts - Set multiple daily restart times
  • Crash Detection - TPS monitoring with automatic recovery
  • Player Notifications - Title, chat & sound warnings
  • ⚡ Manual Controls - Instant restart commands
  • ️ Custom Scripts - Support for external restart scripts
  • World Saving - Automatic world backup before restart

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Commands & Permissions
Command Description Permission
/zrestart now Restart server immediately zautorestarter.restart
/zrestart cancel Cancel pending restart zautorestarter.restart
/zrestart schedule <minutes> Schedule one-time restart zautorestarter.restart
/zrestart status Show plugin status & TPS zautorestarter.restart
/zrestart reload Reload configuration zautorestarter.restart

Permissions:
  • zautorestarter.* - All permissions (default: op)
  • zautorestarter.restart - Use restart commands (default: op)
  • zautorestarter.admin - Admin commands (default: op)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Player Messages
  • &e&l⚠ SERVER RESTART ⚠
    &7Restarting in &c{time}&7!
  • &c&lServer Restart
    &7Reconnect in a few moments!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Requirements
  • Minecraft: 1.16+ (Spigot/Paper)
  • Java: 8 or higher
  • Server Software: Spigot, Paper, or compatible forks

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ Configuration
Code (Text):

restart:
  scheduled-times:
    - "03:00"  # 3 AM
    - "12:00"  # 12 PM
    - "18:00"  # 6 PM

  warning-intervals:
    - 1800  # 30 minutes
    - 900   # 15 minutes
    - 300   # 5 minutes
    - 60    # 1 minute
    - 10    # 10 seconds

crash-detection:
  enabled: true
  tps-threshold: 15.0
  grace-period: 300

notifications:
  sound:
    enabled: true
    type: "BLOCK_NOTE_BLOCK_BELL"
  title:
    enabled: true
 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Installation
  1. Download zautorestarter-1.0.0.jar from the target/ folder
  2. Place in your plugins/ directory
  3. Restart your server
  4. Configure plugins/zautorestarter/config.yml
  5. Test with /zrestart status

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

How It Works
Scheduled Restarts
  • Monitors server time and triggers restarts at configured intervals

Crash Detection
  • Continuously monitors TPS - restarts if below threshold too long

Graceful Shutdown
  • Warns players → Saves worlds → Kicks players → Restarts server

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

License & Author
Made with ❤️ by GamingHuzai
  • Copyright © GamingHuzai - All rights reserved
  • Version: 1.0.0
  • Discord: Huzai Dev Console

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Plugin tested on Spigot & Paper servers
Resource Information
Author:
----------
Total Downloads: 14
First Release: Jun 8, 2025
Last Update: Jun 8, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings