Keen:Mod Metadata: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "Mod metadata file is there to tell the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum it suppo...")
 
m (Protected "Official Content/Mod Metadata" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 14:59, 25 May 2017

Mod metadata file is there to tell the game more information about the mod. Namely the version of the mod, the minimum version of the game it supports and the maximum 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)