Hi! I want to selfhost a minecraft server for my kid and hjs friends. I havent played minecraft in quite a few years …

Where do I start to self host one?

I am already seflhosting lost of stuff from 'Arrs to Jellyfin and Immich and more, so I am not asking on how to do it technically, but where to look for and what to host for a proper Minecraft server!

Edit: choosed to setup this https://github.com/itzg/docker-minecraft-bedrock-server and so far, super smooth and easy peasy!

  • pulsewidth@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    In addition to other advice here just be aware that Minecraft servers are prime targets for griefing and abuse.

    I recommend setting it to whitelist mode and then each kid your friend wants to join just has to send their username to him so you can add the username to the whitelist. Its an added overhead but it’s much less painful than reverting to a backup for a griefed server - and your kid won’t have to worry about other kids on-sharing the server address.

    • aarch64@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Easy way to avoid this: choose a different port. I think it’s a safe bet the crawlers are just checking 25565. I’ve had a server up for months with zero issues.

    • Korhaka@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Its been a long time since I played, wouldn’t the best protection from that just be not broadcasting the server to the open internet? Never had an issue with servers that were technically fully open but only telling friends about it. I suppose whitelist is better than security through obscurity though.

  • Kruulos@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Quick version:

    • Install latest Java
    • Install latest Minecraft Java server
    • Play vanilla Minecraft

    Rabbit hole:

    • Bedrock / Java version differences
    • Modpacks, mods and Minecraft version differences (1.12, 1.20) require different Java versions.
    • Official server vs 3rd party software (papermc, purpur…)
    • Publicly open server vs firewalled
  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    First you need to understand the difference between Bedrock edition and Java edition. Bedrock is for consoles, phones and Windows, it’s the default version that Microsoft pushes now. It’s not compatible with Java clients or Java servers. So if you’re planning to have the kid play on Switch or something like that, it’s not going to work.

    Assuming you’re clear on all that, you have a few options for Java servers, you can run a plain jane vanilla server (the one that Microsoft provides) fairly easily but it has some limitations, and it’s not the most manageable solution. Modded servers are much more capable and flexible but also can be a little more complex in some cases. Overall, I’ve found Purpur the easiest and most sustainable choice at least a few years ago when I was looking for the right choice it seemed like most people agreed this was the best option. Fabric is another great option, especially if you want to use mods! Fabric has a huge modding ecosystem, second only to Forge.

    However I also need to mention that I’ve got a heavily modded Forge-based server running right now and I really didn’t find that any more difficult to set up than any of the others. Even though people usually complain about forge being “difficult” somehow. So take that for what it’s worth. I think it doesn’t really matter THAT much which server software you use unless you have specific requirements around things like mods, spawn protection, and other kinds of configuration that are probably most useful for large, public servers.

    If you do want to run a bedrock server, it gets a little more complicated as you might have to break some things out of the walled garden. I haven’t had a lot of success with that but I understand it is possible.

    • Blue_Morpho@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      So if you’re planning to have the kid play on Switch or something like that, it’s not going to work.

      You can run Geyser (a modified Minecraft server) to let bedrock clients play on your Java server.

      • Mugmoor@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        Yes but doing it on a Nintendo Switch is cumbersome. It requires you to edit the DNS settings on the console itself. Nintendo doesn’t support unofficial multiplayer services.