
Rankly.gg — Real-Time Game Analytics Platform
Overview
Rankly.gg is a full-stack, real-time analytics and leaderboard platform for competitive multiplayer games. Initially built for DayZ, it's designed to expand into other military simulation titles. The platform ingests telemetry from game servers via a custom server-side mod, processes it through a high-throughput event pipeline, and surfaces rich, interactive dashboards for both players and server administrators.
The Problem
DayZ server communities lack meaningful insight into what's happening on their servers. Vanilla DayZ provides almost no analytics — no kill tracking, no leaderboards, no way for server owners to understand player behaviour or engagement. Players have no way to track progress, compare stats, or view rivalries.
Rankly solves all of this with a single mod install and a web dashboard.
Architecture
The data flows from a custom DayZ server mod (EnforceScript) through an HTTPS ingest API with Zod validation and dedup, into a BullMQ queue, processed by workers with 19 event type handlers, through nightly batch computation jobs, and into a Next.js web dashboard.
The Game Mod
A server-side-only EnforceScript package tracking 19+ event types: combat, movement, survival, social, infrastructure, and environment. Events are batched, assigned UUIDs for idempotency, and sent with exponential backoff.
Batch Computation Pipeline
Ten scheduled batch jobs: position aggregation, stats computation (50+ metrics across five time contexts), nemesis rivalry detection, percentile ranking, danger zone scoring, achievements, awards, GDPR deletions, outlier detection, and ban list syncing.
Key Features
For Players
- Rich six-tab profiles (Combat, Survival, Activity, Social, Fun, Achievements)
- Live kill feed with weapon icons and distance badges
- Nemesis rivalry detection and head-to-head pages
- 36 achievements with Bronze through Platinum progression
- Clan system with leaderboards
- Side-by-side player comparison with radar charts
For Server Owners
- Server dashboard with population trends and weapon meta analysis
- Interactive danger zone heatmaps for five DayZ maps
- Wipe management with countdown pages
- Outlier detection for suspicious player behaviour
- White-label branding with custom domains
- Uptime monitoring with email alerts
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript 5 |
| Styling | Tailwind CSS 4, shadcn/ui |
| Data Viz | Recharts, custom canvas heatmaps, SVG body hit maps |
| Database | PostgreSQL with Drizzle ORM |
| Caching & Queues | Redis, BullMQ |
| Auth | NextAuth v5 + Steam OpenID 2.0 |
| Payments | Stripe |
| Game Mod | EnforceScript (DayZ) |
| Infrastructure | Hetzner VPS, Docker |
Scale & Numbers
- 50+ tracked statistics per player across 5 time contexts
- 36 achievements with 4-tier progression
- 5 DayZ maps supported with heatmap grids
- 19 event types tracked by the game mod
- 10 scheduled batch jobs in the nightly pipeline
- 120+ React components organised by feature domain
Interested in a similar project?
Get in Touch