The mod offers commands such as SpawnFleet and RunCode . These commands do not alter the game state; they overwrite the game's reality.
You'll then need to register your custom command in your mod's mod.json file:
| Command | Effect | | :--- | :--- | | addcredits [amount] | Adds credits. Example: addcredits 1000000 | | additem [id] [qty] | Adds a commodity. Example: additem heavy_armaments 500 | | addweapon [id] [qty] | Adds weapons to cargo. Example: addweapon tachyon_lance 5 | | addhullmod [id] | Adds a permanent hullmod to your flagship. | | addship [id] | Adds a ship to your fleet (instantly). |
@Override public String getHelp() return "my_mod_command - Prints a hello message.";