← Off siteSide project

Travian Command Center: a real-time coordination dashboard for clans

A shared command dashboard and browser extension for Travian that collects and visualizes clan village and troop data in real time for coordinated defense.

3 min read
Four-step diagram: game, browser extension, database, web app

A free-time fan project. Not affiliated with Travian's publisher, and not an official product.

Travian is a browser strategy MMO: you develop villages, command armies, and collaborate in clans against rival alliances. One of the main challenges is scattered information: each player sees only their own screen, while coordinated defense requires knowing where everyone is, what troops they can spare, and down to the second when reinforcements can arrive.

The Travian Command Center (TCC) solves this: a shared, auto-updating dashboard for the whole clan.

How it works

Game, extension, database, web app

  1. The game. Players continue playing in their browser as usual—their gameplay remains untouched.
  2. The extension. A Chrome extension reads relevant numbers from the pages players actively open (village locations, troop counts, movements). It is not a bot: it never clicks or makes decisions on the player's behalf.
  3. The database. Data flows into a centralized, protected store. Strict permissions ensure that players and clan leaders see only the information authorized for their role.
  4. The web app. A unified command dashboard bringing everything together: an interactive map, travel-time calculations, and defense plans for precise clan coordination.

A real scenario

When an incoming attack hits a clanmate's village, defense coordination comes down to seconds: who can reinforce in time? TCC automatically computes travel times from every friendly village and ranks available reinforcements. What used to take frantic chat messages and manual spreadsheet calculations is surfaced instantly in one clear view.

Troops from villages A, B and C heading to the attacked village

What it is made of

  • Web dashboard: React and TypeScript frontend, Tailwind CSS for styling, Vite for fast development builds.
  • Browser extension: Built on Chrome Manifest V3, also written in TypeScript.
  • Database & access control: PostgreSQL database with Row-Level Security (RLS) enforced at the database level, preventing clan data from ever leaking across boundaries.
  • Shared calculation engine: Distance and travel-time formulas live in an independent, unit-tested package used by both the web app and the extension.

What I learned

The biggest takeaway wasn't technical. With an overlay tool, the primary concern is always fair play and data protection: what may be extracted, who can view it, and how to keep clan data strictly secure. These boundaries had to be established before writing the first screen.

A few practical lessons from running a live tool:

  • Operations is part of software design. Once over a hundred players depend on the tool, working is only baseline: load, query efficiency, and hosting limits matter. Free-tier constraints required continuously eliminating redundant requests and shrinking payloads.
  • Base decisions on telemetry. Detailed logging shows which views see real use and where players get confused, replacing guesswork with data-driven improvements.
  • Supporting multiple client versions. Users do not update browser extensions at the same time. The backend must handle older and newer clients side by side, and safely deprecate obsolete builds when breaking changes occur.
  • Walk non-technical users through the workflow. Most players are not engineers. Without intuitive onboarding tours, inline tips, and clear copy, even the best feature remains ignored.

Result

The project has outgrown its initial scope: more than 100 active players use it today. For a free-time project that is rewarding validation, and the most impactful features came directly from clanmates' feedback during live matches.