Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
!!!only chinese!!!
服务器自动重启插件
这是一款专为 Minecraft 服务器打造的轻量级自动重启插件。插件不仅提供精准的定时重启,还内置了安全的存档机制与丰富的多级倒计时提醒,确保服务器平稳运行,玩家数据万无一失。
✨ 核心功能
- 安全定时重启:默认在每天 04:00 自动执行重启。重启流程极度安全:先执行
save-all保存所有数据 ➔ 踢出在线玩家 ➔ 执行 /stop 关闭服务器。 - 多级提前通知:默认在 03:00、03:30、03:45、03:50、03:55 以及 03:59(最后1分钟)进行全服通报。所有文案可改,触发时间点可任意增删。
- 沉浸式最后倒计时:在重启前的最后 10 秒,屏幕正中央会出现大字倒计时,同时伴随聊天栏提示,确保玩家不会错过。
🎮 管理指令
除了自动重启,服主也可以通过指令进行手动管理与干预:
/restart 发起手动重启(默认带有 60 秒倒计时) /restart 300 发起带自定义秒数(如 300 秒)倒计时的重启 /restart cancel 取消当前正在进行的重启倒计时 /restart status 查看当前的重启状态 /restart reload重新加载配置文件 /restart now 跳过倒计时,立即重启服务器
💬 默认通知文案预览
插件内置了原生且友好的中文提示,你可以随时在配置文件中修改它们:
text [服务器公告] 服务器将在 1 小时 后 (04:00) 重启维护,请提前保存进度。 [服务器公告] 服务器将在 30 分钟 后 (04:00) 重启,请尽快结束当前活动。 [服务器公告] 服务器将在 15 分钟 后重启,请回到安全位置。 [服务器公告] 服务器将在 10 分钟 后重启。 [服务器公告] 服务器将在 5 分钟 后重启,请做好准备,重启后将自动恢复。
english
Zhou's AutoRestart
A lightweight, feature-rich automatic server restart plugin for Minecraft. It provides precise scheduling, a safe saving mechanism (save-all → kick → stop), and immersive multi-stage countdowns to ensure a smooth and safe server maintenance experience.
✨ Features
- Safe Scheduled Restarts: Automatically restarts at
04:00by default. The process is completely safe: runssave-all➔ kicks online players ➔ executes/stop. - Multi-stage Warnings: Broadcasts warnings at
03:00,03:30,03:45,03:50,03:55, and03:59(1 minute left). All messages and timestamps are fully customizable. - Immersive Final Countdown: During the last 10 seconds, a large text countdown appears on the center of the screen alongside chat messages.
- Welcome Back Message: Players who join within 5 minutes after a restart will receive a welcome message: "Server restart complete, welcome back!"
🎮 Commands
| Command | Description |
|---|---|
/restart |
Triggers a manual restart (with a default 60s countdown) |
/restart 300 |
Triggers a restart with a custom countdown (e.g., 300s) |
/restart cancel |
Cancels the current restart countdown |
/restart status |
Checks the current restart status |
/restart reload |
Reloads the configuration file |
/restart now |
Skips the countdown and restarts immediately |
💬 Default Messages
[Server] Server will restart in 1 hour (04:00) for maintenance. Please save your progress.
[Server] Server will restart in 30 minutes (04:00). Please finish your current activities.
[Server] Server will restart in 15 minutes. Please return to a safe location.
[Server] Server will restart in 10 minutes.
[Server] Server will restart in 5 minutes. Please get ready.

