每日自动重启
每天在预定时间自动重启服务器,并支持自定义警告提示
![Downloads]
概述
DailyAutoRestart 是一款轻量且可靠的插件,每天在指定时间自动重启你的 Minecraft 服务器。与基于间隔的重启插件不同,它使用实际的时间调度,确保无论服务器何时启动,重启时间都保持一致。
非常适合进行服务器维护、减少卡顿累积,并保持服务器流畅运行!
功能
- ⏰ 定时每日重启 - 以 24 小时制设置精确的重启时间
- ⚠️ 多级警告提示 - 在重启前 60、30、15、5 和 1 分钟向玩家发出警告
- ⏱️ 10 秒倒计时 - 重启前从 10 到 0 的戏剧性倒计时
- ? 声音通知 - 可选的声音效果用于警告(完全可配置)
- ? 完全自定义消息 - 所有消息均支持颜色代码和占位符
- ? 热重载 - 无需重启服务器即可更新设置
- ?️ 权限系统 - 控制谁可以查看信息和重载配置
- ? 实用命令 - 检查服务器时间和距离下次重启的时间
- ? 更新检查器 - 有新版本时自动通知
- ? 轻量级 - 对性能影响极小
- ? 易于配置 - 简单的 YAML 配置文件
命令
| 命令 |
别名 |
描述 |
权限 |
/dailyautorestart |
/dar, /dailyrestart |
查看重启信息和帮助 |
dailyautorestart.use |
/dailyautorestart reload |
- |
重载配置 |
dailyautorestart.reload |
/servertime |
/stime, /time |
显示当前服务器时间 |
dailyautorestart.use |
/timeuntilrestart |
/untilrestart, /restarttime |
显示距离下次重启的时间 |
dailyautorestart.use |
权限
dailyautorestart.use - 查看重启信息并使用实用命令(默认:true)
dailyautorestart.reload - 重载插件配置(默认:op)
dailyautorestart.updatenotify - 接收更新通知(默认:op)
如果你喜欢这个插件,请:
- ⭐ 留下评论
- ? 分享反馈
- ? 在问题追踪器中报告错误
- ? 建议功能
链接
创建者: Kreskofter (Christopher S. Lucero)
条件:
限制:
版权: (c) 2024 Christopher S. Lucero
创建者: Kreskofter
完整许可证文本请参阅 LICENSE 文件。
Daily Auto Restart
Automatically restart your server daily at a scheduled time with customizable warnings
![Downloads]
Overview
DailyAutoRestart is a lightweight, reliable plugin that automatically restarts your Minecraft server at a specific time each day. Unlike interval-based restart plugins, this uses actual time-of-day scheduling, ensuring consistent restart times regardless of when your server started.
Perfect for server maintenance, reducing lag buildup, and keeping your server running smoothly!
Features
- ⏰ Scheduled Daily Restarts - Set exact restart time in 24-hour format
- ⚠️ Multiple Warning Levels - Warns players at 60, 30, 15, 5, and 1 minute before restart
- ⏱️ 10-Second Countdown - Dramatic countdown from 10 to 0 before restart
- ? Sound Notifications - Optional sound effects for warnings (fully configurable)
- ? Fully Customizable Messages - All messages support color codes and placeholders
- ? Live Reload - Update settings without restarting the server
- ?️ Permission System - Control who can view info and reload config
- ? Utility Commands - Check server time and time until restart
- ? Update Checker - Automatic notifications when new versions are available
- ? Lightweight - Minimal performance impact
- ? Easy Configuration - Simple YAML configuration
Commands
| Command |
Aliases |
Description |
Permission |
/dailyautorestart |
/dar, /dailyrestart |
View restart info and help |
dailyautorestart.use |
/dailyautorestart reload |
- |
Reload configuration |
dailyautorestart.reload |
/servertime |
/stime, /time |
Display current server time |
dailyautorestart.use |
/timeuntilrestart |
/untilrestart, /restarttime |
Show time until next restart |
dailyautorestart.use |
Perms
dailyautorestart.use - View restart info and use utility commands (default: true)
dailyautorestart.reload - Reload plugin configuration (default: op)
dailyautorestart.updatenotify - Receive update notifications (default: op)
If you enjoy this plugin, please:
- ⭐ Leave a review
- ? Share feedback
- ? Report bugs on the issue tracker
- ? Suggest features
Links
- Website: kreskofter.com
- Minecraft Server: krumbledmc.com
- Issue Tracker: Report bugs and request features
- Source Code: Included in download (MIT Licensed)
Created by: Kreskofter (Christopher S. Lucero)
Conditions:
- ⚠️ Include copyright notice
- ⚠️ Include license text
Limitations:
- ❌ No warranty provided
- ❌ Author not liable for damages
Copyright: (c) 2024 Christopher S. Lucero
Created by: Kreskofter
Full license text available in LICENSE file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧