itzg / minecraft-server-charts

MIT License
267 stars 142 forks source link

documentation #199

Open jurgenweber opened 4 months ago

jurgenweber commented 4 months ago

Some more documentation and examples on how all the charts work together, if they do and say setup scenarios.

I want bedrock clients to use the proxy (I believe there is a plugin for it, but in general the proxies are java only); I need 3 servers, what ports to expose, how my client connects.

I tried this and failed, so wondering how it is done. Finding good information on how it is setup and actually connects is hard with lots of mis information.

How does the rcon server work? When I try to use it I just got a 404 and

RconServer [minecraft-bedrock:19132]: Connection failed

in the logs

itzg commented 4 months ago

Sorry, yes, the charts repo has the bare minimum of reference docs.

For Bedrock, more info is available here https://github.com/itzg/docker-minecraft-bedrock-server including some info about running multiple servers.

I don't know of any proxies that support Bedrock protocol (UDP port 19132) and even running a Java edition server with Bedrock client support won't solve proxy aspect.

Bedrock itself doesn't support RCON and you can't connect to RCON with a browser since it is a custom TCP protocol. The docs above do however talk about how to run commands on the server. Adding Bedrock support to Java server does help with that though, so this might be helpful https://docker-minecraft-server.readthedocs.io/en/latest/misc/examples/#bedrock-compatible-server

jurgenweber commented 4 months ago

Riigghhttttt, nice. Interesting. So often it is assumed 'things are for java' and I am not thinking about that. Good to know. So the whole RCON / UDP protocol is just for java? And bedrock is TCP and ?

Another thought, on the bedrock readme you have some instructions on how to backup, but I need to restore. Best way to do that?

itzg commented 4 months ago

Another thought, on the bedrock readme you have some instructions on how to backup, but I need to restore. Best way to do that?

You'll need to contact the maintainer of the Bedrock backup image. I haven't used it myself, so they might already have docs for that.

jurgenweber commented 4 months ago

I wasn't talking about that project, was more referring to this; https://github.com/itzg/minecraft-server-charts/blame/master/charts/minecraft-bedrock/README.md#L67-L82

itzg commented 4 months ago

I'm sorry, wasn't familiar with that section since that seems to be part of the repo content I inherited.

I would do the reverse: prep a new volume, start a temp pod with a shell, kubectl cp into that, and then start the bedrock pod with that volume.

jurgenweber commented 4 months ago

Yeah, I was thinking that is the way. I was just going to reduce the deployment to 0 or something and start another pod attach to the PVC and do the CP.