Skip to content

Mod File Format

Fields with description of mod

    // Name of your mod. While it does not have hard length limit
    // it should not be longer than ~30 symbols to fit into allowed space
    "name" : "My test mod",

    // More lengthy description of mod. No hard limit. This text will be visible in launcher.
    // This field can use small subset of HTML, see link at the bottom of this page.
    "description" : "My test mod that add a lot of useless stuff into the game",

    // Author of mod. Can be nickname, real name or name of team
    "author" : "Anonymous",

    // Full name of license used by mod. Should be set only if you're author of mod
    // or received permission to use such license from original author
    "licenseName" : "Creative Commons Attribution-ShareAlike",

    // URL which user can use to see license terms and text
    "licenseURL" : "",

    // Home page of mod or link to forum thread to contact the author
    "contact" : "",

    // Current mod version, up to 3 numbers, dot-separated. Format: A.B.C
    "version" : "1.2.3"

    // Type of mod, list of all possible values:
    // "Translation", "Town", "Test", "Templates", "Spells", "Music", "Maps", "Sounds", "Skills", "Other", "Objects", 
    // "Mechanics", "Interface", "Heroes", "Graphical", "Expansion", "Creatures", "Compatibility", "Artifacts", "AI"
    // Some mod types have additional effects on your mod:
    // Translation: mod of this type is only active if player uses base language of this mod. See "language" property. 
    // Additionally, if such type is used for submod it will be hidden in UI and automatically activated if player uses base language of this mod. This allows to provide locale-specific resources for a mod
    // Compatibility: mods of this type are hidden in UI and will be automatically activated if all mod dependencies are active. Intended to be used to provide compatibility patches between mods
    "modType" : "Graphical",

    // Base language of the mod, before applying localizations. By default vcmi assumes English
    // This property is mostly needed for translation mods only
    "language" : "english"

    // List of mods that are required to run this one
    "depends" :

    // List of mods that can't be enabled in the same time as this one
    "conflicts" :

    // Supported versions of vcmi engine
    "compatibility" : {
        "min" : "1.2.0"
        "max" : "1.3.0"

    //List of changes/new features in each version
    "changelog" :
        "1.0"   : [ "initial release" ],
        "1.0.1" : [ "change 1", "change 2" ],
        "1.1"   : [ "change 3", "change 4" ]

    // If set to true, mod will not be enabled automatically on install
    "keepDisabled" : false

    // List of game settings changed by a mod. See <VCMI Install>/config/gameConfig.json for reference
    "settings" : {
        "combat" : {
            "goodLuckDice" : [] // disable luck

Fields with description of mod content

These are fields that are present only in local mod.json file

    // Following section describes configuration files with content added by mod
    // It can be split into several files in any way you want but recommended organization is
    // to keep one file per object (creature/hero/etc) and, if applicable, add separate file
    // with translatable strings for each type of content

    // list of factions/towns configuration files
    "factions" :

    // List of hero classes configuration files
    "heroClasses" :

    // List of heroes configuration files
    "heroes" :

    // List of configuration files for skills

    // list of creature configuration files
    "creatures" :

    // List of artifacts configuration files
    "artifacts" :

    // List of objects defined in this mod
    "objects" :

    // List of spells defined in this mod
    "spells" :

    // List of configuration files for terrains
    "terrains" :

    // List of configuration files for roads
    "roads" :

    // List of configuration files for rivers
    "rivers" :

    // List of configuration files for battlefields
    "battlefields" :

    // List of configuration files for obstacles
    "obstacles" :

    // List of RMG templates defined in this mod
    "templates" :

    // Optional, primaly used by translation mods
    // Defines strings that are translated by mod into base language specified in "language" field
    "translations" :

Translation fields

In addition to field listed above, it is possible to add following block for any language supported by VCMI. If such block is present, Launcher will use this information for displaying translated mod information and game will use provided json files to translate mod to specified language. See Translations for more information

    "<language>" : {
        "name" : "<translated name>",
        "description" : "<translated description>",
        "author" : "<translated author>",
        "translations" : [

Mod repository fields

These are fields that are present only in remote repository and are generally not used in mod.json

    // URL to mod.json that describes this mod
    "mod" : "",

    // URL that player can use to download mod
    "download" : "",

    // Approximate size of download, megabytes
    "downloadSize" : 4.496


For mod description it is possible to use certain subset of HTML as described here: