BetterStopX — 适用于 Paper 1.9-1.21.4+ 和 Velocity 的高级服务器关机系统
BetterStopX 是一款轻量级但功能强大的服务器关机管理插件,专为需要专业、可配置且对玩家友好的方式来处理重启、维护窗口和紧急关机的 Paper 服务器而设计。
与在没有警告的情况下立即停止服务器并断开所有人连接不同,BetterStopX 提供了一个完全可配置的倒计时系统,支持 BossBar(首领血条)、定时广播、命令控制和取消选项,确保玩家在服务器下线前有足够的准备时间。
特性
BossBar 集成
在关机过程中,所有在线玩家的屏幕上都会出现动态 BossBar。
BossBar:
显示剩余关机时间
每秒更新一次
支持自定义标题
支持自定义颜色
支持自定义样式
定时警告广播
选择哪些倒计时时刻应该触发警告消息。
示例配置:
warning-seconds:
- 10
- 20
- 30
- 45
- 60
- 5
- 4
- 3
- 1
- 2
玩家仅在指定的时间点收到警报。
示例:
[WARNING] 服务器将在 10 秒后关闭!
这既防止了聊天刷屏,又让每个人都保持知情。
完全自定义的消息
自定义以下内容:
前缀
BossBar 标题
BossBar 颜色
BossBar 样式
警告时机
支持颜色代码,例如:
prefix: "&8[&c&lWARNING&8] "
bossbar-title: "&c服务器将在 {seconds} 秒后重启..."
关机取消
需要中止重启吗?
只需在倒计时归零之前使用 /stopcancel 即可取消倒计时。
插件会自动执行以下操作:
停止计时器
移除 BossBar
通知所有玩家
使服务器恢复正常运行
强制关机支持
对于紧急情况,管理员可以立即停止服务器,无需等待倒计时结束。
适用于:
安全问题
维护紧急情况
服务器迁移
Paper 命令
/stop <-- 启动关机倒计时
/stopcancel <-- 取消当前的关机倒计时
/forcestop <-- 立即关闭服务器
/betterstop <-- 显示帮助信息
/betterstop reload<-- 重新加载配置文件
/serverkill <-- 杀死服务器进程(数据可能会丢失/损坏)
Velocity 命令
/end <-- 启动关机倒计时
/endcancel <-- 取消当前的关机倒计时
/forceend <-- 立即关闭代理
/betterstop <-- 显示帮助信息
/betterstop reload<-- 重新加载配置文件
/proxykill <-- 杀死代理进程(数据可能会丢失/损坏)
权限
betterstop.admin <-- 授予你访问 BetterStopX 所有命令的权限
为什么使用 BetterStopX?
许多服务器依赖突然的关机方式,几乎不给玩家任何警告。这会导致挫折感、困惑以及进度丢失。
BetterStopX 通过引入专业的关机工作流程解决了这一问题,让玩家在每一步都能保持知情。
无论你是:
进行计划内的维护
为更新而重启
运行自动重启
等等
BetterStopX 都能提供流畅可靠的关机体验。
性能
轻量级
内存占用极低
CPU 影响极小
无需数据库
无外部依赖
针对 Minecraft 1.9 - 1.21.4+ 优化
安装
- 下载插件。
- 将 JAR 文件放入服务器的 plugins 文件夹中。
- 启动服务器。
- 根据需要配置 config.yml 和 messages.yml。
- 享受专业的关机管理服务。
使用 BetterStopX,为你的玩家提供清晰的警告、可配置的倒计时以及精致的关机体验。
BetterStopX — Advanced Server Shutdown System for Paper 1.9-1.21.4+ and Velocity
BetterStopX is a lightweight yet powerful server shutdown management plugin designed for Paper servers that need a professional, configurable, and player-friendly way to handle restarts, maintenance windows, and emergency shutdowns.
Instead of instantly stopping your server and disconnecting everyone without warning, BetterStopX provides a fully configurable countdown system with BossBar support, timed announcements, command controls, and cancellation options, ensuring that players always have enough time to prepare before the server goes offline.
Features
BossBar Integration
A dynamic BossBar appears for all online players during the shutdown process.
The BossBar:
Displays the remaining shutdown time
Updates every second
Supports custom titles
Supports custom colors
Supports custom styles
Timed Warning Broadcasts
Choose exactly which countdown moments should trigger warning messages.
Example configuration:
warning-seconds:
- 10
- 20
- 30
- 45
- 60
- 5
- 4
- 3
- 1
- 2
Players will receive alerts only at the specified intervals.
Example:
[WARNING] Stopping server in 10 seconds!
This prevents chat spam while still keeping everyone informed.
Fully Customizable messages
Customize:
Prefixes
BossBar title
BossBar color
BossBar style
Warning timings
Color codes support, for example:
prefix: "&8[&c&lWARNING&8] "
bossbar-title: "&cServer restarting in {seconds} seconds..."
Shutdown Cancellation
Need to stop the restart?
Simply cancel the countdown before it reaches zero with /stopcancel.
The plugin automatically:
Stops the timer
Removes the BossBar
Notifies all players
Returns the server to normal operation
Force Shutdown Support
For emergency situations, administrators can immediately stop the server without waiting for a countdown.
Perfect for:
Security issues
Maintenance emergencies
Server migrations
Paper Commands
/stop <-- Starts the shutdown countdown
/stopcancel <-- Cancels the active shutdown
/forcestop <-- Instantly shuts down the server
/betterstop <-- Displays help information
/betterstop reload<-- Reloads the configuration
/serverkill <-- Kills the server process (The data can be lost/corrupted)
Velocity Commands
/end <-- Starts the shutdown countdown
/endcancel <-- Cancels the active shutdown
/forceend <-- Instantly shuts down the proxy
/betterstop <-- Displays help information
/betterstop reload<-- Reloads the configuration
/proxykill <-- Kills the proxy process (The data can be lost/corrupted)
Permissions
betterstop.admin <-- Gives you access to all BetterStopX's commands
Why Use BetterStopX?
Many servers rely on abrupt shutdowns that provide little or no warning to players. This can lead to frustration, confusion, and losing progress.
BetterStopX solves this by introducing a professional shutdown workflow that keeps players informed every step of the way.
Whether you're:
Performing scheduled maintenance
Restarting for updates
Running automated restarts
Etc
BetterStopX provides a smooth and reliable shutdown experience.
Performance
Lightweight
Minimal memory usage
Minimal CPU impact
No database required
No external dependencies
Optimized for Minecraft 1.9 - 1.21.4+
Installation
- Download the plugin.
- Place the JAR inside your server's plugins folder.
- Start the server.
- Configure config.yml and messages.yml to your liking.
- Enjoy professional shutdown management.
Give your players clear warnings, configurable countdowns, and a polished shutdown experience with BetterStopX.
评论 0
登录后参与评分
还没有评论,来抢沙发吧