Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Mod Metadata

Every mod root directory contains a modinfo.conf file. The file uses the common configuration format of the engine.

Fields

NameRequiredDefaultDescription
nameyesN/DMod name/ID used for namespacing
versionno0.0.0Semantic version used for compatibility checks
hard_dependsnoN/DWhitespace-separated list of hard dependencies
soft_dependsnoN/DWhitespace-separated list of soft dependencies
conflictsnoN/DWhitespace-separated list of conflicting mods
meta_authornoN/DMetadata: author or authors
meta_homepagenoN/DMetadata: homepage URL
meta_trackernoN/DMetadata: issue tracker URL
meta_licensenoARRMetadata: license as a short SPDX identifier
display_namenoValue of nameMetadata: display name
display_descnoN/DMetadata: short description

NOTE: every mod implicitly depends on builtin at the version the game runtime ships (see core/version.cc.in, which takes the version from CMakeLists.txt).

Example

name = kaboom
version = 1.0.0

hard_depends = testmod@2.5.0
soft_depends = extratools fire@1.0.0
conflicts = mclike_tnt@0.1.0

meta_author = untodesu
meta_homepage = https://untode.su/
meta_tracker = https://untode.su/
meta_license = BSD-3-Clause

display_name = Ka-Boom!
display_desc = Adds explosive blocks to Voxelius

Load order

The engine orders mods by a topological sort of their dependencies. Within one group in that list, mods load in alphabetical order. Mods with no dependencies beyond builtin load first.

NOTE: a missing dependency causes the mod to fail.