{
  "manifest_version": "1.0.0",
  "template": {
    "id": "02ca1557-4f22-43ea-b3ff-f94ae01106d7",
    "slug": "beammp",
    "name": "BeamMP | BeamNG.drive",
    "description": "A BeamMP server for BeamNG.drive multiplayer",
    "url": "https://railway.com/deploy/beammp",
    "upstream": {
      "repo_url": "https://github.com/MarcBlattmann/BeamMP_Server"
    }
  },
  "services": [
    {
      "name": "BeamMP",
      "source": {
        "repo": "https://github.com/MarcBlattmann/BeamMP_Server"
      },
      "needs_volume": false,
      "tcp_ports": [
        30814
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BEAMMP_NAME",
      "service": "BeamMP",
      "description": "Your server name in the browser",
      "secret": false,
      "strategy": "default",
      "default": "My Railway BeamMP Server"
    },
    {
      "key": "BEAMMP_PORT",
      "service": "BeamMP",
      "description": "Connection port (should be 30814)",
      "secret": false,
      "strategy": "default",
      "default": "30814"
    },
    {
      "key": "BEAMMP_DEBUG",
      "service": "BeamMP",
      "description": "Extra logging for troubleshooting",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "BEAMMP_PRIVATE",
      "service": "BeamMP",
      "description": "Is it public (anyone) or private (friends only)?",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "BEAMMP_AUTH_KEY",
      "service": "BeamMP",
      "description": "Get your auth key at https://keymaster.beammp.com/",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BEAMMP_MAX_CARS",
      "service": "BeamMP",
      "description": "Total vehicles allowed on server",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "BEAMMP_DESCRIPTION",
      "service": "BeamMP",
      "description": "Info about your server (public list)",
      "secret": false,
      "strategy": "default",
      "default": "A BeamMP server hosted on Railway"
    },
    {
      "key": "BEAMMP_MAX_PLAYERS",
      "service": "BeamMP",
      "description": "Max people at once",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "beammp"
      }
    },
    "cli": "railway deploy --template beammp",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "02ca1557-4f22-43ea-b3ff-f94ae01106d7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3737f73e-501f-4db9-972f-0756864c7c06": {
                  "icon": "https://forum.beammp.com/uploads/default/original/3X/b/9/b95f01469238d3ec92163d1b0be79cdd1662fdcd.png",
                  "name": "BeamMP",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/MarcBlattmann/BeamMP_Server",
                    "rootDirectory": null
                  },
                  "variables": {
                    "BEAMMP_NAME": {
                      "isOptional": false,
                      "description": "Your server name in the browser",
                      "defaultValue": "My Railway BeamMP Server"
                    },
                    "BEAMMP_PORT": {
                      "isOptional": false,
                      "description": "Connection port (should be 30814)",
                      "defaultValue": "30814"
                    },
                    "BEAMMP_DEBUG": {
                      "isOptional": false,
                      "description": "Extra logging for troubleshooting",
                      "defaultValue": "false"
                    },
                    "BEAMMP_PRIVATE": {
                      "isOptional": false,
                      "description": "Is it public (anyone) or private (friends only)?",
                      "defaultValue": "false"
                    },
                    "BEAMMP_AUTH_KEY": {
                      "isOptional": false,
                      "description": "Get your auth key at https://keymaster.beammp.com/",
                      "defaultValue": "{{BEAMMP_AUTH_KEY}}"
                    },
                    "BEAMMP_MAX_CARS": {
                      "isOptional": false,
                      "description": "Total vehicles allowed on server",
                      "defaultValue": "100"
                    },
                    "BEAMMP_DESCRIPTION": {
                      "isOptional": false,
                      "description": "Info about your server (public list)",
                      "defaultValue": "A BeamMP server hosted on Railway"
                    },
                    "BEAMMP_MAX_PLAYERS": {
                      "isOptional": false,
                      "description": "Max people at once",
                      "defaultValue": "10"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "30814": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T16:25:48.125Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_57ed4919ee4e4ea99e35",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 67,
    "typical_build_seconds": 10,
    "typical_start_seconds": 10,
    "slowest_service": "BeamMP"
  }
}
