Publish and Share
How to make your NPC public, get a shareable link, and let anyone play your scenario.
Publish your NPC
When your scenario is ready, click the Publish button in the editor toolbar. Publishing makes your NPC public — it becomes available to anyone with the link and appears in the public gallery. You can continue editing after publishing; changes are saved to your draft and won't affect the published version until you publish again.
Get a shareable link
After publishing, a play link is displayed in the editor. Copy this link and share it anywhere — social media, Discord, email, or embed it in your project. The link takes players directly to a chat interface where they can interact with your NPC.
Public gallery
Published NPCs appear in the public gallery, where anyone browsing Foil Engine can discover and play them. The gallery shows your NPC's name, description, and scenario objective. If you want your NPC to be findable by others, make sure the description is clear and the name is descriptive.
Who can play
Anyone with the play link can chat with your NPC — no account required. Players interact through a web-based chat interface that runs the full state machine, including transitions, scoring, and win/lose conditions. Each player gets their own independent session.
Updating a published NPC
To update a published NPC, make your changes in the editor and click Publish again. The new version replaces the old one at the same URL. Active sessions that started before the update will continue using the version they started with — new sessions will use the latest version.