{
  "meta": {
    "version": "PTDL_v2",
    "update_url": null
  },
  "exported_at": "2026-08-18T21:01:56+00:00",
  "name": "Spigot",
  "author": "support@pterodactyl.io",
  "description": "Spigot es el software de servidor de Minecraft modificado más utilizado en el mundo. Alimenta muchas de las principales redes de servidores de Minecraft para garantizar que puedan hacer frente a su gran base de jugadores y garantizar la satisfacción de sus jugadores. Spigot funciona reduciendo y eliminando muchas causas de retraso, así como agregando funciones y configuraciones útiles que ayudan a facilitar tu trabajo de administración del servidor.",
  "features": [
    "eula",
    "java_version",
    "pid_limit"
  ],
  "container_version_map": [
    {
      "version": "latest",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java25"
    },
    {
      "version": "1.21.11",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.10",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.9",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.8",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.7",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.6",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.5",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.3",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.21",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.20.6",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.20.5",
      "docker_image": "ghcr.io/parkervcp/yolks:java_21",
      "installer_image": "ghcr.io/enderhost/installers:java21"
    },
    {
      "version": "1.20.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.20.3",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.20.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.20.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.20",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.19.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.19.3",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.19.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.19.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.19",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.18.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.18.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.18",
      "docker_image": "ghcr.io/parkervcp/yolks:java_17",
      "installer_image": "ghcr.io/enderhost/installers:java17"
    },
    {
      "version": "1.17.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_16",
      "installer_image": "ghcr.io/enderhost/installers:java16"
    },
    {
      "version": "1.17",
      "docker_image": "ghcr.io/parkervcp/yolks:java_16",
      "installer_image": "ghcr.io/enderhost/installers:java16"
    },
    {
      "version": "1.16.5",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.16.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.16.3",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.16.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.16.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.15.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.15.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.15",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.14.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.14.3",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.14.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.14.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.14",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.13.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.13.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.13",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.12.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.12.1",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.12",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.11.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.10.2",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.9.4",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    },
    {
      "version": "1.8.8",
      "docker_image": "ghcr.io/parkervcp/yolks:java_8",
      "installer_image": "ghcr.io/enderhost/installers:java8"
    }
  ],
  "file_denylist": [],
  "startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
  "config": {
    "files": "{\n    \"server.properties\": {\n        \"parser\": \"properties\",\n        \"find\": {\n            \"server-ip\": \"0.0.0.0\",\n            \"server-port\": \"{{server.build.default.port}}\",\n            \"query.port\": \"{{server.build.default.port}}\"\n        }\n    }\n}",
    "startup": "{\"done\":\")! For help, type\"}",
    "logs": "{}",
    "stop": "stop"
  },
  "scripts": {
    "installation": {
      "script": "#!/bin/bash\n\nset -euo pipefail\n\nsource /usr/local/lib/egg-utils.sh\negg_init\n\nmkdir -p /usr/share/man/man1\n\njava -version\n\nbuild_spigot() {\n  java -Xms\"$1\"M -jar BuildTools.jar --rev \"${DL_VERSION}\" || {\n    egg_error \"BuildTools failed for ${DL_VERSION} (memory: ${SERVER_MEMORY}M)\"\n  }\n}\n\nif [[ -n \"${DL_PATH}\" ]]; then\n  MODIFIED_DOWNLOAD=$(eval echo \"$(echo \"${DL_PATH}\" | sed -e 's/{{/${/g' -e 's/}}/}/g')\")\n  egg_info \"Using custom download: ${MODIFIED_DOWNLOAD}\"\n  curl -fsSL \"${MODIFIED_DOWNLOAD}\" -o \"${SERVER_JARFILE}\"\nelse\n  mkdir -p /srv/\n  cd /srv/\n  curl -fsSL https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar -o BuildTools.jar\n\n  if [[ \"${SERVER_MEMORY}\" -lt 1024 ]]; then\n    egg_warn \"Defaulting to 1024MB for BuildTools (was ${SERVER_MEMORY}MB)\"\n    SERVER_MEMORY=1024\n  fi\n\n  build_spigot \"${SERVER_MEMORY}\"\n\n  if compgen -G \"spigot-*.jar\" > /dev/null; then\n    mv spigot-*.jar \"/mnt/server/${SERVER_JARFILE}\"\n  elif compgen -G \"Spigot/Spigot-Server/target/spigot-*.jar\" > /dev/null; then\n    mv Spigot/Spigot-Server/target/spigot-*.jar \"/mnt/server/${SERVER_JARFILE}\"\n  else\n    SPIGOT_JAR=$(find /srv -name \"spigot-*.jar\" | head -n 1)\n    if [[ -n \"${SPIGOT_JAR}\" ]]; then\n      mv \"${SPIGOT_JAR}\" \"/mnt/server/${SERVER_JARFILE}\"\n    else\n      egg_error \"Could not find generated Spigot jar\"\n    fi\n  fi\nfi\n\negg_info \"Spigot installation complete\"\n",
      "container": "ghcr.io/enderhost/installers:latest",
      "entrypoint": "bash"
    }
  },
  "variables": [
    {
      "name": "Server Jar File",
      "description": "Nombre del archivo JAR con el que se ejecutará el servidor.",
      "env_variable": "SERVER_JARFILE",
      "default_value": "server.jar",
      "user_viewable": true,
      "user_editable": true,
      "rules": "required|regex:/^([\\w\\d._-]+)(\\.jar)$/",
      "field_type": "text",
      "source": "user"
    },
    {
      "name": "Download Path",
      "description": "URL para descargar Spigot en lugar de compilarlo en el servidor. Usa {{DL_VERSION}} en la URL para insertar la versión asignada.",
      "env_variable": "DL_PATH",
      "default_value": "",
      "user_viewable": false,
      "user_editable": false,
      "rules": "nullable|string",
      "field_type": "text",
      "source": "user"
    },
    {
      "name": "Spigot Version",
      "description": "Versión de Spigot a descargar (BuildTools --rev). Usa latest para la versión más reciente disponible.",
      "env_variable": "DL_VERSION",
      "default_value": "latest",
      "user_viewable": true,
      "user_editable": true,
      "rules": "required|string|in:latest,1.21.11,1.21.10,1.21.9,1.21.8,1.21.7,1.21.6,1.21.5,1.21.4,1.21.3,1.21.1,1.21,1.20.6,1.20.5,1.20.4,1.20.3,1.20.2,1.20.1,1.20,1.19.4,1.19.3,1.19.2,1.19.1,1.19,1.18.2,1.18.1,1.18,1.17.1,1.17,1.16.5,1.16.4,1.16.3,1.16.2,1.16.1,1.15.2,1.15.1,1.15,1.14.4,1.14.3,1.14.2,1.14.1,1.14,1.13.2,1.13.1,1.13,1.12.2,1.12.1,1.12,1.11.2,1.10.2,1.9.4,1.8.8",
      "field_type": "select",
      "source": "user",
      "defines_version": true
    }
  ]
}
