Articles on: VPS and dedicated server

How to Create a Minecraft Server on a Windows VPS

Follow these steps to create and configure a Minecraft server on your Windows VPS.



Step 1: Install Java

Minecraft requires Java to run. Here’s how to install it:


  1. Access your VPS Desktop: Log in to your Windows VPS using Remote Desktop Protocol (RDP).
  2. Download Java JDK:
  • Open a browser and navigate to the Oracle Java Downloads.
  • Select the appropriate version for Windows and download it.
  1. Install Java:
  • Run the installer and follow the on-screen instructions to install Java.


Step 2: Download the Minecraft Server Jar

  1. Visit the Minecraft Server Page:
  1. Save the File:
  • Save the .jar file in a dedicated folder, e.g., C:\MinecraftServer.



Step 3: Configure the Server

  1. Open Command Prompt:
  • Use Win + R, type cmd, and press Enter.
  1. Navigate to the Server Directory:
  • Use the command:
     cd C:\MinecraftServer
  1. Run the Server Jar:
  • Execute the following command:
     java -Xmx1024M -Xms1024M -jar server.jar nogui
  • This will generate the necessary configuration files.



Step 4: Accept the EULA

  1. Locate the eula.txt File:
  • Open C:\MinecraftServer\eula.txt.
  1. Edit the File:
  • Change eula=false to eula=true.
  • Save the file.



Step 5: Start the Server

  1. Re-run the Server Jar:
  • Use the same command as before:
     java -Xmx1024M -Xms1024M -jar server.jar nogui
  1. Wait for Initialization:
  • The server will initialize, and you can see the server console.



Step 6: Configure Firewall

  1. Allow Minecraft Ports:
  • Open Windows Firewall settings and allow inbound traffic for port 25565 (default Minecraft server port).



Step 7: Connect to Your Server

  1. Get Your VPS IP:
  • Find your VPS's public IP address in the VPS control panel.
  1. Launch Minecraft:
  • Open Minecraft, go to multiplayer, and add a server with your VPS IP.


Your Minecraft server is now live and ready for players!

Updated on: 28/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!