
最新版本: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 |
待办事项
- 更多的自定义选项
- 更多的功能
你是这个资源的作者?登录后可认领此资源。
相似资源
ExyliaLib
ExyliaServices
ExyliaPlugins 的库。
前置实用
26
Vessel
muhdfdeen
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
生物存储
13
WorldEdit
me4502
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
前置管理
10
LobbyAPI
Zombie_Striker_Dev
创建用户友好的菜单以前往不同的世界
管理交通
9
tkChat
tkkr
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
管理社交
9
Yeth's TPA
yethdev
一个高度兼容、功能完善且稳定的 TPA 模组
社交交通
9
评论 0
登录后参与评分
还没有评论,来抢沙发吧