> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.vibegames.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://www.oracle.com/java/technologies/javase-downloads.html).
   - Select the appropriate version for Windows and download it.
3. **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:**
   - Open your browser and go to the [official Minecraft server download page](https://www.minecraft.net/en-us/download/server).
   - Download the `.jar` file for the Minecraft server.
2. **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.
2. **Navigate to the Server Directory:**
   - Use the command:  
     ```bash
     cd C:\MinecraftServer
     ```
3. **Run the Server Jar:**
   - Execute the following command:  
     ```bash
     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`.
2. **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:  
     ```bash
     java -Xmx1024M -Xms1024M -jar server.jar nogui
     ```
2. **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.
2. **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!