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.
Move directly to the product slice you need without scanning the full manual from top to bottom.
How interactive stories are represented, played, and persisted during game sessions.
How creators write, edit, and augment projects before publication.
How projects are hosted, discovered, and presented across core product surfaces.
Public discovery, creator monetization, and admin oversight boundaries.
How interactive stories are represented, played, and persisted during game sessions.
Defines story structure, scene/block flow, and the runtime execution model.
Spec: VN narrative runtime - deterministic scene execution with optional future world-navigation layer (web-first, exportable)
Surface: /games/[slug]
Covers dialogue rendering, choice interactions, and player-facing text behavior.
Spec: VN conversation UI: dialogue box, choice menu, input model, theming; optional LLM chat integration
Surface: /games/[slug]
Controls save/load lifecycle, rollback behavior, and session continuity.
Spec: Save/load/rollback contract for VN runtime and exports; audio best-effort; custom blocks must be save-safe or disallowed
Surface: /games/[slug]
Describes asset identity, safety constraints, and media resolution rules.
Spec: Asset model for VN projects: backgrounds, sprites, audio; references that survive hosted + export
Surface: /editor, /games/[slug]
Defines reusable game modules that can be embedded into story flow.
Spec: Engine-owned and project-owned React components rendered via VN 'game' blocks: IDs, versions, capabilities, and save safety
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.
Spec: Scene staging plus future world-navigation primitives (locations, anchors, world screens, time-of-day)
Surface: /games/[slug]
Player inventory contracts and interaction boundaries for item-driven stories.
Spec: Optional VN extension: inventory + gifts + item effects; can be implemented as flags or custom game blocks
Surface: /games/[slug]
Defines package outputs and the guarantees required for distributable builds.
Spec: Export targets for VN projects: static web bundle and desktop executable; constraints for custom code + LLM
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.
Spec: Character models: (1) VN presentation characters for scripted stories, (2) optional agent characters for LLM generation/propagation
Surface: /editor
Assisted writing and generation interfaces with bounded safety and validation rules.
Spec: AI backend - Z.AI (GLM) integration, context assembly, response streaming
Surface: /editor
Optional synthesis/propagation layer for context-aware narrative assistance.
Spec: Information propagation + summarization layer for generation: routes events into character knowledge; not required for scripted VN runtime
Surface: /editor, /sim
Product-level architecture boundaries and long-term scope constraints.
Spec: Creator-first visual novel engine: data-driven runtime + editor + export; LLM/simulation are optional generation layers
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.
Spec: Hosted Next.js shell: routes, loading projects/manifests, wiring VNRuntime
Surface: /api/host/*, /games/[slug]
Creator/player project management across local and hosted collections.
Spec: Local + hosted project management and account gateway
Surface: /library
Search and sharing baseline for metadata, crawl surfaces, and canonical routes.
Spec: Search/index/share baseline for web surfaces (metadata, icons, sitemap, robots, structured data)
Surface: /, /sitemap.xml, /robots.txt
Data-rights and compliance surface for policy acceptance logging, erasure requests, and portable export boundaries.
Spec: Cross-domain GDPR compliance surface for policy acceptance logging and data export portability
Surface: /api/gdpr/*, /profile, /signup
Public discovery, creator monetization, and admin oversight boundaries.
Listing discovery, creator pages, follows, reviews, and reporting flows.
Spec: Community discovery + sharing layer for published VN projects (v3)
Surface: /community
Monetization lifecycle for purchases, entitlements, payouts, and disputes.
Spec: Creator monetization and purchase lifecycle for VN listings (v3+)
Surface: /community/*, /api/commerce/*
Authenticated user and creator identity dashboard behavior.
Spec: User profile dashboard and creator identity operations surface
Surface: /profile
Operational moderation and payout review surfaces separated from user routes.
Spec: Internal admin surfaces for moderation, payouts, and user operations
Surface: /admin
What AI does on this platform — and how we tell you about it.
Editor (authoring time): Creators may use AI for scene drafting, image generation, and a moderation pre-pass. AI-assisted text and images are tagged in project metadata (aiAssisted /coverAiAssisted) so the AI Disclosure Badge can surface on the listing page.
Runtime (player time): Only connected exports with runtimeLLM:enabled can call an LLM during play. When that happens the player sees an in-runtime AI-assisted advisory so they know dialogue may be model-generated.
Your right to know: Every listing surfaces an AI Disclosure Badge when AI was used; the player runtime surfaces an advisory whenever AI is active during play. No hidden AI generation.
What ratings mean — and how the platform enforces them.
Four levels: everyone / teen / mature / adult. Set by the creator on the listing.
Player-side advisory: Before play, an advisory overlay surfaces the rating and gives the player a chance to back out.
Age gate: mature and adult require a stricter 18+ attestation step on top of the 16+ minimum-age attestation captured at signup.
No pre-screening: The platform does not pre-screen content; ratings are creator-declared. Players can challenge a rating via the report flow on any listing page.