Skip to content

[Bug Report] MultiLogin对于floodgate和Geyser的兼容性太差了,我花了整整一个星期找出了问题 #200

@gerhu

Description

@gerhu

Bug Description

建议以及希望
建议MultiLogin在config.yml文件中添加一个如果Velocity安装了floodgate可以直接绕过MultiLogin直接登录进服,因为floodgate中自带修改玩家id的配置,如PUEHerhu这个id在floodgate中的username-prefix: "BE_"修改完成后id就会变成:PE_PUEHerhu所以,floodgate并不需要MultiLogin来修改玩家id来防止id重复,并且基岩版玩家有专属的uuid:00000000-0000-0000-0009-01f125f7febf与java版的uuid:318d2d9a-152c-479e-b240-d99176407efe完全不相同,所以也就不会导致uuid冲突或相同导致的数据相同,所以我建议MultiLogin在config.yml文件中添加个如果Velocity安装了floodgate可以直接绕过MultiLogin直接登录进服

测试信息

Image

这是报错信息,我已经确保Geyser独立版和floodgate的配置完全正确,因为我在删除MultiLogin插件后,可以正常进入服务器
并且我也觉得我的MultiLogin插件配置是正确的,MultiLogin配置简化:floodgateSupport: true forceUseLogin: true nameAllowedRegular: '^[a-zA-Z0-9_一-龥]{1,20}$'floodgate.yml文件 id: 3 serviceType: FLOODGATE initNameFormat: 'BE_{name}'
先按照全部最新的版本进行测试
操作系统:Ubuntu-24.04.1-x64 Windows server2022 Windows10
java版本:azlu_jdk21
velocity版本:velocity-3.4.0-SNAPSHOT-469.jar
multilogin版本:MultiLogin-Velocity-Build_90c9cd8.jar和MultiLogin-Velocity-0.6.13
Geyser版本:2.6.0-b756 (git-master-b96f915)使用独立版进行测试,也测试了velocity插件版结果相同
floodgate版本83fbd6e
multilogin配置情况

floodgate 支持

floodgateSupport: true
开启

强制使用此登录

forceUseLogin: true
开启
nameAllowedRegular: '^[a-zA-Z0-9_一-龥]{1,20}$'
修改支持中,并添加支持20位字符的用户都可以正常进入,修改字符数量的原因是,我基岩版其中一个账户id长度超过16个字符
services文件夹中添加了floodgate.yml文件

You can refer to the template file to complete all configurations.

Before enabling the service, you need to set floodgateSupport to true in config.yml, otherwise it cannot be used.

Please edit before use.

id: 3

name: 'Bedrock'

Don't change it unless you really want to.

serviceType: FLOODGATE

Please edit before use.

initNameFormat: '{name}'

本文件的initNameFormat经过我的多次修改对结果不照成任何影响
initNameFormat: 'BE_{name}'

我进行了很多测试,但是今天太晚了,我无法写完,明日补充

MultiLogin Version

MultiLogin-Velocity-0.6.13

System Architecture

linux/amd64

Server Core

velocity-3.4.0-SNAPSHOT-469.jar

Configuration file

MultiLogin配置简化:floodgateSupport: true forceUseLogin: true nameAllowedRegular: '^[a-zA-Z0-9_一-龥]{1,20}$'floodgate.yml文件 id: 3 serviceType: FLOODGATE initNameFormat: 'BE_{name}'

Logs

No response

Steps to reproduce

...

Affected area

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions