---
name: "xpay-quakelive-generate-map-minimap"
description: "Generate a top-down SVG minimap from the BSP draw geometry. Every visible (non-sky, non-nodraw) triangle is projected onto the XY plane and rendered as a filled polygon. Item spawn positions are overlaid as coloured markers with a colour-coded legend. The SVG is written to a file; the tool returns the output path and statistics. Use z_min/z_max to isolate a single floor in multi-level maps."
version: "1.0.0"
price: "$0.02/call"
provider: "Mcps"
---

# Generate Map Minimap

Generate a top-down SVG minimap from the BSP draw geometry. Every visible (non-sky, non-nodraw) triangle is projected onto the XY plane and rendered as a filled polygon. Item spawn positions are overlaid as coloured markers with a colour-coded legend. The SVG is written to a file; the tool returns the output path and statistics. Use z_min/z_max to isolate a single floor in multi-level maps.

**Provider:** Mcps
**Price:** $0.02/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to generate a top-down svg minimap from the bsp draw geometry. every visible (non-sky, non-nodraw) triangle is projected onto the xy plane and rendered as a filled polygon. item spawn positions are overlaid as coloured markers with a colour-coded legend. the svg is written to a file; the tool returns the output path and statistics. use z_min/z_max to isolate a single floor in multi-level maps.. This is part of the Mcps provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 87+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("quakelive/generate_map_minimap")`
2. **`xpay_run`** — Execute: `xpay_run("quakelive/generate_map_minimap", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `show_items` | boolean,null | No | Overlay item and spawn positions as coloured markers with a legend (default: true). |
| `size` | integer,null | No | SVG viewport size in pixels (default: 900) |
| `max_triangles` | integer,null | No | Maximum number of triangles to render (default: 500000). Reduce for faster generation on very large maps. |
| `output_path` | string,null | No | Output SVG file path. Relative paths are resolved against DEMO_PATH. Auto-generated alongside the source if omitted. |
| `z_min` | number,null | No | Only include geometry with Z >= this value. Useful for multi-floor maps: set to just above a floor level to isolate that floor. Omit for the full map. |
| `z_max` | number,null | No | Only include geometry with Z <= this value. Omit for the full map. |
| `map` | string | Yes | Map name or path (same lookup rules as get_bsp_info) |

## Pricing

- **Cost:** $0.02/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Mcps (all tools)](https://xpay.tools/skills/quakelive/SKILL.md) — 88 tools
- [Add Player](https://xpay.tools/skills/quakelive/add-player/SKILL.md) — $0.00/call
- [Add Raw Snapshot](https://xpay.tools/skills/quakelive/add-raw-snapshot/SKILL.md) — $0.00/call
- [Add Server Command](https://xpay.tools/skills/quakelive/add-server-command/SKILL.md) — $0.00/call
- [Analyze Demo](https://xpay.tools/skills/quakelive/analyze-demo/SKILL.md) — $0.02/call
- [Award Medal](https://xpay.tools/skills/quakelive/award-medal/SKILL.md) — $0.02/call

## Links

- Tool page: https://xpay.tools/quakelive/generate-map-minimap/
- Provider: https://xpay.tools/quakelive/
- All tools: https://xpay.tools/explore
