厌倦 Mojang 服务器宕机吗?AlwaysOnline 是一款能在 Mojang 认证服务离线时,保持您的 Spigot 或 BungeeCord 服务器正常运行的插件。它通过检查会话服务器状态,并在离线时允许已验证玩家从同一 IP 登录,确保您的服务器持续在线。
插件会以可配置的时间间隔重复检查 Mojang 会话服务器状态。
所有命令都需要权限节点:alwaysonline.usage
/alwaysonline toggle - 手动在 Mojang 离线模式与正常模式之间切换。/alwaysonline enable - 启用插件,开始检查 Mojang 服务器状态。/alwaysonline disable - 禁用插件,停止检查。/alwaysonline reload - 重载配置文件。alwaysonline.notify - 拥有此权限的玩家会在 Mojang 服务器上线或下线时收到通知。配置文件主要选项如下(以 config.yml 为例):
# 检查 Mojang 是否在线的间隔时间(秒)
check-interval=60
# MOTD 相关消息(设为 'null' 可禁用)
message-motd-offline=&eMojang servers are down,\n&ebut you can still connect!
# 踢出消息
message-kick-ip=We can not let you join since you are not on the same computer you logged on before!
message-kick-new=We can not let you join because the mojang servers are offline!
message-kick-invalid=Invalid username. Hacking?
# 状态变更通知消息(设为 null 可禁用)
message-mojang-offline=&5[&2AlwaysOnline&5]&a Mojang servers are now offline!
message-mojang-online=&5[&2AlwaysOnline&5]&a Mojang servers are now online!
# 会话服务器检查方法(可多选,全部为 true 时需所有检查都失败才进入离线模式)
http-head-session-server=true
mojang-server-status=false
xpaw-status=false # 不推荐使用,因其缺乏稳定的 API 支持
# MySQL 数据库设置(仅在 use_mysql=true 时生效)
use_mysql=false
host=127.0.0.1
port=3306
database-name=minecraft
database-username=root
database-password=password
# 请勿修改此项
config_version=5以下插件与最新版 AlwaysOnline 存在已知的不兼容情况:
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人次:3,028,231 | 今日访问人次:12,359 | 昨日访问人次:11,147
独立 IP:4,871 | 最近24小时有3,877人访问本站
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6