Skip to content

dudushy/minecraft-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 

Repository files navigation

minecraft-server

How to create and host a minecraft server from scratch.

Topics

(back to top)


Dependences

(back to top)


Create network
  1. Open Radmin VPN.

  2. Create a network.

    You may need to sign in/sign up.

    • Click on Network.

      network

    • Click on Create New Network

      create_network

    • Give your network a name and a password.

      network_name_and_password

  3. Copy IPv4. ⚠️

    • Right click on your name and copy IP address.

      Save your IPv4, you will use on the server!

      copy_ipv4

  4. We're done here! 😄

(back to top)


Create server
  1. Create a folder for your server.

  2. Download server.jar to your server folder.

  3. 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

  4. Execute start-server.bat to setup.

    • When the console says [Server thread/INFO]: Done! For help, type "help" type stop to close.

      The program may close itself automatically.

  5. After setup, open eula.txt and agree to EULA:

    • eula=true
  6. Execute start-server.bat to actually install the server.

    • When the console says [Server thread/INFO]: Done! For help, type "help" type stop to close.

      Now you should have a lot of files and folders.

  7. Edit server.properties.

    • Usually, we change those:

      gamemode= survival/creative/adventure/spectator

      difficulty= peaceful/easy/normal/hard

      pvp= true/false

      hardcore= true/false

      enable-command-block= true/false

      max-players= default=20

      server-ip= YOUR_IP_ADDRESS ⚠️

      level-name= default=world

      online-mode= true/false (false allows cracked)

      level-seed= leave empty for random seed

      motd= default=A Minecraft Server / (motd generator)

  8. Well, we're done! 😄 I love adding a new step just to tell you we're done

(back to top)


Open server
  1. Just execute start-server.bat.

  2. Guess what? We are done! 😄

(back to top)


FAQ
  • How to change server ip?

    Open server.properties and change server-ip= to whatever you want.

  • How to add/change server world?

    Open server.properties and change level-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 change leve-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.

(back to top)


(back to top)

About

🛠️ How to create and host a minecraft server from scratch.

Topics

Resources

Stars

Watchers

Forks