# How to Update a Minecraft PaperMC Server on Pterodactyl Panel

This guide will walk you through the process of updating your Minecraft PaperMC server on a Pterodactyl panel, including updating plugins. The PaperMC jar should be labeled `server.jar`.

## Prerequisites

- Access to your Pterodactyl panel.
- Basic knowledge of using the Pterodactyl interface.
- Access to your server files and FTP client.

## Steps to Update PaperMC

### Step 1: Backup Your Server

1. **Stop the Server:**
   - Log in to your Pterodactyl panel.
   - Navigate to the server you want to update.
   - Click the "Stop" button to stop your server.

2. **Create a Backup:**
   - Navigate to the "Backups" section in the panel.
   - Create a new backup. This ensures you can restore your server if anything goes wrong during the update process.

### Step 2: Download the Latest PaperMC Version

1. **Go to the PaperMC Download Page:**
   - Visit [PaperMC Downloads](https://papermc.io/downloads).

2. **Download the Latest Build:**
   - Download the latest `server.jar` file for PaperMC.

### Step 3: Replace the Old PaperMC Jar File

1. **Access Server Files:**
   - In the Pterodactyl panel, navigate to the "Files" section of your server.

2. **Upload the New Jar:**
   - Locate the existing `server.jar` file and delete it.
   - Upload the new `server.jar` file you downloaded in Step 2.

### Step 4: Update Plugins

1. **Check for Plugin Updates:**
   - Visit the official websites of your plugins or use [SpigotMC](https://www.spigotmc.org/resources/) to check for updates.

2. **Download Updated Plugins:**
   - Download the latest versions of the plugins you need to update.

3. **Upload New Plugin Files:**
   - In the Pterodactyl panel, navigate to the `plugins` folder.
   - Delete the old plugin files you wish to update.
   - Upload the new plugin files you downloaded.

### Step 5: Start the Server

1. **Start the Server:**
   - Return to the Pterodactyl panel.
   - Click the "Start" button to start your server.
   - Monitor the console for any errors that may occur during startup.

### Step 6: Verify Updates

1. **Check Server Version:**
   - Once the server is running, log in to your Minecraft server.
   - Use the command `/version` to check the PaperMC version.

2. **Test Plugins:**
   - Verify that all updated plugins are working correctly.
   - Check for any errors in the server console and address them if necessary.