Baktus79 / BanFromClaim

A GriefDefender / GriefPrevention / Residence add-on that allows you to exclude other players from your claim.
https://www.spigotmc.org/resources/banfromclaim.70897/
GNU General Public License v3.0
3 stars 17 forks source link

[Bug] GriefPrevention not allowing for Bedrock (GeyserMC) Players to be kicked #22

Closed JasmineWMCM closed 2 years ago

JasmineWMCM commented 2 years ago

Describe the bug


ERROR MESSAGE

N/A

Additional server information

BanFromClaim version: 1.5.11 Server version (use /ver): SolarSpigot (Custom Made Spigot) 1.17.1 Plugin list: 97

Baktus79 commented 2 years ago

Yes, this is true if you allow Bedrock user accounts on your server. Bedrock user accounts work differently than Java user accounts, and therefore BFC will not recognize the user. If I'm not completely wrong, Bedrock users need to be converted to a Java user, but this Java user will be different every time they connect to your server.

JasmineWMCM commented 2 years ago

Would it be possible if you recognize their UUID then?

Baktus79 commented 2 years ago

I am really not sure, but I think they will have different UUID from each time. If the UUID was the same they should have been banned from the claim because the plugin is heavily depended on UUIDs.

JasmineWMCM commented 2 years ago

I think it's the same each time

Baktus79 commented 2 years ago

I have no Bedrock user I can check this theory with. Is this something you can confirm?

Baktus79 commented 2 years ago

I did find this on the GeyserMC website:

How do I include players in commands when using Floodgate? If there is a prefix on Floodgate players, you must include the prefix in the name. Floodgate also replaces all spaces in names with underscores, so be sure to replace any spaces with underscores when executing the command. If this does not work, put double quotes around the name. Example: /tp "."

And yes, you were right about fixed UUID, but despite this, there are still many things that do not work with GeyserMC / Floodgate. It is not compatible enough with Java servers.