• Drac346 EpikFail

Minecraft Dedicated Server Setup for PC on Windows Server 2019

Minecraft Server on PC


Pre-Req's

  • Windows Server 2019

  • Java - Latest Version

  • Minecraft Vanilla (optional)

  • Minecraft Modded (see links below, note: scroll down on the curseforge page for the server downloads)

Install Steps - Minecraft Vanilla Server

  1. Install latest updates for Windows Server 2019

  2. Download Java - Latest Version for x64 Windows

  3. Download Minecraft Server - Link

  4. Server Setup Wiki


Install Steps - Minecraft Developer Build

  1. Download the version you need from Forge

  2. Install the server version to where ever

  3. Open file explorer and browse to the directory where you installed the forge files

  4. Create a batch file called: settings.bat

  5. Note: Update the JAR values for the correct Forge version you installed, and update the Min and Max RAM values.

5. Create a batch file called: ServerStart.bat

6. Open a command prompt and run the serverstart.bat file

7. Fix your EULA

8. Run Serverstart.bat

9. Type 'stop' once the server successfully starts


Verify Minecraft Vanilla Install

  1. From a command line:

The above can be customized for memory, see the wiki link in this article for instructions.

2. Current server is a VM w/ 7 GB RAM, the above command sets a 2GB initial and 4GB Max Memory Pool (requires x64 Java)

3. First run should fail, follow the EULA steps to resolve and try again

4. Once tested, create a BAT file for future use


5. Modify Server.Properties as desired

6. Verify Port Forwarding

7. Verify Windows Firewall ports are open

8. Start the Vanilla Server

9. Connect with a client and verify you can log in (ensure you test WAN)


Modded Minecraft

Install ManuFactio

  1. Install Forge on the Server

  2. Create settings.bat and ServerStart.bat (see modded steps above)

  3. Run ServerStart.bat and do the EULA update

  4. Enter STOP to save and quit the server.

  5. ForgeServer Setup Complete, Continue to install the Mod

  6. Download ManuFactio from CurseForge

  7. Copy the contents of the 'override' folder and replace the contents in the ForgeServer Folder (same place as the ServerStart.bat)

  8. Run ServerStart.bat

  9. Play game

Install SevTech

Note: I discovered afterwards that installing minecraft in advance was optional... Recommend doing it to ensure that Vanilla works before trying the Modded Version. I discovered that I was using 32bit java instead of 64bit java.

  1. Extract the ZIP to the ./minecraft folder

  2. As an Administrator CMD: install.bat

  3. Modify settings.bat

  4. Configure your minimum and maximum memory settings

  5. Modify server.properties

  6. Update query-port

  7. Update server-port

  8. Update server-ip

  9. As an Administrator: ServerStart.bat

  10. This takes a while on first startup, go get some coffee

  11. Don't forget the EULA

  12. Connect with a client and verify you can log in

  13. Adjust server.properties as desired and retest client connectivity

Install SkyFactory

  1. Same as SevTech, no difference

Security Stuff

A good starting reference

References

Contact Drac

You can find Drac active on Discord at: http://discord.pas.team

©2020 by KrookedSkull