Setting up a\u00a0Minecraft server<\/strong>\u00a0on\u00a0Windows Server<\/strong>\u00a0may be preferable if you are familiar with the Windows GUI. In this guide, you will learn how to setup a\u00a0Minecraft server<\/strong>\u00a0on\u00a0Windows Server (all versions)<\/strong>.<\/p>\n This article assumes that you have logged into your server with\u00a0RDP<\/strong>, and that you have Java installed.<\/p>\n You will need a folder to store the\u00a0Minecraft server<\/strong>\u00a0files. I recommend using a sub-folder of your Desktop (such as\u00a0 Download the\u00a0Minecraft<\/strong>\u00a0files to your server. We’re going to use the default\u00a0Minecraft server<\/strong>, which can be downloaded from the\u00a0Minecraft website<\/span><\/a><\/strong>. You will find the latest server version at the bottom of the page.<\/p>\n If you have connected to your Windows Server from a Windows client with the default RDP program, you will be able to simply copy + paste files. If you are on a Mac and are using the official Microsoft Remote Desktop application, you will need to enable folder redirection which will create a share, allowing you to share files between the client and the server.<\/p>\n Put the\u00a0 I recommend setting up your server by using a\u00a0 There are a number of things you will have to change here.<\/p>\n Put your\u00a0 You will need to accept the EULA by opening the\u00a0 After accepting the EULA by editing the\u00a0 This is the\u00a0 If there’s no obvious reason to change the port, I recommend leaving it on 25565. The most common reason for changing the server port is to run multiple Minecraft servers on one VPS.<\/p>\n You will now need to open the port you have chosen for your\u00a0Minecraft server<\/strong>\u00a0in the firewall. If you would like to learn how to open a port in the firewall on Windows Server 2012, read the article\u00a0Open a Port in Windows Firewall on Server 2012<\/span><\/a><\/strong>\u00a0and open the port you have chosen to use for your\u00a0Minecraft server<\/strong>.<\/p>\n Your Minecraft server is ready for use. You can now login with the Minecraft game client.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,243,248],"manual_kb_tag":[205],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2300"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2300"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2300\/revisions"}],"predecessor-version":[{"id":2301,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2300\/revisions\/2301"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2300"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Step 1: Create a folder and download Minecraft files<\/strong><\/h3>\n
C:\\Users\\Administrator\\Desktop\\Minecraft<\/code>).<\/p>\n
.jar<\/code>\u00a0file you have just downloaded for your server in the folder.<\/p>\n
Step 2: Creating a<\/strong>\u00a0
start.bat<\/code>\u00a0file<\/strong><\/h3>\n
.bat<\/code>\u00a0file. Windows will execute a command every time the\u00a0
.bat<\/code>\u00a0file is opened which will properly initialize the Minecraft server. A sample\u00a0
.bat<\/code>\u00a0file for launching Minecraft looks like this:<\/p>\n
java -Xms1024M -Xmx1024M -jar name.jar -o true\r\nPAUSE\r\n<\/code><\/pre>\n
\n
-Xms1024M<\/code>\u00a0– this is the minimum amount of RAM your server will use. If you want this to be a certain amount of MB’s you can use\u00a0
1M<\/code>\u00a0if you’d like to allocate 1 MB of RAM, for example. If you’d like to allocate an amount of GB, use\u00a0
1G<\/code>given that 1 is the amount of GB’s you’ll allocate.<\/li>\n
-Xmx1024M<\/code>\u00a0– this is the maximum amount of RAM your server will use. This is the same with\u00a0
Xms<\/code>\u00a0in terms of MB’s and GB’s to allocate.<\/li>\n
name.jar<\/code>\u00a0– this is the name of the\u00a0
.jar<\/code>\u00a0file you have downloaded.<\/li>\n<\/ul>\n
.jar<\/code>\u00a0file and\u00a0
.bat<\/code>\u00a0file in the same folder (
C:\\Users\\Administrator\\Desktop\\Minecraft<\/code>) and double-click your\u00a0
.bat<\/code>file. Its name can be anything (you could call it\u00a0
start.bat<\/code>, for example).<\/p>\n
Step 3: Accepting the EULA<\/strong><\/h3>\n
eula.txt<\/code>\u00a0file and changing\u00a0
eula=false<\/code>\u00a0to\u00a0
eula=true<\/code>. This indicates that you agree with the EULA.<\/p>\n
Step 4: Setting your server port and other values<\/strong><\/h3>\n
eula.txt<\/code>, start your server again with the\u00a0
.bat<\/code>\u00a0file. This will create a number of files and folders that are required to use your server, among others the\u00a0
server.properties<\/code>\u00a0file. Find the following line:<\/p>\n
server-port=25565\r\n<\/code><\/pre>\n
server-port<\/code>\u00a0value. If you change this to something different, you will have to type the port after your IP when you join the server in the Minecraft client. For example, you’d have to type\u00a0
[YourServerIP]:25569<\/code>\u00a0if you changed the port to 25569. If you leave it the default value of 25565, Minecraft will recognize that automatically. Another option would be to use a DNS SRV record and have a registered domain name.<\/p>\n
Step 5: Opening the port in the firewall<\/strong><\/h3>\n