How to create and host a minecraft server from scratch.
Create network
-
Open
Radmin VPN
. -
Create a network.
You may need to sign in/sign up.
-
Copy IPv4.
β οΈ -
We're done here! π
Create server
-
Create a folder for your server.
-
Download server.jar to your server folder.
-
Inside the folder, create a text file named
start-server
.-
Before pasting the command line below, choose how much RAM you want to use:
-Xmx
is how much memory it's allowed to use.-Xms
is the initial memory size (no performance impact).1gb / -Xmx1024M -Xms1024M 2gb / -Xmx2048M -Xms2048M 3gb / -Xmx3072M -Xms3072M 4gb / -Xmx4096M -Xms4096M 5gb / -Xmx5120M -Xms5120M 6gb / -Xmx6144M -Xms6144M 7gb / -Xmx7168M -Xms7168M 8gb / -Xmx8192M -Xms8192M 9gb / -Xmx9216M -Xms9216M and so on... just multiply 1024 for how much you want
-
Paste
java -Xmx2048M -Xms1024M -jar server.jar nogui
(change RAM for your preference) -
Save the file as
.bat
-
-
Execute
start-server.bat
to setup.-
When the console says
[Server thread/INFO]: Done! For help, type "help"
typestop
to close.The program may close itself automatically.
-
-
After setup, open
eula.txt
and agree to EULA:eula=true
-
Execute
start-server.bat
to actually install the server.-
When the console says
[Server thread/INFO]: Done! For help, type "help"
typestop
to close.Now you should have a lot of files and folders.
-
-
Edit
server.properties
.-
Usually, we change those:
gamemode=
survival/creative/adventure/spectatordifficulty=
peaceful/easy/normal/hardpvp=
true/falsehardcore=
true/falseenable-command-block=
true/falsemax-players=
default=20server-ip=
YOUR_IP_ADDRESSβ οΈ level-name=
default=worldonline-mode=
true/false (false
allows cracked)level-seed=
leave empty for random seedmotd=
default=A Minecraft Server / (motd generator)
-
-
Well, we're done! π
I love adding a new step just to tell you we're done
FAQ
-
How to change server ip?
Open
server.properties
and changeserver-ip=
to whatever you want. -
How to add/change server world?
Open
server.properties
and changelevel-name=
to whatever you want, it will create a folder with the name of level. Yes, you can have multiple levels in the same server folder, to rotate the maps you just need to changeleve-name=
to the folder name. -
What are the commands to use in console?
Well, there are a LOT of commands you can use, I recommend this site.