Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GeyserMC support #1

Open
walksanator opened this issue Nov 12, 2021 · 10 comments
Open

Add GeyserMC support #1

walksanator opened this issue Nov 12, 2021 · 10 comments
Labels
enhancement New feature or request

Comments

@walksanator
Copy link

Geyser/bedrock players can only join after a Java player has joined to start the server. I would suggest adding a option to add bedrock support so combined geyser/paper servers can be ran. This would also allow bedrock servers to use this software

@timvisee
Copy link
Owner

timvisee commented Nov 12, 2021

Thanks for mentioning this. I haven't looked into this, which is why it isn't supported.

I would definitely like to add support for this, assuming Geyser packets are very similar to Minecraft Notchian packets. I'd have to look into this at a later time though.

@timvisee timvisee changed the title Doesen't work with geyser Add GeyserMC support Nov 12, 2021
@timvisee timvisee added the enhancement New feature or request label Nov 12, 2021
@Arthurmeade12
Copy link

This feature would be very useful to my server (and others, I'm sure)

@GreyBlackHat-05
Copy link

reviving this to bump it, the ability to listen for geysermc on 19132 would be very useful.

@ghost
Copy link

ghost commented Nov 23, 2022

Bumping this thread too, found some useful information about connection protocols at https://wiki.vg/Bedrock_Protocol

@canthisbe
Copy link

canthisbe commented Jun 13, 2023

Bumping thrice, please add this! I've been using SleepingServerStarter by vincss, and it used to support Bedrock connections. I have some very active Bedrock players and this would be perfect if Geyser was supported. Thank you in advance!

@NyaomiDEV
Copy link

NyaomiDEV commented Mar 19, 2024

I wonder if at the cost of running a java proxy with geyser on it you can put lazymc and the server behind it and use floodgate for everything else like online authentication and the usual stuff really

@Arthurmeade12
Copy link

@NyaomiDEV proxy behind proxy setups are unsupported, and they usually don't work. That setup being velocity in front of lazymc in front of the minecraft server.

@timvisee
Copy link
Owner

Note that lazymc does support HA proxy (or something compatible) in front of it with some additional configuration: https://github.com/timvisee/lazymc/blob/master/docs/proxy-ip.md

Though I don't think that is what this is about.

@Arthurmeade12
Copy link

I know that velocity supports haproxy. That could be viable.

@NyaomiDEV
Copy link

NyaomiDEV commented Apr 2, 2024

Where there's a will, there's a way.

You can set up the Velocity proxy in front of Lazymc proxying a Paper server. In the Velocity proxy, you can have Geyser and Floodgate installed.

As for how to set it up... it's pretty straightforward:

  • Set up your Java server with Lazymc first; it's also advised to set compatibility with the PROXY protocol, which is now built in on Paper and it doesn't require any additional plugins.
  • Test your Java server stand-alone!
  • Modify Lazymc so it only listens to local connections (for security, also because we're setting Velocity up)
  • Set Velocity up, following official instructions. Leave Lazymc out of your thought process for now, but remember to use the public Lazymc port when you set the server in Velocity.
  • Test the Velocity setup as a whole. If it works, you're basically done.
  • Set up GeyserMC and Floodgate to your liking, using official documentation. DO NOT forward the Floodgate data to the server behind Lazymc, as that would make it close the connection and not start the server at all.

Velocity cannot be put to sleep by Lazymc, as the limitation would surface up again; but it's less RAM/CPU to keep that one active 24/7 than a full fat MC server, so there's that.

Geyser standalone pinging Lazymc could work too, but I would advise against it as you lose Bedrock player info at the proxy level, which is required for administration.

And also, since you have Velocity as a middle-man, it means you can spin up multiple MC servers and a lobby and have all of that put to sleep by Lazymc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants