【1.7-1.21.1】AuthMeVelocity——增加了对Velocity的支持
要求[*]Paper或Folia 1.20+
[*]Velocity 3.3.0+
[*]Java 17+
特点
[*]阻止您的玩家在登录之前执行命令
[*]强制玩家进入的第一个服务器为 Auth 服务器
[*]在本地登录时将玩家发送到另一个服务器(AuthMeReloaded 本身就有此功能的错误)
[*]防止玩家在每次加入安装了 AuthMe 的服务器时都必须重新登录
[*]从 Velocity 获取对 AuthMe API 的访问权限
[*]与 FastLogin(AutoLogin 支持)和 MiniPlaceholders(兼容
设置
[*]下载最新版本的插件
[*]在 Velocity 上安装 AuthMeVelocity-Proxy
[*]在安装了 AuthMeReloaded 的 Paper 服务器上安装 AuthMeVelocity-Paper
[*]启动 Velocity 并进行服务器设置 config.conf。
Config
# AuthMeVelocity | by Glyart & 4drian3d
advanced {
# Enable debug mode
debug=false
# Ignore blocking of commands and chat messages to 1.19.1 clients with a valid signed key
# When trying to block these executions, the proxy will kick the player out.
# This option allows you to prevent the plugin from trying to block these executions,
# avoiding the player to be kicked out
ignore-signed-players=false
# Attempts to get a valid server in SendMode Random
random-attempts=5
}
# List of login/registration servers
auth-servers=[
auth1,
auth2
]
commands {
# Sets the commands that users who have not yet logged in can execute
allowed-commands=[
login,
register,
l,
reg,
email,
captcha
]
# Sets the message to send in case a non-logged-in player executes an unauthorized command
# To deactivate the message, leave it empty
blocked-message="<red>You cannot execute commands if you are not logged in yet"
}
ensure-auth-server {
# Ensure that the first server to which players connect is an auth server
ensure-auth-server=false
# Selection Mode of the player's initial server
# TO_FIRST | Send to the first valid server configured
# TO_EMPTIEST_SERVER | Send to the server with the lowest number of players
# RANDOM | Send to a random server
send-mode=RANDOM
}
send-on-login {
# Selection Mode of the server to which the player will be sent
# TO_FIRST | Send to the first valid server configured
# TO_EMPTIEST_SERVER | Send to the server with the lowest number of players
# RANDOM | Send to a random server
send-mode=RANDOM
# Send logged in players to another server?
send-on-login=false
# List of servers to send
# One of these servers will be chosen at random
teleport-servers=[
lobby1,
lobby2
]
}
页:
[1]