How to host your own Minecraft (Java) server for free
HTML-код
- Опубликовано: 11 сен 2024
- This tutorial is for Minecraft: Java Edition on Windows 10 computers. If you have any questions, there are tons and tons of videos out there about this, and I will try to reply to as many comments as fast as I can
---------------------------------------------
whatismyip.host/ - find your IPv4 adress
/ minecraft - a great place for asking questions about setting up a server and asking the community for help
can i just go straight to my wifi provider's website
one problem, my fiend can't connect to it, did i do something wrong with the port forwarding or did i give him the wrong IP address?
Make sure you're not giving your friend your internal IP instead of your external IP. To find your external IP, go to this website and give your friend the number under where it says "your IPv4 address"
Just double check that you port-forwarded correctly
So how do I save the world and edit the settings when it starts like when you click new world. I wanna play with a friend that lives far away.
for me it says the error is that it couldn't reserve enough space for [large number]KB object heap, how do i fix this?
Make sure that you have the 64-bit version of Java installed. If you do, hopefully this article can help stackoverflow.com/questions/18040361/java-could-not-reserve-enough-space-for-object-heap-error
@@wotntarnation3012 Thanks for the help! I had the 32-bit version of Java installed! problem fixed
the bat file dont launch it opens then imidititally closes. pls help
8:03 Remember that the line of code on Minecraft's website is actually wrong. Go to your .bat file and click "edit." If you copied it correctly, it should say "java -Xmx1024M -Xms1024M -jar minecraft_server.1.14.4.jar nogui". All you have to do is change "minecraft_server.1.14.4.jar” to “server.jar”. It should look like this:
java -Xmx1024M -Xms1024M -jar server.jar nogui
If you've already done that and it still doesn't work, right click on the .bat file and click "edit". On a new line, type "pause". It should look like this:
java -Xmx1024M -Xms1024M -jar server.jar nogui
Pause
Then click save and run the file again. This time, instead of closing, it'll keep the window up and tell you what the problem is. Just research the problem or error code online and you should find a solution.
i did the pause thing in the .bat file to see the issue and it said
"java -Xmx6144M -Xms6144M -jar server.1.16.4.jar nogui
Error: Unable to access jarfile server.1.16.4.jar"
how do i fix this??????? please help
change 'server.1.16.4.jar' in the text file to 'server.jar'
Works?
nothing works in username or password
I don't know what to say. Admin and password should be the username and password. If not, that means that someone else in your house has changed it
what can i do if the application crashes?
What do you mean? You might not have enough ram.
If you're talking about the .bat file crashing, Edit the start.bat file and on a new line type "pause". Then save it and run it again. instead of closing right away, it'll tell you why it's not running properly. Then, you can just type the error code into a google search and there'll be answers on how to fix it online
i couldn't figure out how to open the .bat file. i tried troubleshooting with the "pause" thing but all it said was "unable to open". My server name is "server (6)" i assumed that it meant that i had downloaded 6 but i deleted them all. i tried sooo many different names but all of them do not work please help.
(i already subbed and liked. because other than that piece its a great vid tutorial.)
I have no clue. If you were you, I would just delete everything and restart from the beginning. If you port-forwarded, you don't have to do that again, so just delete the Minecraft server files and start over.
@@wotntarnation3012 ok thx
It didn't work when I entered the IP into a browser :/
you might be typing in the wrong IP adress. Go to this website [whatismyip.host/] and copy and paste the IP it gives you into the adress bar
@@wotntarnation3012 the website couldn't be found
it doesnt show up as a java file on windows 10
what do you mean? It should be a .jar file
@@wotntarnation3012 yeah but i cant execute it is the point
@@Nathan-wh6uw After you try to execute it for the first time, it will create a text file called "eula". Open it up, and at the bottom, it'll say "eula=false" so just delete the "false" and change it to "true"
@@wotntarnation3012 yeah but when i try to exucute it nothing happens no eula is generated
@@Nathan-wh6uw I don't know then. It should create a eula.txt file when you double click on it. If I were you, I would go to r/Minecraft on Reddit. I've used it many times and the people there are very helpful!
how to make 24/7
The only way to do that is to either leave your computer running all night long or rent a server. If you really need something like that, it's worth investing in a server. Some are literally 1$ a month to rent
yo how do you install mods on these
There's a server installation on the Minecraft Forge website. However, if you use this, every player in your game has to be playing on Minecraft Forge AND has to have all of the same mods installed as you do. Because of this, I use crafbukkit. Instead of mods, this lets you use plugins. Plugins are kind of like small mods. You can add small stuff like sethomes, single player sleeping, treecapitator, moderator tools, etc. The best part is that only YOU have to install the plugins, and the players joining your server don't have to download anything and can play on the vanilla launcher. I would recommend, looking at the list of plugins (just google "crafbukkit plugins"), and if this works for you, then use crafbukkit. But if you want to use bigger mods, then use Minecraft Forge
@@wotntarnation3012 thanks for the quick reply!