r/MinecraftServer • u/Head-Cockroach6268 • 10d ago
Help Need help hosting a server
I want to play gtnh with my freind but i dont know where to start. I have a server (older pc that was checked and upgraded by a local IT guy) but i dont know what software and operating system to install to host a server. I have so many questions how to make it that my freind can connect from other networks, how to keep it safe, how to remotly acces it and mang others. The server will be ariving this or next week and we want to play when winter break comes. Please help me and thanks for the help your going to give me.
2
u/kai-zaphosting 9d ago
Check how much RAM the old PC has before you commit to anything, since that decides whether it can host at all. GTNH needs 6-8 GB or more for the server alone plus OS overhead, and an older machine can run out of RAM before the CPU is the limit. For the CPU, single-thread speed matters most because the main tick loop mostly runs on one thread. A core pinned at 100% while the server runs (Task Manager on Windows, htop on Linux) means you're CPU-bound.
Linux (Ubuntu Server or Debian) is the usual pick for a dedicated box. It's light and you can manage the whole thing over SSH. If you've never touched a terminal, plain Windows is a fine way to start too, and you can always switch later. Grab the server pack from the GTNH download page instead of building one by hand, and match the Java version their docs ask for.
Playit is the easy route for getting your friend connected. It tunnels the server out, so you don't open a port on your router or expose your home IP. Tailscale is the other common option, but your friend has to install it too. I'd turn on the whitelist so only the two of you can join, and set up automatic world backups early since GTNH worlds are painful to lose.
For remote access, I'd use SSH over Tailscale if you go the Linux route. On Windows, a remote desktop tool (RDP or similar) reached over Tailscale would be the equivalent, and either way I wouldn't expose remote access to the open internet.
1
u/Head-Cockroach6268 9d ago
Thanks, the pc has something between 8-16 gb of ddr4 i said old pc but its not that old and it was send to a local IT guy for repairs and needed upgrades, im not scared of terminals my life is heading that dirrection.
2
u/kai-zaphosting 9d ago
No problem, and if you're fine with a terminal then Ubuntu Server is a good fit, since a headless box leaves most of the RAM for the game. Which end of 8-16 GB you land on matters though. With 8 GB you'd give the server around 6 GB and the OS gets the rest, which should run but leaves little headroom, while 16 GB is comfortable.
Once Linux is on it,
free -hshows how much RAM the system can use, so you'll know before you pick the Java memory setting. The total comes out a bit under what's physically installed (a 16 GB machine shows around 15 GiB), but it's plenty to tell 8 from 16.1
u/Head-Cockroach6268 9d ago
I dont currently have acces to the server, but when i do i will keep this thread informed, big thanks your the best.
1
u/Independent_Alarm913 9d ago
i can help you setup the server for an invite to server i wanna play gtnh just not alone i have moderate understanding of Minecraft servers as well as linux servers
1
u/Head-Cockroach6268 9d ago
Sorry, we want to paly alone but when we stop playing and i wont have anything other to play i can hit you up
2
u/Independent_Alarm913 9d ago
sure i don't know if I would be available then but I'll try either way feel free to dm me for queries regarding your server or any generic things related to server
•
u/AutoModerator 10d ago
Featured server: Cozy MC — Java + Bedrock survival in a world that doesn't reset. New players join every day. Build your own place, open a player shop, and get to know your neighbors. No paid ranks or perks. Come explore CozyMC.com
Godlike Host - Modded servers with high player counts & High-performance AMD Ryzen processors. Choose Godlike now: https://godlike.host/gaf-play-minecraft
TownifyMC — Java + Bedrock survival on a massive 1:300 scale Earth map where the world never resets, meaning everything you build becomes part of a lasting world. Build your own town, grow an empire, shape a player-driven economy, and join a friendly, active community where there's always someone online! play.townifymc.com
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.