Minecraft Blogs / Tutorial

How to: Make a Minecraft Server

  • 1,548 views, 1 today
  • 12
  • 9
  • 11
fiba1 avatar fiba1
Level 12 : Journeyman Warrior
15
This is a step by step tutorial on how to make a free single/multi-player Minecraft server and run it on your computer:

- Works for Windows only. (as of now?)
- This is for a Spigot server.
- Should work for Minecraft versions 1.4.6 - 1.16.5


Step one.
Make a “New Folder” This will be your “Server Folder"

Add a "New Text Document” in the “Server Folder
-- now you are going to paste the following text into the "New Text Document” you just made.

Windows:
Minecraft Server (What you want to call your server --- this will just change the display name on the top left of the window, you can call this whatever you want, or remove it if you don't want it, but I recommend giving it a unique name)
java -Xms1024M -Xmx1024M -XX:+UseG1GC -jar server.jar --nogui
PAUSE

--- You can change "1024M" to however much ram you'd like your server to use.
I highly suggest not messing with these numbers if you don't know what you're doing!
and if you are changing the numbers, remember: do NOT use the total amount of ram your computer has.
for example if you have 16gb of RAM on your computer, you should use a significant amount less than that since RAM is still needed for the OS, etc...
and I highly suggest changing both numbers, unless you know what you're doing!
again, make sure you know what you're doing!

--- --nogui is optional, for newer minecraft versions a GUI is used to display some information about your server.
I highly suggest turning this off for better server performance!

--- If you don't want to have the "Press any key to continue..." to come up after you close the server, or if the server crashes simply remove PAUSE from the file.

--- Now rename that “Text Document” to "startup.bat"
"startup.bat" is what you will use to start the server (not yet! there's still one more step before you can start it for the first time!)
Step two.
Open your Browser and download Spigot or Paper.

Spigot: Minecraft versions: 1.4.6 - 1.16.5
--- Download Spigot here and download the version you want.


OR

Paper: 1.8.8 - 1.15.2
--- Download Paper here and download the version you want.
- If you want to use an older version you need to scroll down and click where it says "LEGACY"

(I highly recommend using paper over spigot as it includes major improvements and optimizations for much better server performance)
also remember it is HIGLY recommended to always use the newest version that you can. NOT older versions, such as 1.8.

--- After the download finishes drag the jar file into your "Server folder"
--- RENAME IT to server.jar
Step three.
If you don't want to open it to public yet, or at all you can stop here and connect to the server on your own computer with the IP 0.0.0.0, and skip the next 2 steps.
Step four.
Open "Command Prompt"
--- Type "ipconfig"
--- Look for "Default Gateway . . . . . . . . . : xxx.xxx.xxx.xxx"
--- Do NOT close "Command Prompt" yet.
--- Open your browser and put that I.P into the search bar. ---{ notice: If you get some type of error, This is normal, And 98% sure you have to do a quit restart on your router to fix the issue. I've had this happen to me many times }---
--- Enter username and password.
--- Default: username = admin /\ password = admin (If you have a password setup on your router it will be that password)
--- If that doesn't work I suggest contacting your parents for the correct username and password.
--- NOTICE: If you have another type of router, For example: Ziggo, The username Is ziggo, and the password is draadloos, If you have another one, You should be able to find it somewhere online, or give me a poke and i'll try to get it for you, and also add it to the tutorial
--- Navigate to your Port Range Forward settings.
--- Add a "Port Range Forward" and the settings should look something like this.

- Application = Minecraft
- Start = 25565
- End = 25565
- Protocol = Both
- IP Address = xxx.xxx.xxx.xxx --- GET THIS I.P by going back to "Command Prompt" where it says
"IPv4 Address. . . . . . . . . . . : xxx.xxx.xxx.xxx"

note: no router is exactly the same your settings may look a bit different and Port Range Forward might have another name such as Virtual Servers.

--- Save settings.
--- Close Browser.
--- You can now close "Command Prompt"
Step five.
Now once again run "startup.bat"
Go here.
You and all your friends can now now join your server with This I.P

Notice:
At times. your "IPv4 Address. . . . . . . . . . . : xxx.xxx.xxx.xxx" will most likely change.
If it does. You need to go back to "Command Prompt" get the new I.P then update it in your router settings.

This I.P might change at times as well, if it does you need to get it and connect to your server with the new one.
Adding Plugins.
1. Open your browser and go here or here.
--- Find what plugin(s) you want

2. After installing the plugin put it into your plugin folder inside of your server folder.

3. Restart you server.

4. Your plugin should be installed and ready to use
Updating/Downgrading your server.
--- Go here (spigot) OR here (paper) and download the newer or older version of spigot OR paper you want.

--- Download the version you want, put it into your "Server folder"
--- RENAME IT to --- server.jar ---
--- Now start your server, And your good to go.
Please take note that I DO NOT suggest server downgrades at all.
If you do want to downgrade your server.
--- Your world/s may go corrupt.
-- Your plugin/s may no longer work.
- You will most likely lose a lot of important server information.
Remember to always make backups when attempting something like this.

(backups are also recommended for updates too! remember anything can go wrong!)

ALWAYS make constant backups!

even if you aren't updating or downgrading the server!

BACKUP! BACKUP! BACKUP!

If you have ANY issues or if you think I'm missing ANYTHING please contact me or comment below!

Thank you, I really hope this helps those who need <3
Tags

37 Update Logs

Update #37 : 01/31/2021 9:17:02 pmJan 31st

Updated:
--- Updated the title to say Minecraft!
--- Support for newest Minecraft versions.
--- Added some more important and necessary information.
--- Fixed a couple of small details throughout.
--- Added and fixed some broken links along with adding some new information.
(such as paper support!)
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/16/2015 5:37 pm
Level 3 : Apprentice Crafter
rhea9love
rhea9love avatar
it says your connection is not private
1
11/27/2014 10:25 am
Level 14 : Journeyman Scribe
toby_fikri_1707
toby_fikri_1707 avatar
but caft bukkit is removed so how can i download it and have a server?
1
07/26/2014 10:25 pm
Level 1 : New Miner
viciousdemons
viciousdemons avatar
is there a way withOUT downloading something?

1
07/27/2014 11:30 am
Level 12 : Journeyman Warrior
fiba1
fiba1 avatar
Well, If you are able to add me on Skype I'll be able to send you everything you need to download. But I'm leaving to camp on Tuesday, So If you wanna do that Ill be watching PMC as much as I can for your response. And if not, Then downloads are needed.
1
07/09/2014 10:49 pm
Level 10 : Journeyman Architect
mjskid123
mjskid123 avatar
mine never works it just gose on the command promp and says click sot star5t then it bust my laptop and it shuts it diwn and restartes it some one help me?
1
07/09/2014 11:38 pm
Level 12 : Journeyman Warrior
fiba1
fiba1 avatar
Do you have a skype where we can talk?
1
07/10/2014 2:15 pm
Level 10 : Journeyman Architect
mjskid123
mjskid123 avatar
yes ill private message u it
1
05/25/2014 8:38 pm
Level 1 : New Explorer
Takeo64z
Takeo64z avatar
Awesome! This Is An Easy Explaned Tutorial. I've Been Runing And OPerating Server For Years Now And This Is The Best Way I Found Of Explaning It. Great Job!
1
04/24/2014 2:57 am
Level 24 : Expert Fisherman
Fishmastr
Fishmastr avatar
you should mention that in common case your ip gets renewed after 24h. So people have to visit "whatsmyip.org" after every redial and post that new ip to their friends. Unless you setup a "dynamic dns" service its an annoying daily task and "impossible" to run a server for more than 3 friends.
1
04/24/2014 10:19 am
Level 12 : Journeyman Warrior
fiba1
fiba1 avatar
I updated it.
1
04/23/2014 9:16 pm
Level 17 : Journeyman Narwhal
KansasCityGirl
KansasCityGirl avatar
Luv it bro
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome