Minecraft server starter7/26/2023 ![]() Now for a breakdown of the command structure: Sudo java -Xms# -Xmx# -jar /minecraft_server.jar nogui Since my maximum is 3 GB I will leave the system 700 MB of RAM if needed, but this is only if the Minecraft Server uses more than the initial 2 GB. I will set my minimum at 2 GB and my maximum at 3 GB. I also want to leave some memory for the system to use if needed. Of course, I may add a little to allow for any growth of users. If my system has 3.7 GB free and I know I will have less than 40 players, then I only need 2 GB set aside. You also will designate the maximum amount to use as well. When starting the Minecraft Server you specify how much memory to initialize for Minecraft. There are a few items to cover before we actually start it. The next step is to actually start the Minecraft Server. To determine the available RAM open a terminal and type the following command – a sample output is shown in Figure 2: Once you have the Minecraft Server file you need it is time to determine the amount of RAM which can be allocated to Minecraft. If needed, use a minimal install of an Operating System (OS) such as a Minimal install of Ubuntu to have more RAM available. Again, it is important to have enough RAM. When starting the Minecraft Server you will specify the starting amount of RAM and the maximum amount of RAM to use as more players join. Once you have the file and know the folder where it has been saved you are ready to continue.īefore starting the Minecraft Server you must know the amount of available RAM on the current system to be able to use what is needed. To determine the current location use the command 'pwd'. ![]() When you download the file it will be saved to the current directory in which you are currently in when you run the command. Sudo wget /minecraft_server.jarĪs seen in Figure 1, the version number is 1.10.2. To download the version you need you will need to know its location. The next thing to do is download the Minecraft Server for the version you will need for the clients. Each client should be the same version to make this work. Keep in mind the version number of the Minecraft client software. See Figure 1 taken from a system running Minecraft and notice the version number in the bottom left corner. The next thing is to check the version of Minecraft which the users will be running. Once you have the appropriate version of Java you may proceed with the rest of the installation. You could also change the third command to be 'oracle-java9-installer' for the newest version of JAVA.įor a Redhat system, such as CentOS, use the following command:Īfter the installation verify the version by entering the version command, 'java -version', and verify the output. NOTE: If the 'add-apt-repository' command is not found, run 'sudo apt-get install software-properties-common'. Sudo apt-get install oracle-java8-installer
0 Comments
Leave a Reply. |