this post was submitted on 06 Mar 2025
109 points (97.4% liked)

Selfhosted

43808 readers
457 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
109
Self-hosting minecraft (downonthestreet.eu)
submitted 3 days ago* (last edited 3 days ago) by Shimitar@downonthestreet.eu to c/selfhosted@lemmy.world
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] pulsewidth@lemmy.world 38 points 3 days ago (2 children)

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 10 points 3 days ago (2 children)

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.

[–] pulsewidth@lemmy.world 2 points 2 days ago (1 children)

It isn't on the default port either, it's on a random high number port which is why I thought it was extra odd they found it.

[–] aarch64@lemm.ee 1 points 1 day ago

Huh, that is funky. Fingers crossed mine survives. I think I'll go and set up some backups, now that I think about it.

[–] Dumbkid@lemmy.dbzer0.com 6 points 3 days ago (1 children)

I've had a server up for almost 9 years never had any randoms even join. Don't think I've ever used the default port tho

[–] pulsewidth@lemmy.world 1 points 2 days ago

It isn't on the default port either, it's on a random high number port which is why I thought it was extra odd they found it.

[–] Korhaka@sopuli.xyz 3 points 3 days ago (3 children)

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.

[–] yonder@sh.itjust.works 5 points 2 days ago

I had My minecraft server scanned by at least 3 different bots, and I even had some friendly guy join my server that apparently found it using a bot he wrote. I'm now using a whitelist lol. One of the account names that scanned my server was "Fifth Column, which is a griefing group.

[–] Nilz@sopuli.xyz 10 points 3 days ago* (last edited 3 days ago)

I've had a server running without whitelist because a friend hadn't bought the game yet, within 2 weeks it was griefed. It was just the two of us playing.

There are crawler bots just searching for unprotected Minecraft servers and it's just a matter of time before they find yours.

It's a shame the server lacks a pretty basic feature such as password protection.

[–] pulsewidth@lemmy.world 2 points 3 days ago

Like the other commenter said, I dunno how the heck the griefers find the servers - but if it's on the open Internet, they do.

I set up a server for me an a handful of mates - advertised the address nowhere. They told nobody. A month in a friend and I were playing as usual, and a player with a Russian username joined. I'm like "uh hi who are you?". They stayed another minute or two while saying nothing, then left.

I think they left when they realized i had an anti-griefer permissions mod that protects the blocks in an area around the spawn point from being modified (its called 'Flan'). So they joined, saw the server had some protections, and decided it wouldn't be much fun for them.

Whitelist immediately enabled - no more random Russians.