Sie sind auf Seite 1von 6

How to Deploy a Minecraft Server

This set of instructions is for deploying a Minecraft server on a local windows computer. Anyone who has
administrative access on the local computer can perform this task.

WARNING: If you are connected to a public network (i.e. a dormitory network or office building
network) hosting a server might be against the TOS.

There are two sections in this instruction set Installing Java, and Deploying Minecraft Server. Make sure to
complete the Installing Java section before attempting the Deploying Minecraft Server section since Java is
required to when running the Minecraft server.

Installing Java

1. Verify that you have the latest version of Java installed.

A. Open a new command prompt window.

i. Press and type run into the search bar.

ii. Press .

iii. Type cmd into the run window.

iv. Press .

B. Type java -version into the command prompt window.

C. Press .

After pressing a message will be displayed in the command prompt window. The displayed
message will determine what step should be performed next.

Message 1:

Message 2:
2. If Message 1 is displayed:

A. Navigate to https://java.com/en/download/win10.jsp.

B. Click .

C. Save the Java setup application on your desktop.

D. Double click the icon on your desktop.

After you double click the icon a Java SetupWelcome window will open.

E. Click Install >.

After you click install the Java Setup application will begin the installation process. Once the instal-
lation is complete a Java SetupComplete window will appear.

F. Click Close.

You have now successfully installed Java.


3. If Message 2 is displayed:
If Message 2 is displayed then a version of Java already installed on your machine. Verify that the
latest version of Java is installed.
A. Navigate to https://java.com/en/download/win10.jsp.
If your version of Java matches the recommended version of Java listed on the webpage then you have
completed this step. If you do not have the latest version of Java installed complete step 2 of Installing
Java.

Deploying Minecraft Server


1. Create a new folder on your desktop named Minecraft Server.

A. Right click on your desktop.

B. Select Folder under the New menu.

2. Navigate to https://minecraft.net/en-us/download/server.

3. Click the minecraft_server.1.11.2.jar hyper link in the center of the page.

4. Save the Minecraft jar file in the Minecraft Server.

5. Navigate to your desktop.

6. Double click on the Minecraft Server folder.


7. Create a new text file named startup.
A. Right click in the Minecraft Server window.
B. Select Text Document under the New menu.
C. Name file startup
8. Open the startup text file in Notepad.
A. Right click on the startup text file.
B. Select Notepad under the Open with menu.
9. Paste the following command into the text document:
java -Xmx1024M -Xms1024M -jar minecraft_server.1.11.2.jar nogui
The command above will deploy a Minecraft server and allocate 1GB of RAM to it. If you wish to allo-
cate the server more RAM edit the Xmx and Xms arguments according to the table below.

2GB Xmx2048M Xms2048M


WARNING: Allocating the server
with more memory than your system has can
cause you computer to run slow, or even 3GB Xmx3072M Xms3072M
crash. Most users will not need to allocate
more than half of their systems RAM to the
Minecraft server. 4GB Xmx4096M Xms4096M

10. Save the file as a batch file.


A. Select Save As under the Notepad File menu.
B. Type startup.bat in the File name: text field.
C. Select All Files (*.*) in the Save as type: dropdown menu.
11. Delete startup text file.
A. Right click on the startup text file
B. Select Delete.
12. Double click the startup batch file.
A command prompt window will open and then immediately close. Running the batch file will generate the
following items:
logsFile Folder
eulaText Document
serverPROPERTIES File
13. Open the eula text file in Notepad.
14. Change eula=false to eula=true.

15. Save eula text file by pressing + .


16. Double click the startup batch file to run it.

A command prompt window will open and start the your Minecraft server. You have now successfully de-
ployed your Minecraft server. To stop the Minecraft server type stop into the command prompt window.
Glossary
Batch File scr ipt file in DOS, OS/2, and Micr osoft Windows. Source: https://en.wik ipedia.org/wik i/
Batch_file

EULA (End-User License Agreement) the contr act between licensor and pur chaser , establishing the
purchasers right to use the software. Source: https://en.wikipedia.org/wiki/End-user_license_agreement

Java a gener al-purpose computer programming language that is concurrent, class-based, object-oriented, and
specifically designed to have as few implementation dependencies as possible. Source: https://
en.wikipedia.org/wiki/Java_(programming_language)

RAM (Random Access Memory) a for m of computer data stor age which stor es fr equently used program
instructions to increase the general speed of the system. Source: https://en.wikipedia.org/wiki/Random-
access_memory

TOS (Terms of Service) r ules by which one must agr ee to abide in or der to use a ser vice. Source: https://
en.wikipedia.org/wiki/Terms_of_service

Das könnte Ihnen auch gefallen