_comment: 'DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL'
meta:
  version: PLCN_v3
  update_url: 'https://github.com/pelican-dev/panel/raw/main/database/Seeders/eggs/minecraft/egg-bungeecord.yaml'
exported_at: '2025-12-28T12:14:41+00:00'
name: Bungeecord
author: panel@example.com
uuid: 9e6b409e-4028-4947-aea8-50a2c404c271
description: |-
  For a long time, Minecraft server owners have had a dream that encompasses a free, easy, and
  reliable way to connect multiple Minecraft servers together. BungeeCord is the answer to said dream.
  Whether you are a small server wishing to string multiple game-modes together, or the owner of the
  ShotBow Network, BungeeCord is the ideal solution for you. With the help of BungeeCord, you will be
  able to unlock your community's full potential.
image: 'data:image/png;base64,[encoded data, 44788 characters]'
tags:
  - minecraft
  - proxy
features:
  - eula
  - java_version
  - pid_limit
docker_images:
  'Java 21': 'ghcr.io/pelican-eggs/yolks:java_21'
  'Java 17': 'ghcr.io/pelican-eggs/yolks:java_17'
  'Java 16': 'ghcr.io/pelican-eggs/yolks:java_16'
  'Java 11': 'ghcr.io/pelican-eggs/yolks:java_11'
  'Java 8': 'ghcr.io/pelican-eggs/yolks:java_8'
file_denylist: { }
startup_commands:
  Default: 'java -Xms128M -XX:MaxRAMPercentage=95.0 -jar {{SERVER_JARFILE}}'
config:
  files:
    config.yml:
      parser: yaml
      find:
        'listeners[0].query_port': '{{server.allocations.default.port}}'
        'listeners[0].host': '0.0.0.0:{{server.allocations.default.port}}'
        'servers.*.address':
          'regex:^(127\.0\.0\.1|localhost)(:\d{1,5})?$': '{{config.docker.interface}}$2'
  startup:
    done: 'Listening on '
  logs: { }
  stop: end
scripts:
  installation:
    script: |-
      #!/bin/ash
      # Bungeecord Installation Script
      #
      # Server Files: /mnt/server

      cd /mnt/server

      if [ -z "${BUNGEE_VERSION}" ] || [ "${BUNGEE_VERSION}" == "latest" ]; then
          BUNGEE_VERSION="lastStableBuild"
      fi

      curl -sSL -o ${SERVER_JARFILE} https://ci.md-5.net/job/BungeeCord/${BUNGEE_VERSION}/artifact/bootstrap/target/BungeeCord.jar
    container: 'ghcr.io/pelican-eggs/installers:alpine'
    entrypoint: ash
variables:
  - name: 'Bungeecord Jar File'
    description: 'The name of the Jarfile to use when running Bungeecord.'
    env_variable: SERVER_JARFILE
    default_value: bungeecord.jar
    user_viewable: true
    user_editable: true
    rules:
      - required
      - 'regex:/^([\w\d._-]+)(\.jar)$/'
    sort: 2
  - name: 'Bungeecord Version'
    description: 'The version of Bungeecord to download and use.'
    env_variable: BUNGEE_VERSION
    default_value: latest
    user_viewable: true
    user_editable: true
    rules:
      - required
      - alpha_num
      - 'between:1,6'
    sort: 1
