Mod config
This commit is contained in:
@@ -11,6 +11,7 @@ mods/
|
||||
manifest.json # required, everything else is optional
|
||||
deno.json # makes the mod its own deno project, see below
|
||||
CREDITS.md # shown on the Credits screen
|
||||
config.json # settings servers can change, never sent to players. see misc/config.md
|
||||
blocks/*.json # one block per file
|
||||
items/*.json # items that aren't a block's item form
|
||||
models/*.json # block models
|
||||
@@ -120,7 +121,7 @@ deno task build # packs every mod in mods/ into server_mo
|
||||
```
|
||||
copper_tools.bmod
|
||||
manifest.json # with scripts and credits pointing into the zip
|
||||
data.json # every block, model, item, entity, recipe, ore, tag and loot table
|
||||
data.json # every block, model, item, entity, recipe, ore, tag and loot table, and the config
|
||||
scripts/server.js # each script bundled into one module
|
||||
scripts/client.js
|
||||
scripts/worldgen.js
|
||||
@@ -134,5 +135,5 @@ copper_tools.bmod
|
||||
- Packing the same mod twice gives the same bytes, so the file only changes when the mod does.
|
||||
- `deno task build` leaves other `.bmod` files in `server_mods/` alone, so mods from elsewhere can sit next to the ones
|
||||
it builds.
|
||||
- Players get a copy **without** `scripts/server.js` and `scripts/worldgen.js`. See
|
||||
- Players get a copy **without** `scripts/server.js`, `scripts/worldgen.js` and the config. See
|
||||
[Networking](../networking/index.md).
|
||||
|
||||
Reference in New Issue
Block a user