Timo
Timo
AAdmincraft
Created by loen00 on 9/23/2023 in #questions
How to self host a small minecraft server
yeah this is just an example :)
12 replies
AAdmincraft
Created by loen00 on 9/23/2023 in #questions
How to self host a small minecraft server
:)
12 replies
AAdmincraft
Created by loen00 on 9/23/2023 in #questions
How to self host a small minecraft server
@loen00
12 replies
AAdmincraft
Created by loen00 on 9/23/2023 in #questions
How to self host a small minecraft server
use papermc. just download it, throw it in a folder, and add a start.bat file. make sure you have the correct java version. refer here where theyres a chart at the top for what java version you need for the game version. your start.bat file should look something like this:
java -Xms2G -Xmx2G -jar paper.jar
java -Xms2G -Xmx2G -jar paper.jar
make sure you replace paper.jar with the name of your server file. -Xms is the minimum ram it starts with and -Xmx is the max it can use. (correct me if im wrong on that guys) you dontt need -Xms for it to work, but sometimes it's nice to have it. after you run your start.bat file for the first time, there shoudl be a eula.txt file. open that and make sure you put it to true. after that, run start.bat again and all ur server files shoudl pop up. the last step is port forwarding. this lets people outside of your home network access your server. how you do this depends on your router, so youll have to rely on google for that. however, i can tell you that the default port for minecraft java is 25565. so forward that port and you should be able to go. also, take a look in the config files and server.properties where you can do stuff like turn whitelist on, etc.
12 replies