SmartRestart
面向 Paper 服务器的智能自动重启管理器
由 HoriaMC 开发
⭐ 永久免费。无高级版本。无付费墙。
✦ SmartRestart 是什么?
SmartRestart 通过根据实时情况(低 TPS、高内存占用、服务器为空或固定时间表)自动重启,保持你的 Paper 服务器稳定且无卡顿。无需手动重启,也无需担心服务器在夜间崩溃。
兼容 Paper 1.16.5 至 1.21+(含 26.x) - Java 16+ - 零依赖。
✦ 功能特性
计划任务 · TPS 监控 · RAM 监控 · 空服检测 · 维护模式 · 玩家数量限制 · 预执行命令 · Discord 通知
► 计划任务 - 按每天特定时间或每周特定日期重启。
► TPS 监控 - 检测极低的 TPS 并在玩家察觉卡顿前重启。会先发出警告。
► RAM 监控 - 追踪持续的内存高占用情况。提供软警告 + 硬重启触发。
► 空服检测 - 当在线玩家为零时,X 分钟后自动重启。
► 倒计时 - 聊天栏和动作条提示,让玩家始终知晓即将发生的情况。
► 维护模式 - 使用 /sr maintenance 立即暂停所有自动重启。
► 玩家数量限制 - 在线玩家过多?重启将推迟并自动重试。
► 预执行命令 - 每次重启前运行任意控制台命令。
► Discord 通知 - 为每次重启事件发送丰富的嵌入通知。
► 热重载 - 使用 /sr reload 应用配置更改,无需重启服务器。
✦ 命令
/sr status - 查看实时 TPS、内存占用和倒计时状态
/sr now - 强制立即重启
/sr cancel - 取消当前的倒计时
/sr next - 显示下一次计划重启的时间
/sr maintenance - 切换维护模式开/关
/sr precommand - 管理重启前的命令
/sr reload - 重新加载配置而不重启服务器
✦ 权限
smartrestart.use - /sr help, status, next(默认:op)
smartrestart.notify - 聊天栏和动作条中的倒计时消息(默认:所有玩家)
smartrestart.admin - 完整访问权限包(默认:op)
smartrestart.admin.restart - /sr now
smartrestart.admin.cancel - /sr cancel
smartrestart.admin.maintenance - /sr maintenance
smartrestart.admin.precommand - /sr precommand
smartrestart.admin.reload - /sr reload
✦ 安装方法
- 将
SmartRestart.jar 放入 /plugins 文件夹
- 重启服务器 -
config.yml 会自动生成
- 配置你的计划、阈值和消息
- 运行
/sr reload 以应用更改
需要 Paper 1.16.5+ - Java 16+ - 无需额外插件。
✦ 常见问题
► 它能在 Spigot 或 CraftBukkit 上运行吗?
不能 - SmartRestart 专为 Paper 及其分支(Purpur、Pufferfish 等)构建。
► 它能在 Pterodactyl / Pelican 面板上运行吗?
可以,只要面板运行的是具有正常插件加载功能的 Paper jar 文件。
► 它真的是免费的吗?
是的。没有隐藏的高级版本,没有功能锁定,没有捐赠骚扰。
✦ 支持
► 需要帮助或发现了 bug?加入 Discord 服务器 - 24小时内响应。
horiamc.com · Ash Plugins · Discord 支持
SmartRestart
Intelligent auto-restart manager for Paper servers
by HoriaMC
⭐ Free forever. No premium tiers. No paywalls.
✦ What is SmartRestart?
SmartRestart keeps your Paper server stable and lag-free by automatically restarting it based on real conditions - low TPS, high RAM usage, empty server, or a fixed schedule. No more manual restarts. No more servers dying overnight.
Compatible with Paper 1.16.5 through 1.21+ (incl. 26.x) - Java 16+ - zero dependencies.
✦ Features
Schedule · TPS Monitor · RAM Monitor · Empty Server · Maintenance · Player Limit · Pre-Commands · Discord
► Schedule - Restart at set times per day or per day of week.
► TPS Monitor - Detects critically low TPS and restarts before players notice lag. Warns first.
► RAM Monitor - Tracks sustained high memory usage. Soft warning + hard restart trigger.
► Empty Server - Restarts automatically after X minutes with zero players online.
► Countdown - Chat and action bar warnings so players always know what's coming.
► Maintenance Mode - Instantly pause all auto-restarts with /sr maintenance.
► Player Limit - Too many players online? Restart postponed and retried automatically.
► Pre-Commands - Run any console commands before every restart.
► Discord - Rich embed notifications for every restart event.
► Hot Reload - Apply config changes with /sr reload. No server restart needed.
✦ Commands
/sr status - Live TPS, RAM usage and countdown state
/sr now - Force an immediate restart
/sr cancel - Cancel an active countdown
/sr next - Show next scheduled restart time
/sr maintenance - Toggle maintenance mode on/off
/sr precommand - Manage pre-restart commands
/sr reload - Reload config without restarting
✦ Permissions
smartrestart.use - /sr help, status, next (default: op)
smartrestart.notify - Countdown messages in chat + action bar (default: all players)
smartrestart.admin - Full access bundle (default: op)
smartrestart.admin.restart - /sr now
smartrestart.admin.cancel - /sr cancel
smartrestart.admin.maintenance - /sr maintenance
smartrestart.admin.precommand - /sr precommand
smartrestart.admin.reload - /sr reload
✦ Installation
- Drop
SmartRestart.jar into your /plugins folder
- Restart the server -
config.yml is generated automatically
- Configure your schedules, thresholds and messages
- Run
/sr reload to apply changes
Requires Paper 1.16.5+ - Java 16+ - No extra plugins needed.
✦ FAQ
► Does it work on Spigot or CraftBukkit?
No - SmartRestart is built for Paper and its forks (Purpur, Pufferfish, etc.).
► Does it work on Pterodactyl / Pelican panels?
Yes, as long as the panel runs a Paper jar with normal plugin loading.
► Is it truly free?
Yes. No hidden premium version, no feature locks, no donation nags.
✦ Support
► Need help or found a bug? Join the Discord server - response within 24h.
horiamc.com · Ash Plugins · Discord Support
评论 0
登录后参与评分
还没有评论,来抢沙发吧