Sample mods
Copy a sample into your own project before changing it. The SDK includes source, pack files and build instructions. JSON-only samples can be installed directly; Java samples must be built first. The SDK and this website-ready authoring wiki are distributed separately from the player game. Examples are never bundled into the player image or automatically added to its mod library.
Settlement Trading source study
Explore the complete original Settlement Trading mod and its Campaign Trading and Settlement Map children. The study includes their Java hooks, manifests, JSON data, translations and artwork.
These three features now belong to the base game. Use their preserved source to learn the design; start with the Bread Crates sample below to build a new extension for the integrated game.
Start here
| Sample | What it demonstrates | Java required? |
|---|---|---|
| Balance Patch | Change an existing resource value | No |
| JSON Content Starter | Add a weapon, furniture and a creature | No |
| Practice Workshop | Register Java hooks alongside JSON content | Yes |
| Bread Crates | Extend native packing and trading with one JSON definition | No |
SDK-only examples
| Sample | What it demonstrates |
|---|---|
| Meadow Life | Connected food, equipment, creatures and registry queries |
| Memorials | React to native events and show notifications |
| Colony Planner | Plan work, construction, crafting and hauling |
| Trailwatch | Add a complete authored JSON scenario |
| Difficulty Tuning | Adjust difficulty and wildlife migration |
| Crystal Add-on | Extend Practice Workshop through a declared dependency |
Workshop mod source references
These are the source projects for the four gameplay mods maintained separately for Workshop. Their runtime packs are distributed separately from the base game; the SDK includes their sources as API examples.
| Mod source | What it demonstrates |
|---|---|
| Sundering | Owned artwork, content, conversion hooks and particle shapes |
| Shared Quarters | Housing rules and crowding moods |
| Love & Birth | Relationships, families and persistent simulation |
| Town Inspector | Enable native unit and zone inspectors |
Read the chosen sample's dependencies and installation instructions. Rename its manifest ID, content IDs and translation keys together; update the Java entry point if you rename its class.
gradlew assembleWorkshopPlayerMods stages these four optional packs in
build/workshop-player-mods. Settlement Trading, Campaign Trading and Settlement Map now ship
in the base game. Their original sources remain in the source study,
with manifests, Java hooks, data, translations and art preserved for learning.
This distribution boundary does not restrict third-party mods or descendants of the SDK examples. A derivative can add packed goods through the public registries, declare the native compatibility dependency, and participate in the packed-goods-only trade policy.