Mod config

This commit is contained in:
2026-10-14 14:14:52 -03:00
parent d7f1b91c0a
commit cedc7725b5
20 changed files with 371 additions and 32 deletions
+3
View File
@@ -58,6 +58,9 @@ export interface ModData {
biome_sources?: BiomeSourceJson[];
// data features, see common/worldgen/features.ts. server only too
features?: FeatureJson[];
// the mod's settings, its config.json's "config", with the server's changes once the server loads it. server only
// too, see docs/modding/misc/config.md
config?: Record<string, unknown>;
}
// a mod as the server lists it to clients, in load order: the .bmod players download, without its server script