Product
Fulgur
A long-running gaming platform connecting a player website, staff tools, web-to-game chat, a Windows launcher and an interactive world map through shared identity and independently deployed services.
- Role
- Founder & Full-stack Engineer
- Period
- 2017—present
- Categories
- FrontendBackendInfrastructure
- Stack
- TypeScriptNext.jsNestJSElectronVueJavaFastifyKeycloak / OIDCWebSocketsPostgreSQLRedisMySQLCloudflare R2DockerKubernetesOpenAPIMCP

Key metrics
- New unique players
- 21K+/year
- New platform player identities in the private production aggregate for 19 August 2025 to 19 August 2026.
- Threshold rounded down to the nearest thousand; players, not website visitors.
- Production services
- 27
- Active independently deployable production services in the inventory dated 19 August 2026.
- Snapshot as of 19 August 2026; development, test services and replicas are excluded.
Overview
Fulgur began in 2017 as a modded multiplayer server and has developed into a gaming platform with persistent worlds, a localized Next.js website, player accounts, staff tools, news, a community gallery and support tickets. Its interfaces also include an Electron/Vue Windows launcher and an extended BlueMap world map.
I own the product direction and implement most of the platform myself. The work connects TypeScript web and backend applications, Java game integrations, identity, data and media services, desktop delivery and the Docker/Kubernetes infrastructure needed to operate them.
Challenge
A player account, a game character and a live connection have different lifetimes. Login, profile switching, private support conversations and chat between the website and game must preserve ownership and access when tokens expire, a connection drops or a request finishes late.
The platform must keep evolving around existing worlds and community workflows. That includes preserving user files during launcher updates, separating public and private media, recovering uncertain operations and extending upstream projects without claiming their engines as my own.
Solution
The website and staff console use browser-specific backend-for-frontend services for sessions and scoped access to domain APIs. Keycloak handles authentication; the application Registry owns Accounts and GameProfiles. Java integrations connect game login and transfers to that ownership model, with Redis leases preventing competing holders of a profile.
Independent NestJS/Fastify processes own content, profiles, media, network data, tickets and delivery. A separate WebSocket gateway sends change notifications; HTTP snapshots and operation receipts recover authoritative state. Gallery uploads, moderation and private ticket attachments use managed media, while image decoding runs in a restricted process. The editorial workflow separates drafts, publication and social announcements; its MCP tools can prepare drafts and images only.
The XMCL-based Windows launcher adds Fulgur presets, verified downloads, staged updates, repair and direct game entry. The BlueMap extension adds movement history, playback, bookmarks and shared chat integration. Feature flags keep optional integrations explicit, and independently deployed services retain their own readiness checks and rollback boundaries.
Responsibilities
- Set the product direction and implement most of the platform while running the community and planning continued development.
- Build the localized player website, account and character flows, support interfaces, community gallery and staff tools.
- Design typed domain APIs, OpenAPI contracts, browser BFFs and the Keycloak/Registry identity boundaries.
- Develop Java game integrations and connect profile ownership, login, transfers and realtime web-to-game communication.
- Build content and media workflows, including moderation, private attachments, image processing and a draft-only News MCP server.
- Extend XMCL with Fulgur launcher installation, update and recovery flows, and extend BlueMap with history and community features.
- Operate Docker/Kubernetes services, SQL and Redis boundaries, object storage and coordinated rollout and recovery.
Architecture
Interface
Site + Admin
Windows Launcher
Velocity + Paper / Folia
BlueMap Interface
Services
Edge + Browser BFFs
Domain APIs + Workers
Keycloak
Realtime Gateway
Webmap API + Collector
Data
Redis
PostgreSQL
MySQL
Cloudflare R2
Infrastructure
Docker + Kubernetes
Player and staff interfaces use their own browser sessions
Site + Admin -> Edge + Browser BFFs
Map account and chat context through the map BFF
BlueMap Interface -> Edge + Browser BFFs
Browser authentication through Keycloak OIDC
Edge + Browser BFFs -> Keycloak
BFFs delegate narrowly scoped domain access
Edge + Browser BFFs -> Domain APIs + Workers
Browser sessions in scoped Redis stores
Edge + Browser BFFs -> Redis
Session-checked WebSocket forwarding
Edge + Browser BFFs -> Realtime Gateway
Game authentication and token renewal
Velocity + Paper / Folia -> Keycloak
Registry ownership, profile leases and game synchronization
Velocity + Paper / Folia -> Domain APIs + Workers
Launcher catalogue, release manifests and public content
Windows Launcher -> Domain APIs + Workers
Profile leases and scoped runtime state
Domain APIs + Workers -> Redis
Domain-owned records and operation receipts
Domain APIs + Workers -> PostgreSQL
Managed media and launcher assets in separate storage scopes
Domain APIs + Workers -> Cloudflare R2
Change notifications after confirmed commits
Domain APIs + Workers -> Realtime Gateway
World history and map-specific account tools
BlueMap Interface -> Webmap API + Collector
Collected positions and observed presence intervals
Webmap API + Collector -> MySQL
Independent API and worker deployment
Domain APIs + Workers -> Docker + Kubernetes
Technical decisions
Separate the account, character and connection
- Problem
- A website preference or nickname cannot safely establish who owns a game profile or which connection may use it.
- Decision
- Keep authentication in Keycloak, Account/GameProfile ownership in Registry, and live profile exclusivity in atomic Redis leases with fenced holders.
- Reason
- Each system answers a specific question, so profile switching and reconnects can recheck current authority without transferring browser credentials into gameplay.
- Trade-off
- Login spans several services and must deny admission when required authority cannot be established.
Use realtime hints with HTTP recovery
- Problem
- A dropped WebSocket connection or missed notification must not lose a committed reply or leave private data attached to an old session.
- Decision
- Publish bounded change notifications after confirmed commits, then reconcile through HTTP snapshots and immutable operation receipts behind current session and domain checks.
- Reason
- Realtime improves responsiveness while durable domain state remains recoverable after reconnect, refresh or an uncertain response.
- Trade-off
- The gateway offers no durable message replay; clients need reconciliation, and its single-replica deployment has explicit downtime limits.
Give media its own ownership and processing boundary
- Problem
- Gallery images, player appearance and private ticket attachments have different visibility and retention rules; image decoding also handles untrusted bytes.
- Decision
- Centralize managed assets and references in Media, isolate private ticket storage, and decode images in a bounded process with no network or database credentials.
- Reason
- Domain records and asset receipts can be reconciled without giving every API storage access or making private attachments public.
- Trade-off
- Uploads and cleanup need explicit generations, receipts and recovery paths across SQL and object storage.
Build on XMCL and protect player-owned files
- Problem
- A managed game installation must support updates and repair while preserving local changes and recovering interrupted downloads.
- Decision
- Extend XMCL with validated Fulgur manifests, streamed size/hash checks, staging and journal-backed recovery; conflicting user files stop an update.
- Reason
- The upstream launcher provides a maintained foundation while my implementation controls Fulgur-specific content, installation and entry flows.
- Trade-off
- Custom features must stay compatible with the upstream architecture; the supported Fulgur release scope is Windows.
Deploy processes along domain and trust boundaries
- Problem
- Browser sessions, resource APIs, background delivery and image processing need different credentials, dependencies and failure handling.
- Decision
- Compose independent BFFs, APIs and workers with explicit configuration, scoped SQL/Redis access, OpenAPI contracts and per-process health/readiness checks.
- Reason
- A feature or worker can evolve and roll back within its own boundary instead of restarting a monolith with every responsibility.
- Trade-off
- More deployable processes require careful connection budgets, configuration and coordinated consumer contracts.
Media
Gallery
Outcomes
- Fulgur has grown from a game server into a connected web, desktop and game product with player and staff workflows.
- Implemented capabilities now include profile and appearance management, gallery moderation, private support tickets and Minecraft-to-web chat alongside the editorial platform.
- Launcher update recovery, domain operation receipts and explicit service boundaries make failure handling part of the product implementation.
Verified highlights
- The public website supports English and Russian; the account implementation covers onboarding, profiles, character appearance and game-session controls.
- Tickets separates player-visible messages from internal staff notes and private attachments. Realtime notifications recover through authoritative HTTP state.
- The News MCP server saves versioned drafts and uploads images; publication and Telegram/Discord delivery remain separate editorial actions.
- The Windows launcher extends XMCL and the map extends BlueMap. Implemented scope is described here; availability of optional features depends on release configuration.
Learnings
- Cross-system features become easier to reason about when identity, ownership, live presence and transport state have explicit, separate authorities.
- Recovery is a user-facing requirement: interrupted downloads, uncertain commits and expired sessions need understandable paths back to a confirmed state.