{
  "manifest_version": "1.0.0",
  "template": {
    "id": "05f9573e-996b-4f6f-ac52-b535eda31aa1",
    "slug": "minecraft-262-modpack-server-paper-fabri",
    "name": "Minecraft 26.2 Modpack Server (Paper, Fabric, Forge)",
    "description": "Vanilla, plugin or modded servers in one click, with auto-backups and RCON.",
    "url": "https://railway.com/deploy/minecraft-262-modpack-server-paper-fabri",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/minecraft-modpack-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Console",
      "source": {
        "repo": "https://github.com/baranberkay96/minecraft-modpack-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Minecraft",
      "source": {
        "repo": "https://github.com/baranberkay96/minecraft-modpack-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        25565
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Console",
      "description": "Port Caddy listens on; the public domain targets it.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "RCON_PASSWORD",
      "service": "Console",
      "description": "Server-side console password, added by the proxy; never sent to the browser.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CONSOLE_PASSWORD",
      "service": "Console",
      "description": "Web console login password (generated). Minimum 12 characters.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CONSOLE_USERNAME",
      "service": "Console",
      "description": "Web console login username.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "MC_CONSOLE_UPSTREAM",
      "service": "Console",
      "description": "Private-network address of the Minecraft WebSocket console.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TZ",
      "service": "Minecraft",
      "description": "Server time zone (log timestamps, scheduled tasks).",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "EULA",
      "service": "Minecraft",
      "description": "REQUIRED. Set to TRUE only if you accept the Minecraft EULA (https://aka.ms/MinecraftEULA). The server refuses to start otherwise.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MODE",
      "service": "Minecraft",
      "description": "Default game mode: survival, creative, adventure or spectator.",
      "secret": false,
      "strategy": "default",
      "default": "survival"
    },
    {
      "key": "MOTD",
      "service": "Minecraft",
      "description": "Message shown in the multiplayer server list.",
      "secret": false,
      "strategy": "default",
      "default": "A Minecraft server on Railway"
    },
    {
      "key": "TYPE",
      "service": "Minecraft",
      "description": "Server type: VANILLA, PAPER (plugins), FABRIC, FORGE, NEOFORGE, MODRINTH (modpack) or AUTO_CURSEFORGE (modpack).",
      "secret": false,
      "strategy": "default",
      "default": "PAPER"
    },
    {
      "key": "MEMORY",
      "service": "Minecraft",
      "description": "Java heap (initial and max). 3G suits a small Paper server; modpacks usually need 6G-8G.",
      "secret": false,
      "strategy": "default",
      "default": "3G"
    },
    {
      "key": "VERSION",
      "service": "Minecraft",
      "description": "Minecraft version. 26.2 has stable Paper, Fabric and Forge builds. For modpacks use the pack's version or LATEST.",
      "secret": false,
      "strategy": "default",
      "default": "26.2"
    },
    {
      "key": "RCON_PORT",
      "service": "Minecraft",
      "description": "RCON port, reachable only on the private network.",
      "secret": false,
      "strategy": "default",
      "default": "25575"
    },
    {
      "key": "DIFFICULTY",
      "service": "Minecraft",
      "description": "peaceful, easy, normal or hard.",
      "secret": false,
      "strategy": "default",
      "default": "normal"
    },
    {
      "key": "ENABLE_RCON",
      "service": "Minecraft",
      "description": "Enable RCON (needed for safe backups and the web console).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MAX_PLAYERS",
      "service": "Minecraft",
      "description": "Maximum concurrent players.",
      "secret": false,
      "strategy": "default",
      "default": "20"
    },
    {
      "key": "ONLINE_MODE",
      "service": "Minecraft",
      "description": "Verify players against Mojang accounts. Keep TRUE on a public address.",
      "secret": false,
      "strategy": "default",
      "default": "TRUE"
    },
    {
      "key": "MC_IMAGE_TAG",
      "service": "Minecraft",
      "description": "Build arg: itzg/minecraft-server tag. Use an Ubuntu-based -javaNN tag (e.g. 2026.10.0-java21) for older modpacks.",
      "secret": false,
      "strategy": "default",
      "default": "2026.10.0-java25"
    },
    {
      "key": "BACKUP_PREFIX",
      "service": "Minecraft",
      "description": "Folder (key prefix) inside the bucket.",
      "secret": false,
      "strategy": "default",
      "default": "minecraft"
    },
    {
      "key": "RCON_PASSWORD",
      "service": "Minecraft",
      "description": "RCON password (also the WebSocket console password). Generated; letters and digits only.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "STOP_DURATION",
      "service": "Minecraft",
      "description": "Seconds the server gets to save and stop when the container is stopped.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "VIEW_DISTANCE",
      "service": "Minecraft",
      "description": "Chunk view distance. Lower it to save RAM and CPU.",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "BACKUP_ENABLED",
      "service": "Minecraft",
      "description": "Automatic world backups to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BACKUP_S3_BUCKET",
      "service": "Minecraft",
      "description": "Backup bucket name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BACKUP_S3_REGION",
      "service": "Minecraft",
      "description": "Backup bucket region.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_WHITELIST",
      "service": "Minecraft",
      "description": "Only allow players on the whitelist.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "USE_MEOWICE_FLAGS",
      "service": "Minecraft",
      "description": "Use MeowIce's tuned G1GC JVM flags (Aikar's flags updated for Java 17+).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "WEBSOCKET_ADDRESS",
      "service": "Minecraft",
      "description": "Listen address of the WebSocket console (all interfaces, IPv4 and IPv6).",
      "secret": false,
      "strategy": "default",
      "default": ":8080"
    },
    {
      "key": "WEBSOCKET_CONSOLE",
      "service": "Minecraft",
      "description": "Expose the server console over WebSocket for the Console service (private network only).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BACKUP_S3_ENDPOINT",
      "service": "Minecraft",
      "description": "Backup bucket S3 endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SIMULATION_DISTANCE",
      "service": "Minecraft",
      "description": "Chunk simulation distance.",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "BACKUP_INTERVAL_HOURS",
      "service": "Minecraft",
      "description": "Hours between backups.",
      "secret": false,
      "strategy": "default",
      "default": "6"
    },
    {
      "key": "BACKUP_RETENTION_DAYS",
      "service": "Minecraft",
      "description": "Backups older than this are deleted from the bucket.",
      "secret": false,
      "strategy": "default",
      "default": "7"
    },
    {
      "key": "BACKUP_S3_ACCESS_KEY_ID",
      "service": "Minecraft",
      "description": "Backup bucket access key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEBSOCKET_ALLOWED_ORIGINS",
      "service": "Minecraft",
      "description": "Browser origin allowed to use the console. Add your custom console domain here (comma-separated) if you set one.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BACKUP_S3_SECRET_ACCESS_KEY",
      "service": "Minecraft",
      "description": "Backup bucket secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Minecraft",
      "description": "Lets the server finish its 60 s save-and-stop before the old container is killed on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "90"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "minecraft-262-modpack-server-paper-fabri"
      }
    },
    "cli": "railway deploy --template minecraft-262-modpack-server-paper-fabri",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "05f9573e-996b-4f6f-ac52-b535eda31aa1",
            "serializedConfig": {
              "buckets": {
                "d0d0ad18-6f9b-58f5-8c47-ae871ac47a63": {
                  "name": "Bucket"
                }
              },
              "services": {
                "203e82fa-2369-5dbc-a871-18130471608a": {
                  "icon": "https://raw.githubusercontent.com/caddyserver/website/master/src/resources/images/favicon.png",
                  "name": "Console",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/minecraft-modpack-railway",
                    "branch": "main",
                    "rootDirectory": "/services/console"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port Caddy listens on; the public domain targets it.",
                      "defaultValue": "8080"
                    },
                    "RCON_PASSWORD": {
                      "isOptional": true,
                      "description": "Server-side console password, added by the proxy; never sent to the browser.",
                      "defaultValue": "${{Minecraft.RCON_PASSWORD}}"
                    },
                    "CONSOLE_PASSWORD": {
                      "isOptional": true,
                      "description": "Web console login password (generated). Minimum 12 characters.",
                      "defaultValue": "{{CONSOLE_PASSWORD}}"
                    },
                    "CONSOLE_USERNAME": {
                      "isOptional": true,
                      "description": "Web console login username.",
                      "defaultValue": "admin"
                    },
                    "MC_CONSOLE_UPSTREAM": {
                      "isOptional": true,
                      "description": "Private-network address of the Minecraft WebSocket console.",
                      "defaultValue": "${{Minecraft.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "8b1804a2-0016-5e9f-bd98-6cc6eecb9d76": {
                  "icon": "https://avatars.githubusercontent.com/u/988985?v=4",
                  "name": "Minecraft",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/minecraft-modpack-railway",
                    "branch": "main",
                    "rootDirectory": "/services/minecraft"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": true,
                      "description": "Server time zone (log timestamps, scheduled tasks).",
                      "defaultValue": "UTC"
                    },
                    "EULA": {
                      "isOptional": false,
                      "description": "REQUIRED. Set to TRUE only if you accept the Minecraft EULA (https://aka.ms/MinecraftEULA). The server refuses to start otherwise.",
                      "defaultValue": "{{EULA}}"
                    },
                    "MODE": {
                      "isOptional": true,
                      "description": "Default game mode: survival, creative, adventure or spectator.",
                      "defaultValue": "survival"
                    },
                    "MOTD": {
                      "isOptional": true,
                      "description": "Message shown in the multiplayer server list.",
                      "defaultValue": "A Minecraft server on Railway"
                    },
                    "TYPE": {
                      "isOptional": true,
                      "description": "Server type: VANILLA, PAPER (plugins), FABRIC, FORGE, NEOFORGE, MODRINTH (modpack) or AUTO_CURSEFORGE (modpack).",
                      "defaultValue": "PAPER"
                    },
                    "MEMORY": {
                      "isOptional": true,
                      "description": "Java heap (initial and max). 3G suits a small Paper server; modpacks usually need 6G-8G.",
                      "defaultValue": "3G"
                    },
                    "CF_SLUG": {
                      "isOptional": true,
                      "description": "With TYPE=AUTO_CURSEFORGE: modpack slug (e.g. all-the-mods-8), or use CF_PAGE_URL.",
                      "defaultValue": ""
                    },
                    "VERSION": {
                      "isOptional": true,
                      "description": "Minecraft version. 26.2 has stable Paper, Fabric and Forge builds. For modpacks use the pack's version or LATEST.",
                      "defaultValue": "26.2"
                    },
                    "RCON_PORT": {
                      "isOptional": true,
                      "description": "RCON port, reachable only on the private network.",
                      "defaultValue": "25575"
                    },
                    "DIFFICULTY": {
                      "isOptional": true,
                      "description": "peaceful, easy, normal or hard.",
                      "defaultValue": "normal"
                    },
                    "ENABLE_RCON": {
                      "isOptional": true,
                      "description": "Enable RCON (needed for safe backups and the web console).",
                      "defaultValue": "true"
                    },
                    "MAX_PLAYERS": {
                      "isOptional": true,
                      "description": "Maximum concurrent players.",
                      "defaultValue": "20"
                    },
                    "ONLINE_MODE": {
                      "isOptional": true,
                      "description": "Verify players against Mojang accounts. Keep TRUE on a public address.",
                      "defaultValue": "TRUE"
                    },
                    "MC_IMAGE_TAG": {
                      "isOptional": true,
                      "description": "Build arg: itzg/minecraft-server tag. Use an Ubuntu-based -javaNN tag (e.g. 2026.10.0-java21) for older modpacks.",
                      "defaultValue": "2026.10.0-java25"
                    },
                    "BACKUP_PREFIX": {
                      "isOptional": true,
                      "description": "Folder (key prefix) inside the bucket.",
                      "defaultValue": "minecraft"
                    },
                    "RCON_PASSWORD": {
                      "isOptional": true,
                      "description": "RCON password (also the WebSocket console password). Generated; letters and digits only.",
                      "defaultValue": "{{RCON_PASSWORD}}"
                    },
                    "STOP_DURATION": {
                      "isOptional": true,
                      "description": "Seconds the server gets to save and stop when the container is stopped.",
                      "defaultValue": "60"
                    },
                    "VIEW_DISTANCE": {
                      "isOptional": true,
                      "description": "Chunk view distance. Lower it to save RAM and CPU.",
                      "defaultValue": "10"
                    },
                    "BACKUP_ENABLED": {
                      "isOptional": true,
                      "description": "Automatic world backups to the Railway Bucket.",
                      "defaultValue": "true"
                    },
                    "RESTORE_BACKUP": {
                      "isOptional": true,
                      "description": "Set to a backup file name (or 'latest') and redeploy to restore it once before the server starts. Current data is moved to /data/.pre-restore-<time>.",
                      "defaultValue": ""
                    },
                    "BACKUP_S3_BUCKET": {
                      "isOptional": true,
                      "description": "Backup bucket name.",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "BACKUP_S3_REGION": {
                      "isOptional": true,
                      "description": "Backup bucket region.",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "ENABLE_WHITELIST": {
                      "isOptional": true,
                      "description": "Only allow players on the whitelist.",
                      "defaultValue": "false"
                    },
                    "MODRINTH_MODPACK": {
                      "isOptional": true,
                      "description": "With TYPE=MODRINTH: modpack slug, project ID or page URL (e.g. https://modrinth.com/modpack/cobblemon-fabric).",
                      "defaultValue": ""
                    },
                    "USE_MEOWICE_FLAGS": {
                      "isOptional": true,
                      "description": "Use MeowIce's tuned G1GC JVM flags (Aikar's flags updated for Java 17+).",
                      "defaultValue": "true"
                    },
                    "WEBSOCKET_ADDRESS": {
                      "isOptional": true,
                      "description": "Listen address of the WebSocket console (all interfaces, IPv4 and IPv6).",
                      "defaultValue": ":8080"
                    },
                    "WEBSOCKET_CONSOLE": {
                      "isOptional": true,
                      "description": "Expose the server console over WebSocket for the Console service (private network only).",
                      "defaultValue": "true"
                    },
                    "BACKUP_S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "Backup bucket S3 endpoint.",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "SIMULATION_DISTANCE": {
                      "isOptional": true,
                      "description": "Chunk simulation distance.",
                      "defaultValue": "8"
                    },
                    "BACKUP_INTERVAL_HOURS": {
                      "isOptional": true,
                      "description": "Hours between backups.",
                      "defaultValue": "6"
                    },
                    "BACKUP_RETENTION_DAYS": {
                      "isOptional": true,
                      "description": "Backups older than this are deleted from the bucket.",
                      "defaultValue": "7"
                    },
                    "BACKUP_S3_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Backup bucket access key.",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "WEBSOCKET_ALLOWED_ORIGINS": {
                      "isOptional": true,
                      "description": "Browser origin allowed to use the console. Add your custom console domain here (comma-separated) if you set one.",
                      "defaultValue": "https://${{Console.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "BACKUP_S3_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Backup bucket secret key.",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Lets the server finish its 60 s save-and-stop before the old container is killed on redeploy.",
                      "defaultValue": "90"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "25565": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "f5680461-a75f-52b6-bbcd-123a3883441f": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Console",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0"
}
