
Restart 插件 by CraniX
可靠、安全且完全自动化的服务器重启系统
本插件提供了一套干净、可控且对玩家友好的重启系统,专为生产环境的 Minecraft 服务器设计。无论是计划内的定期重启,还是需要手动触发的重启,它都能确保你的服务器安全关闭——避免数据损坏、玩家困惑或在关键时刻出现意外加入的情况。
该插件以稳定性、自动化和易用性为核心设计理念,既能与外部自动重启系统无缝集成,又能保持完整的游戏内控制能力。
? 核心重启系统
- 安全有序的服务端重启流程
- 自动阻止玩家在重启期间加入服务器
- 在关闭前优雅地踢出所有玩家
- 等待在线人数为 0 后再停止服务器
- 支持在重启后执行命令或运行文件
- 设计用于配合外部重启调度器使用
⏰ 灵活的定时功能
- 基于可配置的小时间隔自动重启
- 支持以分钟为单位手动安排重启
- 运行时持续更新的重启计时器
- 内置重启前的倒计时警告
? 强大的命令
- /rptime – 查看距离下次重启剩余的时间
- /rprestart – 立即启动安全重启
- /rprestart <minutes> – 设置带实时倒计时的重启
- /rplock – 启用部分服务器锁定(仅限 OP 和白名单用户)
- /rplock off – 解除部分锁定
- /rplock status – 查看当前锁定状态
- /rpkick – 移除所有非 OP 和非白名单玩家
- /rpadd – 即时将用户添加到白名单
? 访问控制与白名单
- 基于 OP 权限和自定义权限的命令访问控制
- 存储在 whitelist.yml 中的基于名称的白名单
- 首次启动时自动生成白名单
- 通过命令修改白名单时自动重载
⚙️ 智能配置处理
- 自动检测旧版配置文件
- 自动备份旧配置
- 无缝迁移过时的键名至新格式
- 升级过程中无数据丢失
?️ 对玩家友好的用户体验
- 全服聊天广播重启通知
- 屏幕上显示的大字号倒计时标题警告
- 支持通过 config.yml 完全自定义消息内容
?️ 内置安全防护
- 防止重复触发重启序列
- 阻止重叠的倒计时计时器
- 阻止玩家在关键关闭阶段加入服务器
✅ 适用场景
- 生存服、SMP 和服务端网络
- 需要定期重启的服务器
- 希望以最少配置实现最高安全性的管理员

Restart Plugin by CraniX
Reliable, Safe, and Fully Automated Server Restarts
This plugin provides a clean, controlled, and player-friendly restart system designed for production Minecraft servers. Whether you run scheduled restarts or need to trigger one manually, it ensures your server shuts down safely—without corruption, player confusion, or unexpected joins during critical moments.
Built with stability, automation, and usability in mind, the plugin integrates seamlessly with external auto-restart systems while maintaining full in-game control.
? Core Restart System
- Safe and orderly server restart process
- Automatically prevents players from joining during restarts
- Gracefully kicks players before shutdown
- Waits until 0 players are online before stopping the server
- Either runs a command after restart or a file.
- Designed to work alongside external restart schedulers
⏰ Flexible Scheduling
- Automatic restarts based on a configurable hourly interval
- Manual restart scheduling in minutes
- Persistent restart timer during runtime
- Built-in countdown warnings before restart
? Powerful Commands
- /rptime – View time remaining until the next restart
- /rprestart – Start an immediate safe restart
- /rprestart <minutes> – Schedule a restart with live countdowns
- /rplock – Enable partial server lock (ops & whitelisted users only)
- /rplock off – Disable partial lock
- /rplock status – View current lock status
- /rpkick – Remove all non-ops and non-whitelisted players
- /rpadd – Add users to the whitelist instantly
? Access Control & Whitelisting
- OP-based and permission-based command access
- Name-based whitelist stored in whitelist.yml
- Whitelist automatically created on first startup
- Whitelist auto-reloads when modified via commands
⚙️ Smart Configuration Handling
- Automatically detects legacy configuration files
- Creates backups of old configs
- Seamlessly migrates outdated keys to the new format
- No data loss during updates
?️ Player-Friendly UX
- Server-wide chat announcements for restarts
- Large on-screen title countdown warnings
- Fully customizable messages via config.yml
?️ Built-In Safety Protections
- Prevents duplicate restart sequences
- Blocks overlapping countdown timers
- Stops players from joining during critical shutdown phases
✅ Ideal For
- Survival, SMP, and network servers
- Servers requiring scheduled restarts
- Admins who want maximum safety with minimal setup
下载 Restart Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Restart Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Restart Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Restart Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Restart Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Restart 插件 1.4
更新内容
新增了在重启后运行命令或执行文件的功能。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧