与 FabricProxy 相同,但仅支持 Velocity,并使用 Fabric-API 来处理 Velocity 数据包。
此模组将与其他模组具有更好的兼容性。
安装设置
- 将模组放入 mods 文件夹
- 启动服务器以生成配置文件
- 将 Velocity 的
player-info-forwarding-mode配置为modern并设置forwarding-secret - 在
config/FabricProxy-Lite.toml中将secret配置为与 Velocity 配置相匹配
配置
以下是您可以在 FabricProxy-Lite.toml 配置文件或环境变量中设置的所有参数。请注意,所有属性都需要一个值,但如果配置文件中未指定该属性,它将自动填充默认值。因此,标记为“必填”的参数需要手动添加值,例如 Velocity 转发密钥。
| 名称 | 环境变量 | 描述 | 默认值 | 必填 |
|---|---|---|---|---|
hackOnlineMode |
FABRIC_PROXY_HACK_ONLINE_MODE |
允许在不禁用 online-mode 的情况下通过代理连接。 | true |
|
hackEarlySend |
FABRIC_PROXY_HACK_EARLY_SEND |
Fabric-API 无法在 QUERY_START 事件之前发送数据包,因此在 QUERY_START 事件时玩家信息(UUID)尚未就绪。将 hackEarlySend 设置为 true 将使用 mixin 提前向 velocity 发送数据包。这对于某些模组(如 LuckPerms)是必需的。 |
false |
|
hackMessageChain |
FABRIC_PROXY_HACK_MESSAGE_CHAIN |
此选项修复了玩家在切换到另一个服务器时被踢出的问题,错误提示为 Received chat packet with missing or invalid signature. 或 Chat message validation failure。有关更多信息,请参阅 #30 和 #121。 |
false |
|
disconnectMessage |
FABRIC_PROXY_DISCONNECT_MESSAGE |
对于未通过 Velocity 连接的用户,自定义断开/踢出消息。 | "This server requires you to connect with Velocity." |
|
secret |
FABRIC_PROXY_SECRET |
Velocity 转发密钥。这应该与 Velocity 的 forwarding.secret 文件中的随机字符串相同。或者,您可以设置 FABRIC_PROXY_SECRET_FILE 环境变量,以便从文件中读取密钥而不是从配置中读取。 |
✓ |
报告问题
如果您发现了某些错误,例如模组兼容性问题或登录问题,请按照以下步骤告知我们:
- 搜索现有 issue,查看是否已有相关问题。您也可以补充一些您获得的信息。
- 如果没有匹配的 issue,请点击“New issue”按钮创建一个新 issue。
- 将问题摘要写入标题,然后尽可能详细地描述问题,并确保提供日志,以便我们知道实际发生了什么。
- 再次检查您编写的内容,使用预览功能检查编辑内容。
- 如果了解含义,请选择一个或多个标签。标签不是完成 issue 的必要条件,可以留空。
- 提交 issue,并确保能收到相关通知。
感谢您做出的所有贡献,谢谢!
也歡迎用中文回報問題喔 ;)
Same as FabricProxy but only supports Velocity and uses Fabric-API to handle Velocity packets.
This one will have better compatibility with other mods.
Setup
- Put the mod into the mods folder
- Start the server to generate the config
- Configure Velocity
player-info-forwarding-modetomodernand settingforwarding-secret - Configure
secretinconfig/FabricProxy-Lite.tomlto match Velocity config
Config
Here are all the parameters that you can set in the FabricProxy-Lite.toml config file or environment variables. Note that all properties require a value, but if the property isn't specified in the config file it'll just get populated by the default value. So the parameters that are marked as required needs a manually added value i.e. the Velocity forwarding secret.
| Name | Environment Variable | Description | Default | Required |
|---|---|---|---|---|
hackOnlineMode |
FABRIC_PROXY_HACK_ONLINE_MODE |
Allows connection through a proxy without disabling online-mode. | true |
|
hackEarlySend |
FABRIC_PROXY_HACK_EARLY_SEND |
Fabric-API can't send packet before QUERY_START event, so player info(UUID) will not ready at QUERY_START event. Setting hackEarlySend to true will use mixin for early send packet to velocity. This is required for some mods, such as LuckPerms. |
false |
|
hackMessageChain |
FABRIC_PROXY_HACK_MESSAGE_CHAIN |
This option fixes players being kicked for Received chat packet with missing or invalid signature. or Chat message validation failure, which only happens when the player switches to another server. See #30 and #121 for more info. |
false |
|
disconnectMessage |
FABRIC_PROXY_DISCONNECT_MESSAGE |
The custom disconnect/kick message for users that aren't connecting through Velocity. | "This server requires you to connect with Velocity." |
|
secret |
FABRIC_PROXY_SECRET |
The Velocity forwarding secret. This should be the same random string as in Velocity's forwarding.secret file. Alternatively you could set the FABRIC_PROXY_SECRET_FILE environment variable to read the secret from a file instead of config. |
✓ |
Report Issue
If you have found something wrong, like mod compatibility or login problem, follow the steps below to let us know:
- Search for the issue, and find if there's already one. You can also add some additional info you got.
- If there's no such issue matches yours, create an issue by clicking the "New issue" button.
- Summary the problem and write it into the title, then describe the issue as detailed as you can, and make sure to provide any of the logs so we can know what's really happened.
- Check again the whole thing you have written, use the preview feature to check the composing.
- Select one or multiple labels if you know what it means. The label isn't required to complete the issue and can leave it empty.
- Submit the issue and make sure you can get the notification from it.
We thank all the contributions you made, thank you!
也歡迎用中文回報問題喔 ;)
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
下载 FabricProxy-Lite
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 FabricProxy-Lite
下载 FabricProxy-Lite
下载 FabricProxy-Lite
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧