Keen:Mod Metadata: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Version <!-- Do not change the version until the entire page is up-to-date -->
{{Version <!-- Do not change the version until the entire page is up-to-date -->
|release=0|major=5|minor=X|suppress=true}}
|release=0|major=5|minor=X|suppress=true}}
The mod metadata file is tells the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum version it supports.
The mod metadata file is tells the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum version it supports.



Revision as of 07:03, 8 January 2018

Version: 0.5


The mod metadata file is tells the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum version it supports.

It currently uses this structure:

<?xml version="1.0" encoding="utf-8"?>
<ModMetadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ModVersion>1.0</ModVersion>
  <MinGameVersion>0.5</MinGameVersion>
  <MaxGameVersion>0.6</MaxGameVersion>
</ModMetadata>

It resides in the metadata.mod file in the root folder of the mod. If it is not there at the time of upload, the game will create one with the default values.

Tag Name Default Value Description
ModVersion 1.0 is the version of the mod (this is currently not used by the game, but may be used in the future)
MinGameVersion Current Game Version is the minimum game version that this mod supports (this value is inclusive)
MaxGameVersion Next Major Game Version is the maximum game version that this mod supports (this value is exclusive)