DevelopersPre-alpha
Module loader
How manifests are found, ordered and loaded into the running server.
Discovery
The loader walks each root on addons_path, reads manifest.json, and builds a dependency graph from depends.
Install and update
| Flag | Effect |
|---|---|
-i mod1,mod2 | Install listed modules (topo-sorted) |
-u mod / -u all | Reload data from disk for installed modules |
--stop-after-init | Exit after -i/-u without serving HTTP |
Blank imports
make generate / sumeru-import-gen writes blank imports so each addon's init (model registration, event subscribe) runs when the process starts.
Compile and run
make generatego run . -- -c sumeru.conf -i my_module --stop-after-initmake run
What not to do
- Do not hand-maintain import lists when generate already owns them.
- Do not install a module whose depends are missing from
addons_path.
Next step
Follow a request in Engine & server.