Interface ModConfig

The structure of the "mod.json" file that D2RMM mods should provide.

interface ModConfig {
    author?: string;
    config?: readonly ModConfigFieldOrSection[];
    description?: string;
    name: string;
    version?: string;
    website?: string;
}

Properties

author?: string

The author of the mod.

config?: readonly ModConfigFieldOrSection[]

The configuration for the mod. This allows the mod to set up a custom configuration UI that the user can interact with to customize the behavior of the mod.

description?: string

A short description of the mod.

name: string

The name of the mod.

version?: string

The version of the mod.

website?: string

The website of the mod. Ideally, this should link to the Nexus Mods page for the mod.