How to create your own Minecraft Server
ID: 151696
Description: Background Information: While Minecraft's...
Steps:
- To start your server make sure the device you are using has the latest software update. This ensures the device has the latest security patches.
- This process will vary depending on the OS you are using, but for Ubuntu use the following command: sudo apt update && sudo apt upgrade
- To run the Minecraft server you will need the latest Java Development Kit. For Linux you will just run the following command: sudo apt install default-jdk
- While this command will work on both Linux and Mac operating systems, the process does change when using Windows. The instructions for a Windows installation can be found here.
- Download the latest .jar file from the Mojang website here onto the device acting as your server.
- It is recommended that you keep the file in its own directory when you download it
- In your command line, navigate to the directory that has your .jar file and run the following command...
- java -Xmx3000M -Xms3000M -jar server.jar nogui
- 3000 is the amount of ram that we are dedicating to our server and is measured in Megabytes. You can also remove nogui if you want to use the GUI interface.
- You may get a warning that says you didn't accept EULA. To fix this issue open the eula.txt file and set the eula variable to true