Configuration Files:
config/games/*.tsFeature Icons? Check the Icons Guide for adding icons to game features and specifications.
Overview
Add unlimited game hosting pages to your Latch site. Each game gets its own page with:- Unique pricing per region and billing period
- Manual pricing (exact prices) or Auto pricing (base + multipliers)
- Multiple regions with custom pricing
- Flexible billing: hourly, daily, weekly, monthly, quarterly, semi-annual, annual, lifetime
- Hero sections with stats, features, and FAQs
- Unique purchase URLs for every region/period combination
config/games/
Quick Start
Test it
Configuration Reference
Basic Info
Images
public/ folder like /assets/games/minecraft.png
Hero Section
The hero is the top banner section of your game page.Regions
Server locations where your game servers can be hosted:id is used in your pricing, so make sure they match exactly!
Billing Periods
Define how often customers can pay. This is an array of objects, NOT just strings! Simple monthly + annual:Plan Specs
Define the specification columns shown for ALL your plans:id field must match the keys you use in each plan’s specs object!
Icons: Browse Lucide icons at lucide.dev - use PascalCase like MemoryStick, Cpu, HardDrive, Users, Database
Plans & Pricing
Choose between manual pricing (exact prices per region) or auto pricing (base price + multipliers):- Manual Pricing
- Auto Pricing
Define exact prices for each region and period:Critical:
- Prices are plain numbers (2.99, not “2.99” or
{amount: "2.99"}) - Every region/period combo needs a price
- Every region/period combo needs a purchaseUrl
- Region IDs must match
regionsarray
Popular Badge
Features
Game-specific features grid:FAQs
Real Examples
Minecraft (Manual + Lifetime)
FromLatch/config/games/minecraft.ts:
Hytale (Auto Pricing)
FromLatch/config/games/hytale.ts:
FiveM (Hourly Billing)
FromLatch/config/games/fivem.ts:
Best Practices
Pricing
- 3-4 plans maximum - Too many = overwhelming
- Mark 1 as popular - Guide users to best option
- Show discounts - Use badge: “SAVE 15%”
- Price by region - Europe/Asia often cost more
Regions
- Start with 3-5 regions - Expand later
- Use descriptive names - “US East” not “us-east-1”
- Include location - “New York” helps users choose
Billing Periods
- Monthly + Annual - Good starting point
- Hourly/Daily - For test servers
- Lifetime - Premium option for loyal customers
Plans
- Clear progression - Each tier should add value
- Descriptive names - “Starter/Pro/Ultimate” > “Plan A/B/C”
- USP badges - Show key spec (4GB, 8GB, etc.)
Troubleshooting
Pricing not showing
Check:- Prices are numbers, not strings:
monthly: 9.99not"9.99" - Every region has prices for all billing periods
- Region IDs match exactly (case-sensitive)
Purchase URLs missing
Fix:- Every region/period combo needs a purchaseUrl
- URLs must match billing period IDs exactly
- Check for typos:
"semi-annual"not"semiannual"
TypeScript errors
Images not loading
Check:- Use full URLs:
https://example.com/logo.png - Or use relative paths from
public:/assets/games/minecraft.png - Case-sensitive:
Minecraft.png≠minecraft.png

