Skip to content

Integrate Floodgate Local Linking #3422

Open
@PrivatePasta

Description

@PrivatePasta

Enhancement Type

A completely new feature

Describe the enhancement

GeyserMC and Floodgate have already been seamlessly integrated into the container. It would be really nice if users had an option to also install Floodgate Local Linking in a similar way so that they can join from Bedrock or Java clients and keep the same user profile. More details here - https://geysermc.org/wiki/floodgate/linking/

Geyser's official Global Linking exists but it only works for users who own Minecraft on both Java and Bedrock. As I was using an offline account, I decided to try the local linking database extension, and I can report that it works flawlessly for linking cracked offline java accounts with Bedrock accounts

The steps I had to follow were simple:

  1. Download the mysql verision of the local linking database extension from here
  2. Move that extension into /plugins/floodgate , restart the server
  3. Start a mysql server that will listen to connections from docker interfaces and create a mysql user that can manage a database named floodgate. I have to enter the user's credentials in the newly created file in /plugins/floodgate/mysql/mysql,yml
  4. Finally, edit floodgate's main config to enable enable-own-linking and set type to mysql in the player-link section and restart the server

I'll admit the MySQL server part was a bit confusing for me as I've never really used it before. Instead of running it inside a container, I ran it on the host system. So, I had to edit the configuration and users to accept connections from docker. This would be a lot easier to use and automate if MySQL Server was in a container as well and we could have the same in an example compose file like the ones provided in https://docker-minecraft-server.readthedocs.io/en/latest/misc/examples/

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions