SteonMod
View as Markdown

Schemas and type files

Files for editors and AI agents. Point your editor's TOML or JSON support at the schemas, and your Lua language server at the type files, and you get completion and errors as you type.

FileWhat it's for
router.schema.jsonrouter.toml: a router's blocks, binds, launch and setup recipes
scenario.schema.jsonscenario and Experience files
package.schema.jsonpackage.toml inside a .fusion file
router-api.luatypes for router.lua (the Router and Game tables), for lua-language-server
fusion-addons.d.luautypes for addons and Devices (Luau), for luau-lsp
example-unreal.router.toml + .luaa complete router on the Unreal kit
example-unity.router.tomla complete router on the Unity kit
example-sdk.router.tomla router for a game that links the guest SDK

Using the schemas

With the Even Better TOML extension (VS Code), add this first line to a router.toml:

#:schema https://steonmod.com/docs/files/router.schema.json

fusion-cli router check checks the same rules and more (it runs the router), so the schema is a help while typing, not the last word.

For AI agents

Every docs page is also plain Markdown at its address plus .md (https://steonmod.com/docs/router-api.md), and steonmod.com/llms.txt lists them all. Give your agent the agent pack first: it says which pages to read for which kind of game.