Principle
Author with intent: story logic, UI behavior, and publish metadata should stay understandable to non-engineers.
This guide explains how Plotbun works at a system level. It is intentionally focused on product behavior and responsibilities rather than implementation internals.
Author with intent: story logic, UI behavior, and publish metadata should stay understandable to non-engineers.
Fail safely: invalid content is rejected early, and runtime paths prefer predictable fallback behavior.
Local-first workflow: creation and iteration should remain fast without requiring cloud dependencies.
Clear separation of concerns: creator, player, community, and admin surfaces should not overlap responsibilities.
How interactive stories are represented, played, and persisted during game sessions.
Defines story structure, scene/block flow, and the runtime execution model.
Surface: /games/[slug]
Covers dialogue rendering, choice interactions, and player-facing text behavior.
Surface: /games/[slug]
Controls save/load lifecycle, rollback behavior, and session continuity.
Surface: /games/[slug]
Describes asset identity, safety constraints, and media resolution rules.
Surface: /editor, /games/[slug]
Defines reusable game modules that can be embedded into story flow.
Surface: /editor, /games/[slug]
Shared core state primitives used by runtime orchestration and feature modules.
Surface: /games/[slug]
Location-state semantics for scene context and progression-aware routing.
Surface: /games/[slug]
Player inventory contracts and interaction boundaries for item-driven stories.
Surface: /games/[slug]
Defines package outputs and the guarantees required for distributable builds.
Surface: /editor
How creators write, edit, and augment projects before publication.
Primary authoring workspace for scenes, blocks, project settings, and stage/script-linked preview editing.
Surface: /editor
Character identity, presentation metadata, and profile behavior guidelines.
Surface: /editor
Assisted writing and generation interfaces with bounded safety and validation rules.
Surface: /editor
Optional synthesis/propagation layer for context-aware narrative assistance.
Surface: /editor, /sim
Product-level architecture boundaries and long-term scope constraints.
Surface: platform-wide
How projects are hosted, discovered, and presented across core product surfaces.
Hosted project loading, route safety, and server-side file boundary behavior.
Surface: /api/host/*, /games/[slug]
Creator/player project management across local and hosted collections.
Surface: /library
Search and sharing baseline for metadata, crawl surfaces, and canonical routes.
Surface: /, /sitemap.xml, /robots.txt
Data-rights and compliance surface for policy acceptance logging, erasure requests, and portable export boundaries.
Surface: /api/gdpr/*, /profile, /signup
Public discovery, creator monetization, and admin oversight boundaries.
Listing discovery, creator pages, follows, reviews, and reporting flows.
Surface: /community
Monetization lifecycle for purchases, entitlements, payouts, and disputes.
Surface: /community/*, /api/commerce/*
Authenticated user and creator identity dashboard behavior.
Surface: /profile
Operational moderation and payout review surfaces separated from user routes.
Surface: /admin