Cameronsplaze / AWS-ContainerManager

CDK Architecture to spin up containers when you connect, and back down afterwards automatically.
2 stars 0 forks source link

[Feature] Support GeyserMC if possible (Edit Watchdog: Minecraft Bedrock Clients connect to Java Server) #70

Closed Cameronsplaze closed 2 days ago

Cameronsplaze commented 1 week ago

Is your feature request related to a problem? Please describe. Just learned GeyserMC exists, which lets bedrock CLIENTS connect to a java SERVER. It'd be fun to see what it takes to support this, but according to this issue, you might need BOTH tcp and udp logic for java and bedrock respectively.

This could mean a re-write of the watchdog logic, so I'd like to wait until https://github.com/Cameronsplaze/AWS-ContainerManager/issues/21 is figured out. It could mean if that works out with just metrics, we solve this issue for free.

I think if possible, I'll just add this to the minecraft-java config with clear comments on what to delete if you don't want it. I thought about maintaining a third config specifically for this, but there'd still be the simple bedrock version anyways. Every config adds considerable time to synth, deploy, and just maintain in general anyways.

Cameronsplaze commented 1 week ago

Poked at this a little bit. Was able to connect to the server on a mobile device!

But it only lasted 5 minutes, i.e the watchdog couldn't see the bedrock server connections. Technically I can re-write the watchdog logic to support it watching BOTH tcp and udp at the same time, but there's no point doing that much work unless https://github.com/Cameronsplaze/AWS-ContainerManager/issues/21 doesn't pan out.

I guess to get off the ground, I could just add a third type to tcp and udp, that just looks at the amount of traffic going from the container or something