ServerRestart
感谢超过 600 次下载 ❤️??
ServerRestart 是一款专为 Spigot / Paper 服务器设计的轻量级重启与备份插件。
重点在于稳定性、数据安全以及可预测的行为——而非不必要的功能。
本插件旨在为希望在不冒风险或复杂操作的情况下实现可靠重启和安全备份的服务器所有者而设计。
✨ 特性
⏱ 定时服务器重启
- 固定时间或在服务器启动后的相对时间重启
- 完全支持时区(例如 Europe/Zurich)
- 自动倒计时
- 聊天栏 & 动作栏通知
- 可选标题广播
- 无延迟,无刷屏
? 世界备份
- 所有世界的安全 ZIP 备份
- 备份存储在服务器根目录 (/backups)
- 自动清理(保留系统)
- 忽略问题文件(session.lock)
备份可通过以下方式触发:
定时重启
手动命令
可选的服务器关闭
? 备份结构
backups/
├─ Backup-17.01.2026 22-20/
│ └─ worlds.zip
├─ Backup-16.01.2026 22-20/
│ └─ worlds.zip
plugins/
├─ ServerRestart
♻️ 安全恢复系统
恢复功能受到有意保护,以防止数据丢失。
✔ 服务器运行时无法恢复
✔ 不重新加载世界
✔ 不实时覆盖
✔ 仅在服务器关闭期间执行恢复
? 两步安全系统
/sr restore arm
/sr restore confirm <Backup>
恢复流程:
- 踢出玩家
- 卸载世界
- 准备备份
- 服务器有意关闭
- 管理员手动重新启动服务器
⚠️ 此设计是刻意为之,可防止损坏的世界。
? 命令
主命令
/serverrestart
/sr
通用命令
/sr help 显示帮助
/sr status 重启状态 & 倒计时
/sr backup 创建手动备份
/sr list 列出可用备份
/sr reload 重载配置
/sr restartnow 立即重启(包含备份)
♻️ 恢复命令
/sr restore list 列出备份
/sr restore arm 准备恢复
/sr restore status 恢复状态
/sr restore cancel 取消恢复
/sr restore confirm <Backup> 开始恢复
⚠️ 恢复功能会故意停止服务器。
? 权限
serverrestart.admin 重启、备份、重载
serverrestart.restore 恢复访问权限
默认:OP
⚙️ 配置
通过 config.yml 完全可配置
简洁且注释良好
无需数据库
无需依赖项
? 设计理念
ServerRestart 遵循严格的原则:
稳定性 > 功能
无需数据库
无危险的恢复操作
兼容面板和主机商
行为可预测
✅ 专注一件事。做到极致。
ServerRestart
Thanks for >600 Downloads ❤️??
ServerRestart is a lightweight restart & backup plugin for Spigot / Paper servers.
The focus is on stability, data safety, and predictable behavior — not on unnecessary features.
This plugin is designed for server owners who want reliable restarts and safe backups without risk or complexity.
✨ Features
⏱ Scheduled Server Restart
- Fixed time or relative restart after server startup
- Full timezone support (e.g. Europe/Zurich)
- Automatic countdown
- Chat & Actionbar notifications
- Optional Title broadcast
- No lag, no spam
? World Backups
- Secure ZIP backups of all worlds
- Backups stored in server root (/backups)
- Automatic cleanup (retention system)
- Ignores problematic files (session.lock)
Backups can be triggered by:
Scheduled restart
Manual command
Optional server shutdown
? Backup Structure
backups/
├─ Backup-17.01.2026 22-20/
│ └─ worlds.zip
├─ Backup-16.01.2026 22-20/
│ └─ worlds.zip
plugins/
├─ ServerRestart
♻️ Safe Restore System
Restore is intentionally protected to prevent data loss.
✔ No restore while the server is running
✔ No world reload
✔ No live overwrite
✔ Restore only happens during server shutdown
? Two-Step Safety System
/sr restore arm
/sr restore confirm <Backup>
Restore flow:
- Players are kicked
- Worlds are unloaded
- Backup is prepared
- Server shuts down intentionally
- Admin manually starts the server again
⚠️ This design is intentional and prevents corrupted worlds.
? Commands
Main Command
/serverrestart
/sr
General Commands
/sr help Show help
/sr status Restart status & countdown
/sr backup Create manual backup
/sr list List available backups
/sr reload Reload configuration
/sr restartnow Immediate restart (includes backup)
♻️ Restore Commands
/sr restore list List backups
/sr restore arm Prepare restore
/sr restore status Restore status
/sr restore cancel Cancel restore
/sr restore confirm <Backup> Start restore
⚠️ Restore intentionally stops the server.
? Permissions
serverrestart.admin Restart, backup, reload
serverrestart.restore Restore access
Default: OP
⚙️ Configuration
Fully configurable via config.yml
Clean and well-commented
No database
No dependencies
? Design Philosophy
ServerRestart follows strict principles:
Stability > Features
No database
No unsafe restore operations
Panel & hoster compatible
Predictable behavior
✅ One Job. Done Right.
评论 0
登录后参与评分
还没有评论,来抢沙发吧