Registered Mods

From Eco - English Wiki
Revision as of 18:10, 5 September 2024 by JohnK (talk | contribs) (Mod edit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Registered Mods now will automatically earn Eco Credits whenever a world using them spends Eco Credits.

1. Register the mod in code

To enable this, you'll need to define any class in your mod files that implements IModInit and has a static Register function that returns a ModRegistration.

    public class MyMod : IModInit
    {
        public static ModRegistration Register() => new() 
        { 
            ModName = "MyMod",
            ModDescription = "Mod description",
            ModDisplayName = "My Mod",
        };
    }

The Eco server will call this at runtime to register your mod.

2. Register the mod with Strange Loop

Email [email protected], or get in touch on Discord.gg/eco with @D3nnis3N and request mod registration. Your mod will be reviewed, and a percentage share assigned to it.


How shares work: