# How to Update a Minecraft BungeeCord Server on Pterodactyl Panel

This guide will walk you through the process of updating your Minecraft BungeeCord server on a Pterodactyl panel. The BungeeCord 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 BungeeCord

### 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 BungeeCord Version

1. **Go to the BungeeCord Download Page:**
   - Visit the official BungeeCord page or the Jenkins build server where BungeeCord releases are available.

2. **Download the Latest Build:**
   - Download the latest `server.jar` file for BungeeCord.

### Step 3: Replace the Old BungeeCord 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 (if any)

1. **Check for Plugin Updates:**
   - Visit the official websites of your BungeeCord plugins or use [SpigotMC](https://www.spigotmc.org/resources/categories/bungeecord-proxy.2/) 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 network.
   - Use the command `/bungee version` to check the BungeeCord version (or check the console output during startup).

2. **Test Plugins:**
   - Verify that all updated plugins are working correctly.
   - Check for any errors in the server console and address them if necessary.