查看: 150|回复: 0

【1.7-1.21.1】AuthMeVelocity——增加了对Velocity的支持

[复制链接]

16

威望

3

铁锭

59

主题

管理员

威望
16
煤矿
1420
金粒
547
铁锭
3
人气
34
在线时间
176 小时

镇站之宝

发表于 2024-10-6 09:41:25 | 显示全部楼层 |阅读模式 IP属地: 中国
插件
名称: AuthMeVelocity
英文名称: AuthMeVelocity
来源: 转载
类型: 管理 安全 基础 
支持版本: 1.21.1 1.21 1.20.X 1.19.X 1.18.X 1.17.X 1.16.X 1.15.X 1.14.X 1.13.X 1.12.2 1.12.1 1.12 1.11.X 1.10.X 1.9.X 1.8.9 1.8.8 1.8 1.7.10 1.7.2 
支持服务端: Spigot Paper Purpur Folia Velocity 
前置插件:
原帖地址: https://modrinth.com/plugin/authmevelocity
下载: https://modrinth.com/plugin/authmevelocity
支持语言:

马上注册,立刻下载资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
要求
  • 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
  1. # AuthMeVelocity | by Glyart & 4drian3d

  2. advanced {
  3.     # Enable debug mode
  4.     debug=false
  5.     # Ignore blocking of commands and chat messages to 1.19.1 clients with a valid signed key
  6.     # When trying to block these executions, the proxy will kick the player out.
  7.     # This option allows you to prevent the plugin from trying to block these executions,
  8.     # avoiding the player to be kicked out
  9.     ignore-signed-players=false
  10.     # Attempts to get a valid server in SendMode Random
  11.     random-attempts=5
  12. }
  13. # List of login/registration servers
  14. auth-servers=[
  15.     auth1,
  16.     auth2
  17. ]
  18. commands {
  19.     # Sets the commands that users who have not yet logged in can execute
  20.     allowed-commands=[
  21.         login,
  22.         register,
  23.         l,
  24.         reg,
  25.         email,
  26.         captcha
  27.     ]
  28.     # Sets the message to send in case a non-logged-in player executes an unauthorized command
  29.     # To deactivate the message, leave it empty
  30.     blocked-message="<red>You cannot execute commands if you are not logged in yet"
  31. }
  32. ensure-auth-server {
  33.     # Ensure that the first server to which players connect is an auth server
  34.     ensure-auth-server=false
  35.     # Selection Mode of the player's initial server
  36.     # TO_FIRST | Send to the first valid server configured
  37.     # TO_EMPTIEST_SERVER | Send to the server with the lowest number of players
  38.     # RANDOM | Send to a random server
  39.     send-mode=RANDOM
  40. }
  41. send-on-login {
  42.     # Selection Mode of the server to which the player will be sent
  43.     # TO_FIRST | Send to the first valid server configured
  44.     # TO_EMPTIEST_SERVER | Send to the server with the lowest number of players
  45.     # RANDOM | Send to a random server
  46.     send-mode=RANDOM
  47.     # Send logged in players to another server?
  48.     send-on-login=false
  49.     # List of servers to send
  50.     # One of these servers will be chosen at random
  51.     teleport-servers=[
  52.         lobby1,
  53.         lobby2
  54.     ]
  55. }
复制代码




文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|黑曜石论坛 ( 鄂ICP备2024086021号 )|网站地图

GMT+8, 2024-12-27 07:36 , Processed in 0.222811 second(s), 43 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz Team.

快速回复 返回顶部 返回列表