本帖最后由 Fur_Xia 于 2020-7-8 10:56 编辑
▌关于二搬 & 授权转载 ▌
之前的帖子已经是N年之前的帖子了,插件也更新了很多很多,所以在此进行第二次搬运~
▌自动重启 ▌
自动重启服务器,并清除部分RAM,以获得更快,更流畅的Minecraft体验。请按照说明进行操作,以确保正确的配置插件!
原文:| Restart your server automatically today, and clear some of your RAM for a faster, smoother Minecraft experience. This integration is seamless and works with Spigot. Please follow the instructions to ensure a proper setup! |
如果服务器运行中出现任何与本插件有关的报错,请立刻告诉插件作者!
▌配置说明 ▌
强烈建议阅读下列文字
第一步 配置你的spigot.yml 文件 在安装插件之前,请先在Spigot.yml中修改 - ## Windows
- restart-script: start.bat
- ## Linux
- restart-script: start.sh
复制代码start 可以使用你开服的文件名称自行修改,这里只是举个例子。 而后,使用/restart指令,若正常重启,则可以进行下一步。 注:若未配置以上内容时已经可以使用/restart指令正常重启,可以跳过此步骤 第二步 安装插件 重启服务器,让服务器读取插件。请注意,若注意到任何报错信息,请去原贴找作者以寻求帮助 第三步 配置插件 将插件配置调整为您想要的内容 [请不要使用插件先disable再enable本插件],使用指令 /autore reload 重载配置即可 |
▌特点 ▌
*以小时/天数间隔或在每一天中的特定时间重新启动
*broadcast提醒,并且完全支持自定义内容
*在不同事件下启用/禁用title显示的选项
*在游戏内改变重启时间
*内置插件更新检查。
* 支持MultiCraft面板服!
*可以在游戏中启动或暂停服务器重启倒计时,并提示倒计时停止
*自动更新您的旧配置文件!
*完全可自定义的title和broadcast消息/时间
*在信息中完全支持颜色代码
*在服务器重启X秒之前执行命令
*拥有“玩家数量大于一定值,暂时不重启”的选项
[如果服务器重启倒计时归零,且您有10个在线玩家,若在配置中将最大玩家数设置为10,则服务器不会重新启动,直到玩家数量小于或等于10再进行重启任务]
*显示通知时播放声音(通知/title)
* PlaceholderAPI变量支持
原文:* Restarts on hour or day intervals, or at a specific time
* Broadcasts reminders, customizable in minutes on config
* Option to enable/disable on screen pop ups, on different events
* Change restart time in-game.
* Integrated update check.
* MultiCraft support!
* Able to Start, or Pause the server timer in-game, with a reminder that its paused
* Automatically updates your old configuration file!
* Customizable popup and broadcast messages/timings
* Add color codes to shutdown messages!
* Execute commands before the server restarts on an X amount of seconds.
* Added Max Players Exception
* If the server restarts and you have 10 players online and you set the max players to 10 your server wont restart until someone leaves and the player amount is less than or equal to 10.
* Plays sounds when a notification is displayed (Announcement/Popup)
* PlaceholderAPI Suppport |
▌截图 ▌[以下图片均来自老版本 v2.8.1]
▌To-Do List ▌
*添加更多功能(请前往原贴评论提供自己的想法吧!)
*使其在服务器崩溃时也能自动重启!
*添加BungeeCord支持
*添加Boss bar倒计时
原文:* Add more features (Need feedback from reviews for ideas!)
* Make it where the server restarts on crash!
* Add BungeeCord support
* Add a boss bar for server countdown |
▌指令 & 权限 ▌
/autore help <指令> : 展示指令帮助 - autorestart.help
/autore in [小时数]:h [分钟数]:m [秒数]:s : 更改重启时间 - autorestart.in
/autore now : 强制立即重启 - autorestart.now
/autore pause : 暂停重启倒计时 - autorestart.pause
/autore reload : 重载所有插件配置文件 - autorestart.reload
/autore resume : 恢复重启倒计时 - autorestart.resume
/autore time : 查询重启倒计时[距离重启还有多久] - autorestart.time
▌占位符 ▌
占位符名称 | 输出值 | 例子 | | autorestart_time_formatted1 | Hh Mm Ss | 5h 23m 41s | | autorestart_time_formatted2 | H hours M minutes S seconds | 5 hours 23 minutes 41 seconds | | autorestart_time_formatted3 | H:M | 5:23 | | autorestart_time_formatted4 | H:M:S | 5:23:41 | | autorestart_time_hour | H | 5 | | autorestart_time_minute | M | 23 | | autorestart_time_seconds | S | 41 | | autorestart_time_raw_minute | M | 323 | | autorestart_time_raw_seconds | S | 19421 |
[*果然是作者打错了hhh] |
▌文件汉化&配置文件 ▌
我终于咕咕咕完了(bushi)
单独每个文件
▌已知BUG ▌
[但是作者的Gitlab issue已经快两礼拜没回复了 咕咕咕]- 有时候timestamp设置的时间会无效
- 有时候倒计时归零不会重启
- ......{待补充}
|

▌bStats统计 ▌
▌本帖更新记录 ▌