Modding System - Quickstart Guide

This document shows how to create addons, references, and use common arguments in the LoopModding system for Unity.


1. Addons

Addons are JSON files placed in the folder:

Mods/Addons/

Structure example:

{
  "modName": "WelcomeMessage",
  "eventName": "OnGameStart",

  "PrintMessage": {
    "chatMessage": "Welcome to the game!"
  }
}

The mod manager will load all addon files and map actions to events.


2. References

References are reusable JSON entries stored in:

Mods/References/

These files contain key-value pairs that you can reference in your addon JSON files.

Example of a references file (colors.json):

{
  "warningColor": "#FF0000",
  "infoColor": "#00FF00"
}

Using references in addons: