{
  "manifest_version": "1.0.0",
  "template": {
    "id": "136c7638-6974-4754-b6be-4095d3e81878",
    "slug": "minecraft-java",
    "name": "Minecraft Server | Paper + Crafty Web Panel",
    "description": "Paper server with Crafty web panel: join in minutes, nightly backups",
    "url": "https://railway.com/deploy/minecraft-java",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/minecraft-crafty-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Minecraft",
      "source": {
        "repo": "https://github.com/nomideusz/minecraft-crafty-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        25565
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "EULA",
      "service": "Minecraft",
      "description": "Type TRUE to accept the Minecraft EULA (https://aka.ms/MinecraftEULA) - the server is created once you do",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PORT",
      "service": "Minecraft",
      "description": "Port the panel listens on behind the Railway domain - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "CRAFTY_ADMIN_PASSWORD",
      "service": "Minecraft",
      "description": "Password for the panel's 'admin' login, set on first boot only - change it in Crafty afterwards",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Minecraft",
      "description": "Time to save the world and stop the server cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "90"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "minecraft-java"
      }
    },
    "cli": "railway deploy --template minecraft-java",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "136c7638-6974-4754-b6be-4095d3e81878",
            "serializedConfig": {
              "services": {
                "41a31342-6417-4a4c-9a9e-4b30797feba9": {
                  "icon": "https://gitlab.com/crafty-controller/crafty-4/-/raw/v4.11.0/app/frontend/static/assets/images/crafty-logo-square.svg",
                  "name": "Minecraft",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/minecraft-crafty-railway",
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "EULA": {
                      "isOptional": false,
                      "description": "Type TRUE to accept the Minecraft EULA (https://aka.ms/MinecraftEULA) - the server is created once you do",
                      "defaultValue": "{{EULA}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the panel listens on behind the Railway domain - leave as is",
                      "defaultValue": "8080"
                    },
                    "CRAFTY_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the panel's 'admin' login, set on first boot only - change it in Crafty afterwards",
                      "defaultValue": "{{CRAFTY_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to save the world and stop the server cleanly on redeploy",
                      "defaultValue": "90"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "25565": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "41a31342-6417-4a4c-9a9e-4b30797feba9": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Minecraft",
      "method": "GET",
      "path": "/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-06T04:14:42.626Z",
  "generator_version": "0.1.0"
}
