Redirect 302 redirect from POST @panel (9801ac)

GET https://www.cubenoxhost.pl/panel?id=eb19dc76&routeName=server

HTTP Client

8 Total requests
0 HTTP errors

Clients

http_client 8

Requests

GET https://panel.cubenoxhost.pl/api/application/servers/6
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptla_Op2fKmONnchvQ3ZIZVNFSBYANprc5RxWrG187FOXbZh"
    "Content-Type" => "application/json"
    "Accept" => "application/json"
  ]
  "query" => [
    "include" => "variables,egg,databases,subusers"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 310
    "total_time" => 0.042173
    "namelookup_time" => 0.002839
    "connect_time" => 0.003037
    "pretransfer_time" => 0.009852
    "size_download" => 6556.0
    "speed_download" => 155454.0
    "starttransfer_time" => 0.041957
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "appconnect_time_us" => 9792
    "connect_time_us" => 3037
    "namelookup_time_us" => 2839
    "pretransfer_time_us" => 9852
    "starttransfer_time_us" => 41957
    "total_time_us" => 42173
    "effective_method" => "GET"
    "start_time" => 1776763060.2322
    "original_url" => "https://panel.cubenoxhost.pl/api/application/servers/6?include=variables%2Cegg%2Cdatabases%2Csubusers"
    "pause_handler" => Closure(float $duration) {#1971
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#1998 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775808
      }
    }
    "debug" => """
      * Host panel.cubenoxhost.pl:443 was resolved.\n
      * IPv6: (none)\n
      * IPv4: 193.26.159.241\n
      *   Trying 193.26.159.241:443...\n
      * ALPN: curl offers h2,http/1.1\n
      *  CAfile: /etc/ssl/certs/ca-certificates.crt\n
      *  CApath: /etc/ssl/certs\n
      * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / id-ecPublicKey\n
      * ALPN: server accepted http/1.1\n
      * Server certificate:\n
      *  subject: CN=cubenoxhost.pl\n
      *  start date: Apr 20 23:40:31 2026 GMT\n
      *  expire date: Jul 19 23:40:30 2026 GMT\n
      *  subjectAltName: host "panel.cubenoxhost.pl" matched cert's "panel.cubenoxhost.pl"\n
      *  issuer: C=US; O=Let's Encrypt; CN=E7\n
      *  SSL certificate verify ok.\n
      *   Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384\n
      *   Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using sha256WithRSAEncryption\n
      *   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption\n
      * Connected to panel.cubenoxhost.pl (193.26.159.241) port 443\n
      * using HTTP/1.x\n
      > GET /api/application/servers/6?include=variables%2Cegg%2Cdatabases%2Csubusers HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptla_Op2fKmONnchvQ3ZIZVNFSBYANprc5RxWrG187FOXbZh\r\n
      Content-Type: application/json\r\n
      Accept: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 239\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "url" => "https://panel.cubenoxhost.pl/api/application/servers/6?include=variables%2Cegg%2Cdatabases%2Csubusers"
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 239"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "server"
    "attributes" => [
      "id" => 6
      "external_id" => null
      "uuid" => "eb19dc76-0bcb-4f9e-9dcc-c1b1e54aca2e"
      "identifier" => "eb19dc76"
      "name" => "Minecraft 2 GB / 30 dni"
      "description" => ""
      "status" => null
      "suspended" => false
      "limits" => [
        "memory" => 2048
        "swap" => 0
        "disk" => 10000
        "io" => 500
        "cpu" => 200
        "threads" => null
        "oom_disabled" => true
      ]
      "feature_limits" => [
        "databases" => 0
        "allocations" => 0
        "backups" => 0
      ]
      "user" => 3
      "node" => 1
      "allocation" => 2
      "nest" => 1
      "egg" => 4
      "container" => [
        "startup_command" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
        "image" => "ghcr.io/pterodactyl/yolks:java_21"
        "installed" => 1
        "environment" => [
          "MINECRAFT_VERSION" => "latest"
          "SERVER_JARFILE" => "server.jar"
          "DL_PATH" => ""
          "BUILD_NUMBER" => "latest"
          "STARTUP" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
          "P_SERVER_LOCATION" => "pl"
          "P_SERVER_UUID" => "eb19dc76-0bcb-4f9e-9dcc-c1b1e54aca2e"
          "P_SERVER_ALLOCATION_LIMIT" => 0
        ]
      ]
      "updated_at" => "2026-04-21T09:17:36+00:00"
      "created_at" => "2026-04-21T09:17:33+00:00"
      "relationships" => [
        "subusers" => [
          "object" => "list"
          "data" => []
        ]
        "egg" => [
          "object" => "egg"
          "attributes" => [
            "id" => 4
            "uuid" => "1705f996-1c91-4fdc-92ef-b1a2db557973"
            "name" => "Paper"
            "nest" => 1
            "author" => "parker@pterodactyl.io"
            "description" => "High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies."
            "docker_image" => "ghcr.io/pterodactyl/yolks:java_21"
            "docker_images" => [
              "Java 21" => "ghcr.io/pterodactyl/yolks:java_21"
              "Java 17" => "ghcr.io/pterodactyl/yolks:java_17"
              "Java 16" => "ghcr.io/pterodactyl/yolks:java_16"
              "Java 11" => "ghcr.io/pterodactyl/yolks:java_11"
              "Java 8" => "ghcr.io/pterodactyl/yolks:java_8"
            ]
            "config" => [
              "files" => [
                "server.properties" => [
                  "parser" => "properties"
                  "find" => [
                    "server-ip" => "0.0.0.0"
                    "server-port" => "{{server.build.default.port}}"
                    "query.port" => "{{server.build.default.port}}"
                  ]
                ]
              ]
              "startup" => [
                "done" => ")! For help, type "
              ]
              "stop" => "stop"
              "logs" => []
              "file_denylist" => []
              "extends" => null
            ]
            "startup" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
            "script" => [
              "privileged" => true
              "install" => """
                #!/bin/ash\r\n
                # Paper Installation Script\r\n
                #\r\n
                # Server Files: /mnt/server\r\n
                PROJECT=paper\r\n
                \r\n
                if [ -n "${DL_PATH}" ]; then\r\n
                \techo -e "Using supplied download url: ${DL_PATH}"\r\n
                \tDOWNLOAD_URL=`eval echo $(echo ${DL_PATH} | sed -e 's/{{/${/g' -e 's/}}/}/g')`\r\n
                else\r\n
                \tVER_EXISTS=`curl -s https://api.papermc.io/v2/projects/${PROJECT} | jq -r --arg VERSION $MINECRAFT_VERSION '.versions[] | contains($VERSION)' | grep -m1 true`\r\n
                \tLATEST_VERSION=`curl -s https://api.papermc.io/v2/projects/${PROJECT} | jq -r '.versions' | jq -r '.[-1]'`\r\n
                \r\n
                \tif [ "${VER_EXISTS}" == "true" ]; then\r\n
                \t\techo -e "Version is valid. Using version ${MINECRAFT_VERSION}"\r\n
                \telse\r\n
                \t\techo -e "Specified version not found. Defaulting to the latest ${PROJECT} version"\r\n
                \t\tMINECRAFT_VERSION=${LATEST_VERSION}\r\n
                \tfi\r\n
                \r\n
                \tBUILD_EXISTS=`curl -s https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION} | jq -r --arg BUILD ${BUILD_NUMBER} '.builds[] | tostring | contains($BUILD)' | grep -m1 true`\r\n
                \tLATEST_BUILD=`curl -s https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION} | jq -r '.builds' | jq -r '.[-1]'`\r\n
                \r\n
                \tif [ "${BUILD_EXISTS}" == "true" ]; then\r\n
                \t\techo -e "Build is valid for version ${MINECRAFT_VERSION}. Using build ${BUILD_NUMBER}"\r\n
                \telse\r\n
                \t\techo -e "Using the latest ${PROJECT} build for version ${MINECRAFT_VERSION}"\r\n
                \t\tBUILD_NUMBER=${LATEST_BUILD}\r\n
                \tfi\r\n
                \r\n
                \tJAR_NAME=${PROJECT}-${MINECRAFT_VERSION}-${BUILD_NUMBER}.jar\r\n
                \r\n
                \techo "Version being downloaded"\r\n
                \techo -e "MC Version: ${MINECRAFT_VERSION}"\r\n
                \techo -e "Build: ${BUILD_NUMBER}"\r\n
                \techo -e "JAR Name of Build: ${JAR_NAME}"\r\n
                \tDOWNLOAD_URL=https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION}/builds/${BUILD_NUMBER}/downloads/${JAR_NAME}\r\n
                fi\r\n
                \r\n
                cd /mnt/server\r\n
                \r\n
                echo -e "Running curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}"\r\n
                \r\n
                if [ -f ${SERVER_JARFILE} ]; then\r\n
                \tmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\n
                fi\r\n
                \r\n
                curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\r\n
                \r\n
                if [ ! -f server.properties ]; then\r\n
                    echo -e "Downloading MC server.properties"\r\n
                    curl -o server.properties https://raw.githubusercontent.com/parkervcp/eggs/master/minecraft/java/server.properties\r\n
                fi
                """
              "entry" => "ash"
              "container" => "ghcr.io/pterodactyl/installers:alpine"
              "extends" => null
            ]
            "created_at" => "2026-04-20T20:25:45+00:00"
            "updated_at" => "2026-04-20T20:25:45+00:00"
          ]
        ]
        "variables" => [
          "object" => "list"
          "data" => [
            [
              "object" => "server_variable"
              "attributes" => [
                "id" => 9
                "egg_id" => 4
                "name" => "Minecraft Version"
                "description" => """
                  The version of minecraft to download. \r\n
                  \r\n
                  Leave at latest to always get the latest version. Invalid versions will default to latest.
                  """
                "env_variable" => "MINECRAFT_VERSION"
                "default_value" => "latest"
                "user_viewable" => true
                "user_editable" => true
                "rules" => "nullable|string|max:20"
                "created_at" => "2026-04-20T20:25:45.000000Z"
                "updated_at" => "2026-04-20T20:25:45.000000Z"
                "server_value" => "latest"
              ]
            ]
            [
              "object" => "server_variable"
              "attributes" => [
                "id" => 10
                "egg_id" => 4
                "name" => "Server Jar File"
                "description" => "The name of the server jarfile to run the server with."
                "env_variable" => "SERVER_JARFILE"
                "default_value" => "server.jar"
                "user_viewable" => true
                "user_editable" => true
                "rules" => "required|regex:/^([\w\d._-]+)(\.jar)$/"
                "created_at" => "2026-04-20T20:25:45.000000Z"
                "updated_at" => "2026-04-20T20:25:45.000000Z"
                "server_value" => "server.jar"
              ]
            ]
            [
              "object" => "server_variable"
              "attributes" => [
                "id" => 11
                "egg_id" => 4
                "name" => "Download Path"
                "description" => "A URL to use to download a server.jar rather than the ones in the install script. This is not user viewable."
                "env_variable" => "DL_PATH"
                "default_value" => ""
                "user_viewable" => false
                "user_editable" => false
                "rules" => "nullable|string"
                "created_at" => "2026-04-20T20:25:45.000000Z"
                "updated_at" => "2026-04-20T20:25:45.000000Z"
                "server_value" => ""
              ]
            ]
            [
              "object" => "server_variable"
              "attributes" => [
                "id" => 12
                "egg_id" => 4
                "name" => "Build Number"
                "description" => """
                  The build number for the paper release.\r\n
                  \r\n
                  Leave at latest to always get the latest version. Invalid versions will default to latest.
                  """
                "env_variable" => "BUILD_NUMBER"
                "default_value" => "latest"
                "user_viewable" => true
                "user_editable" => true
                "rules" => "required|string|max:20"
                "created_at" => "2026-04-20T20:25:45.000000Z"
                "updated_at" => "2026-04-20T20:25:45.000000Z"
                "server_value" => "latest"
              ]
            ]
          ]
        ]
        "databases" => [
          "object" => "list"
          "data" => []
        ]
      ]
    ]
  ]
]
GET https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/network/allocations
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 304
    "total_time" => 0.022017
    "pretransfer_time" => 0.000116
    "size_download" => 154.0
    "speed_download" => 6994.0
    "starttransfer_time" => 0.021898
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 116
    "starttransfer_time_us" => 21898
    "total_time_us" => 22017
    "effective_method" => "GET"
    "start_time" => 1776763060.2767
    "original_url" => "https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/network/allocations"
    "pause_handler" => Closure(float $duration) {#2065
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2073 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775800
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/servers/eb19dc76/network/allocations HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 255\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 255"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "list"
    "data" => [
      [
        "object" => "allocation"
        "attributes" => [
          "id" => 2
          "ip" => "193.26.159.241"
          "ip_alias" => null
          "port" => 25566
          "notes" => null
          "is_default" => true
        ]
      ]
    ]
  ]
]
GET https://panel.cubenoxhost.pl/api/client/servers/eb19dc76
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 284
    "total_time" => 0.027747
    "pretransfer_time" => 0.000115
    "size_download" => 2132.0
    "speed_download" => 76837.0
    "starttransfer_time" => 0.027625
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 115
    "starttransfer_time_us" => 27625
    "total_time_us" => 27747
    "effective_method" => "GET"
    "start_time" => 1776763060.3002
    "original_url" => "https://panel.cubenoxhost.pl/api/client/servers/eb19dc76"
    "pause_handler" => Closure(float $duration) {#2079
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2084 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775797
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/servers/eb19dc76 HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 254\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 254"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "server"
    "attributes" => [
      "server_owner" => true
      "identifier" => "eb19dc76"
      "__deprecated_uuid_short" => "eb19dc76"
      "server_identifier" => "serv_5mm5y5qlznhz5homygy6kswkfy"
      "internal_id" => 6
      "uuid" => "eb19dc76-0bcb-4f9e-9dcc-c1b1e54aca2e"
      "name" => "Minecraft 2 GB / 30 dni"
      "node" => "Node-1"
      "is_node_under_maintenance" => false
      "sftp_details" => [
        "ip" => "193.26.159.241"
        "port" => 2022
      ]
      "description" => ""
      "limits" => [
        "memory" => 2048
        "swap" => 0
        "disk" => 10000
        "io" => 500
        "cpu" => 200
        "threads" => null
        "oom_disabled" => true
      ]
      "invocation" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar"
      "docker_image" => "ghcr.io/pterodactyl/yolks:java_21"
      "egg_features" => [
        "eula"
        "java_version"
        "pid_limit"
      ]
      "feature_limits" => [
        "databases" => 0
        "allocations" => 0
        "backups" => 0
      ]
      "status" => null
      "is_suspended" => false
      "is_installing" => false
      "is_transferring" => false
      "relationships" => [
        "allocations" => [
          "object" => "list"
          "data" => [
            [
              "object" => "allocation"
              "attributes" => [
                "id" => 2
                "ip" => "193.26.159.241"
                "ip_alias" => null
                "port" => 25566
                "notes" => null
                "is_default" => true
              ]
            ]
          ]
        ]
        "variables" => [
          "object" => "list"
          "data" => [
            [
              "object" => "egg_variable"
              "attributes" => [
                "name" => "Minecraft Version"
                "description" => """
                  The version of minecraft to download. \r\n
                  \r\n
                  Leave at latest to always get the latest version. Invalid versions will default to latest.
                  """
                "env_variable" => "MINECRAFT_VERSION"
                "default_value" => "latest"
                "server_value" => "latest"
                "is_editable" => true
                "rules" => "nullable|string|max:20"
              ]
            ]
            [
              "object" => "egg_variable"
              "attributes" => [
                "name" => "Server Jar File"
                "description" => "The name of the server jarfile to run the server with."
                "env_variable" => "SERVER_JARFILE"
                "default_value" => "server.jar"
                "server_value" => "server.jar"
                "is_editable" => true
                "rules" => "required|regex:/^([\w\d._-]+)(\.jar)$/"
              ]
            ]
            [
              "object" => "egg_variable"
              "attributes" => [
                "name" => "Build Number"
                "description" => """
                  The build number for the paper release.\r\n
                  \r\n
                  Leave at latest to always get the latest version. Invalid versions will default to latest.
                  """
                "env_variable" => "BUILD_NUMBER"
                "default_value" => "latest"
                "server_value" => "latest"
                "is_editable" => true
                "rules" => "required|string|max:20"
              ]
            ]
          ]
        ]
      ]
    ]
    "meta" => [
      "is_server_owner" => true
      "user_permissions" => [
        "*"
      ]
    ]
  ]
]
GET https://panel.cubenoxhost.pl/api/client/account
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 275
    "total_time" => 0.017751
    "pretransfer_time" => 0.000137
    "size_download" => 160.0
    "speed_download" => 9013.0
    "starttransfer_time" => 0.017662
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 137
    "starttransfer_time_us" => 17662
    "total_time_us" => 17751
    "effective_method" => "GET"
    "start_time" => 1776763060.3294
    "original_url" => "https://panel.cubenoxhost.pl/api/client/account"
    "pause_handler" => Closure(float $duration) {#2108
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2102 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775794
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/account HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 253\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 253"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "user"
    "attributes" => [
      "id" => 3
      "admin" => false
      "username" => "lachp853"
      "email" => "lachp853@gmail.com"
      "first_name" => "Dawid"
      "last_name" => "Lach"
      "language" => "en"
    ]
  ]
]
GET https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/users
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 290
    "total_time" => 0.024943
    "pretransfer_time" => 0.000118
    "size_download" => 27.0
    "speed_download" => 1082.0
    "starttransfer_time" => 0.024854
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 118
    "starttransfer_time_us" => 24854
    "total_time_us" => 24943
    "effective_method" => "GET"
    "start_time" => 1776763060.3483
    "original_url" => "https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/users"
    "pause_handler" => Closure(float $duration) {#2072
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2097 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775791
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/servers/eb19dc76/users HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 252\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 252"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "list"
    "data" => []
  ]
]
GET https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/activity
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 293
    "total_time" => 0.01895
    "pretransfer_time" => 9.1E-5
    "size_download" => 129.0
    "speed_download" => 6807.0
    "starttransfer_time" => 0.018857
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 91
    "starttransfer_time_us" => 18857
    "total_time_us" => 18950
    "effective_method" => "GET"
    "start_time" => 1776763060.3751
    "original_url" => "https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/activity"
    "pause_handler" => Closure(float $duration) {#2144
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2115 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775788
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/servers/eb19dc76/activity HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 251\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 251"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "list"
    "data" => []
    "meta" => [
      "pagination" => [
        "total" => 0
        "count" => 0
        "per_page" => 25
        "current_page" => 1
        "total_pages" => 1
        "links" => []
      ]
    ]
  ]
]
GET https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/schedules
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE"
    "Accept" => "Application/vnd.pterodactyl.v1+json"
    "Content-Type" => "application/json"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 294
    "total_time" => 0.02208
    "pretransfer_time" => 0.000132
    "size_download" => 27.0
    "speed_download" => 1222.0
    "starttransfer_time" => 0.021955
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 132
    "starttransfer_time_us" => 21955
    "total_time_us" => 22080
    "effective_method" => "GET"
    "start_time" => 1776763060.3963
    "original_url" => "https://panel.cubenoxhost.pl/api/client/servers/eb19dc76/schedules"
    "pause_handler" => Closure(float $duration) {#2201
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2207 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775785
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/client/servers/eb19dc76/schedules HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptlc_Xyv8oL2MQasBImwZBi3GgeGsvN453BoLQp1ShWnuOHE\r\n
      Accept: Application/vnd.pterodactyl.v1+json\r\n
      Content-Type: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 250\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 250"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "list"
    "data" => []
  ]
]
GET https://panel.cubenoxhost.pl/api/application/servers/6
Request options
[
  "headers" => [
    "Authorization" => "Bearer ptla_Op2fKmONnchvQ3ZIZVNFSBYANprc5RxWrG187FOXbZh"
    "Content-Type" => "application/json"
    "Accept" => "application/json"
  ]
  "query" => [
    "include" => "allocations,egg"
  ]
]
Response 200
[
  "info" => [
    "header_size" => 462
    "request_size" => 289
    "total_time" => 0.019768
    "pretransfer_time" => 0.000139
    "size_download" => 4777.0
    "speed_download" => 241653.0
    "starttransfer_time" => 0.019654
    "primary_ip" => "193.26.159.241"
    "primary_port" => 443
    "local_ip" => "172.19.0.5"
    "local_port" => 37916
    "http_version" => 2
    "protocol" => 2
    "scheme" => "https"
    "pretransfer_time_us" => 139
    "starttransfer_time_us" => 19654
    "total_time_us" => 19768
    "effective_method" => "GET"
    "start_time" => 1776763060.419
    "original_url" => "https://panel.cubenoxhost.pl/api/application/servers/6?include=allocations%2Cegg"
    "pause_handler" => Closure(float $duration) {#2209
      class: "Symfony\Component\HttpClient\Response\CurlResponse"
      use: {
        $ch: CurlHandle {#2214 …}
        $multi: Symfony\Component\HttpClient\Internal\CurlClientState {#413 …}
        $execCounter: -9223372036854775782
      }
    }
    "debug" => """
      * Re-using existing https: connection with host panel.cubenoxhost.pl\n
      > GET /api/application/servers/6?include=allocations%2Cegg HTTP/1.1\r\n
      Host: panel.cubenoxhost.pl\r\n
      Authorization: Bearer ptla_Op2fKmONnchvQ3ZIZVNFSBYANprc5RxWrG187FOXbZh\r\n
      Content-Type: application/json\r\n
      Accept: application/json\r\n
      User-Agent: Symfony HttpClient (Curl)\r\n
      Accept-Encoding: gzip\r\n
      \r\n
      * Request completely sent off\n
      < HTTP/1.1 200 OK\r\n
      < Server: nginx/1.24.0 (Ubuntu)\r\n
      < Content-Type: application/json\r\n
      < Transfer-Encoding: chunked\r\n
      < Connection: keep-alive\r\n
      < Cache-Control: no-cache, private\r\n
      < Date: Tue, 21 Apr 2026 09:17:40 GMT\r\n
      < X-RateLimit-Limit: 256\r\n
      < X-RateLimit-Remaining: 238\r\n
      < X-Frame-Options: DENY\r\n
      < X-Content-Type-Options: nosniff\r\n
      < X-XSS-Protection: 1; mode=block\r\n
      < Referrer-Policy: no-referrer-when-downgrade\r\n
      < Access-Control-Allow-Origin: \r\n
      < Access-Control-Allow-Credentials: true\r\n
      < \r\n
      """
  ]
  "url" => "https://panel.cubenoxhost.pl/api/application/servers/6?include=allocations%2Cegg"
  "response_headers" => [
    "HTTP/1.1 200 OK"
    "Server: nginx/1.24.0 (Ubuntu)"
    "Content-Type: application/json"
    "Transfer-Encoding: chunked"
    "Connection: keep-alive"
    "Cache-Control: no-cache, private"
    "Date: Tue, 21 Apr 2026 09:17:40 GMT"
    "X-RateLimit-Limit: 256"
    "X-RateLimit-Remaining: 238"
    "X-Frame-Options: DENY"
    "X-Content-Type-Options: nosniff"
    "X-XSS-Protection: 1; mode=block"
    "Referrer-Policy: no-referrer-when-downgrade"
    "Access-Control-Allow-Origin: "
    "Access-Control-Allow-Credentials: true"
  ]
  "response_json" => [
    "object" => "server"
    "attributes" => [
      "id" => 6
      "external_id" => null
      "uuid" => "eb19dc76-0bcb-4f9e-9dcc-c1b1e54aca2e"
      "identifier" => "eb19dc76"
      "name" => "Minecraft 2 GB / 30 dni"
      "description" => ""
      "status" => null
      "suspended" => false
      "limits" => [
        "memory" => 2048
        "swap" => 0
        "disk" => 10000
        "io" => 500
        "cpu" => 200
        "threads" => null
        "oom_disabled" => true
      ]
      "feature_limits" => [
        "databases" => 0
        "allocations" => 0
        "backups" => 0
      ]
      "user" => 3
      "node" => 1
      "allocation" => 2
      "nest" => 1
      "egg" => 4
      "container" => [
        "startup_command" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
        "image" => "ghcr.io/pterodactyl/yolks:java_21"
        "installed" => 1
        "environment" => [
          "MINECRAFT_VERSION" => "latest"
          "SERVER_JARFILE" => "server.jar"
          "DL_PATH" => ""
          "BUILD_NUMBER" => "latest"
          "STARTUP" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
          "P_SERVER_LOCATION" => "pl"
          "P_SERVER_UUID" => "eb19dc76-0bcb-4f9e-9dcc-c1b1e54aca2e"
          "P_SERVER_ALLOCATION_LIMIT" => 0
        ]
      ]
      "updated_at" => "2026-04-21T09:17:36+00:00"
      "created_at" => "2026-04-21T09:17:33+00:00"
      "relationships" => [
        "allocations" => [
          "object" => "list"
          "data" => [
            [
              "object" => "allocation"
              "attributes" => [
                "id" => 2
                "ip" => "193.26.159.241"
                "alias" => null
                "port" => 25566
                "notes" => null
                "assigned" => true
              ]
            ]
          ]
        ]
        "egg" => [
          "object" => "egg"
          "attributes" => [
            "id" => 4
            "uuid" => "1705f996-1c91-4fdc-92ef-b1a2db557973"
            "name" => "Paper"
            "nest" => 1
            "author" => "parker@pterodactyl.io"
            "description" => "High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies."
            "docker_image" => "ghcr.io/pterodactyl/yolks:java_21"
            "docker_images" => [
              "Java 21" => "ghcr.io/pterodactyl/yolks:java_21"
              "Java 17" => "ghcr.io/pterodactyl/yolks:java_17"
              "Java 16" => "ghcr.io/pterodactyl/yolks:java_16"
              "Java 11" => "ghcr.io/pterodactyl/yolks:java_11"
              "Java 8" => "ghcr.io/pterodactyl/yolks:java_8"
            ]
            "config" => [
              "files" => [
                "server.properties" => [
                  "parser" => "properties"
                  "find" => [
                    "server-ip" => "0.0.0.0"
                    "server-port" => "{{server.build.default.port}}"
                    "query.port" => "{{server.build.default.port}}"
                  ]
                ]
              ]
              "startup" => [
                "done" => ")! For help, type "
              ]
              "stop" => "stop"
              "logs" => []
              "file_denylist" => []
              "extends" => null
            ]
            "startup" => "java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
            "script" => [
              "privileged" => true
              "install" => """
                #!/bin/ash\r\n
                # Paper Installation Script\r\n
                #\r\n
                # Server Files: /mnt/server\r\n
                PROJECT=paper\r\n
                \r\n
                if [ -n "${DL_PATH}" ]; then\r\n
                \techo -e "Using supplied download url: ${DL_PATH}"\r\n
                \tDOWNLOAD_URL=`eval echo $(echo ${DL_PATH} | sed -e 's/{{/${/g' -e 's/}}/}/g')`\r\n
                else\r\n
                \tVER_EXISTS=`curl -s https://api.papermc.io/v2/projects/${PROJECT} | jq -r --arg VERSION $MINECRAFT_VERSION '.versions[] | contains($VERSION)' | grep -m1 true`\r\n
                \tLATEST_VERSION=`curl -s https://api.papermc.io/v2/projects/${PROJECT} | jq -r '.versions' | jq -r '.[-1]'`\r\n
                \r\n
                \tif [ "${VER_EXISTS}" == "true" ]; then\r\n
                \t\techo -e "Version is valid. Using version ${MINECRAFT_VERSION}"\r\n
                \telse\r\n
                \t\techo -e "Specified version not found. Defaulting to the latest ${PROJECT} version"\r\n
                \t\tMINECRAFT_VERSION=${LATEST_VERSION}\r\n
                \tfi\r\n
                \r\n
                \tBUILD_EXISTS=`curl -s https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION} | jq -r --arg BUILD ${BUILD_NUMBER} '.builds[] | tostring | contains($BUILD)' | grep -m1 true`\r\n
                \tLATEST_BUILD=`curl -s https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION} | jq -r '.builds' | jq -r '.[-1]'`\r\n
                \r\n
                \tif [ "${BUILD_EXISTS}" == "true" ]; then\r\n
                \t\techo -e "Build is valid for version ${MINECRAFT_VERSION}. Using build ${BUILD_NUMBER}"\r\n
                \telse\r\n
                \t\techo -e "Using the latest ${PROJECT} build for version ${MINECRAFT_VERSION}"\r\n
                \t\tBUILD_NUMBER=${LATEST_BUILD}\r\n
                \tfi\r\n
                \r\n
                \tJAR_NAME=${PROJECT}-${MINECRAFT_VERSION}-${BUILD_NUMBER}.jar\r\n
                \r\n
                \techo "Version being downloaded"\r\n
                \techo -e "MC Version: ${MINECRAFT_VERSION}"\r\n
                \techo -e "Build: ${BUILD_NUMBER}"\r\n
                \techo -e "JAR Name of Build: ${JAR_NAME}"\r\n
                \tDOWNLOAD_URL=https://api.papermc.io/v2/projects/${PROJECT}/versions/${MINECRAFT_VERSION}/builds/${BUILD_NUMBER}/downloads/${JAR_NAME}\r\n
                fi\r\n
                \r\n
                cd /mnt/server\r\n
                \r\n
                echo -e "Running curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}"\r\n
                \r\n
                if [ -f ${SERVER_JARFILE} ]; then\r\n
                \tmv ${SERVER_JARFILE} ${SERVER_JARFILE}.old\r\n
                fi\r\n
                \r\n
                curl -o ${SERVER_JARFILE} ${DOWNLOAD_URL}\r\n
                \r\n
                if [ ! -f server.properties ]; then\r\n
                    echo -e "Downloading MC server.properties"\r\n
                    curl -o server.properties https://raw.githubusercontent.com/parkervcp/eggs/master/minecraft/java/server.properties\r\n
                fi
                """
              "entry" => "ash"
              "container" => "ghcr.io/pterodactyl/installers:alpine"
              "extends" => null
            ]
            "created_at" => "2026-04-20T20:25:45+00:00"
            "updated_at" => "2026-04-20T20:25:45+00:00"
          ]
        ]
      ]
    ]
  ]
]