Stardeus Modding Guide
What is JSON
JSON stands for “JavaScript Object Notation”, a human-readable plain text format. If you want to learn more about JSON, here’s a good resource: https://www.w3schools.com/js/js_json_intro.asp However, JSON is so simple that you can easily understand it just by looking at a few examples.How Stardeus uses JSON files
In Stardeus, behaviors are defined in C# code, which you can also mod but it requires programming knowledge and significantly more effort. Content and various parameters are defined in JSON files that the game loads at runtime. To illustrate this, let’s examine a device.

Creating a Mod
The easiest way to create a new mod is to grab a copy of the empty mod here: https://github.com/kodolinija/stardeus-mod-empty
Changing Existing Behaviors and Parameters
Previously, modifying a JSON file required copying the entire file into your mod just to change a few lines. The game would then load the modded version instead of the original. The main problem with this method was that when the Core mod updated, the copied JSON file could become outdated or broken. This often caused older mods to stop working or, worse, silently break parts of the game. The new approach—JSON patching—solves this issue. Here’s how it works:- Mods define patches.
- Patches target specific core JSON files.
- A patch contains a list of operations to modify the targeted JSON.
- Operations can add, remove, or replace parts of the original JSON.

