How do i set up a minecraft server?
We're archiving the forums and going read only!
You'll be able to see old threads, but new topics and replies have been disabled.
Visit the Game Jolt community for new questions and conversations.
I suppose you are trying to setup a server on your own pc or server rack, so here is somewhat idea of the process:
You gonna need to download the server file on the minecraft oficial site, comes only with the latest version, if you want older versions, you will need to find the jar file somewhere, pretty much a quick search in google already solves that ^^
Then you need to open the jar file (in windowns just double click) and proceed instaling it. You will need after that to run the server twice just to create the base files, one for the EULA (wich you need to change the indicated line to true) and then the rest (config, crash reports, etc).
You should open the config file named as server.properties (with any plain text editor like notepad) and see the configurations as fits, good to note that you may want to change the option "online-mode" from "true" to "false" (ask me in pm if u wanna know why if didin't found on the videos as that info is lost somewhere in the middle of one of them) as well as changing things like "view-distance" if the server is not too powerfull or if u wanna crank the view, as on server that is what limits the view on client side, ofc higher means more cpu needed... The rest should really be keept the same, as suppose i, you never did that before.
Don't forget to setup portfowarding to 25565 (the default port for minecraft) and disable the firewall towards that port or the port that you configured.
After all that, you can exclude the "world" folder if you changed the seed or just to reset the world to another one, and open the server file OR create a file (works on windows, not sure if on other OS) called "----.bat" (change the ---- to whatever you feel more comfy with, like starter.bat) with the command
"java -Xmx3G -Xms3G -jar server.jar nogui
PAUSE"
that will open the server with max 3gb of ram and without GUI to reduce consumption, openning with the jar opens with GUI... You can change the Xmx and Xms to a value logical to your server config and keep both values EQUAL, and change the "server.jar" to the name of the file of the server, depending it might be like "forge-1.16.5-36.2.33.jar" (a modded server on the version 1.16.5 on forge 36.2.33), "server.jar", etc...
Links that might be useful:
Server setup (1.19) by The Breakdown: https://www.youtube.com/watch?v=TlaQqpn5UVQ
Server setup (1.16) by The Breakdown: https://www.youtube.com/watch?v=TlaQqpn5UVQ
Official 1.19 server file: https://www.minecraft.net/en-us/download/server
Portfowarding tutorial by The Breakdown: https://www.youtube.com/watch?v=pSEhgCp5UBk&t=1s
Test if your portfowarding is working (not sure if its safe, so i would recommend searching for yourself, but is what i use): https://www.yougetsignal.com/tools/open-ports/
Maybe interesting, never tried myself, but is a new video o The Breakdown channel, and maybe helps with security cuz would be changing your ip, somebody will be able to say if works or not: https://www.youtube.com/watch?v=OclFvEANrTQ
Please, if you aren't responsible for yourself ask permission for everything here, as things might break with some effort xD
And ofcourse if possible try taking a look on other videos, as i'm not fluent in english i fitted more towards those sources, but there are plenety of vid on how to setup a server that are better, just i that didn't understand they :)
Hope ur server works fine and i didn't confuse anything, as i don't setup servers since last year!