LegendaryRestart

插件

· 作者 IcyRelic

LegendaryRestarts 让你的服务器具备每 x 分钟自动重启的功能,同时也支持立即重启。

0 本站下载 0 关注 更新于 9 年前

最新 LegendaryRestart v2.0 · 1.7.4

一键开服(送7天)

Logo

最新版本:1.2

备注

更多详细信息即将发布

简介

LegendaryRestart 赋予你的服务器每隔 x 分钟自动重启的能力,同时你也可以选择立即重启。

功能

  • 服务器自动重启
  • 支持 Linux
  • 支持 Windows(由 bergerb 提供 Windows 脚本)
  • 自动更新(可在配置文件中选择启用)

安装设置

  • 下载 zip 文件
  • 解压该文件
  • 将 LegendaryRestart.jar 和 LegendaryRestart 文件夹放入 /plugins/ 目录中
  • 用新的启动脚本替换你原有的 start.bat 或 start.sh
  • start.sh 用于 Linux 系统,Start.bat 用于 Windows 系统
  • 运行启动文件,随后你的服务器即可设置为自动重启模式

注意

如果你使用的是 Linux 系统,为了让 start.sh 文件生效,你需要使用命令 chmod 777 start.sh

默认配置文件

#所有时间间隔单位均为分钟
#一天有 1440 分钟
#12 小时为 720 分钟
Settings:
  Restart_Message: '&aServerisrestarting'
  Broadcast: true
  Messages:
    1: '&cServerRestartingin5Seconds'
    2: '&cServerRestartingin4Seconds'
    3: '&cServerRestartingin3Seconds'
    4: '&cServerRestartingin2Seconds'
    5: '&cServerRestartingin1Seconds'
    6: '&cServerRestarting'
  Automatic_Restarts:
    Broadcast: true
    Restart_Interval: 720
    Messages:
      1: '&cServerRestartingin5Minutes'
      2: '&cServerRestartingin2Minutes'
      3: '&cServerRestartingin1Minute'
      4: '&cServerRestartingin30Seconds'
      5: '&cServerRestartingin15Seconds'
      6: '&cServerRestartingin10Seconds'
      7: '&cServerRestartingin5Seconds'
      8: '&cServerRestartingin4Seconds'
      9: '&cServerRestartingin3Seconds'
      10: '&cServerRestartingin2Seconds'
      11: '&cServerRestartingin1Second'
      12: '&cServerRestarting'

指令与权限

指令描述权限节点
/legendaryrestart reload重载配置LegendaryRestart.Reload
/legendaryrestart restart重启服务器LegendaryRestart.Restart
/lr reload重载配置LegendaryRestart.Reload
/lr restart重启服务器LegendaryRestart.Restart
/restart重启服务器LegendaryRestart.Restart

待办事项

  • 更多的自定义选项
  • 更多的功能

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源