Translations:Modding:Developing a Content Mod/11/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
* '''"type": "content"''' - This tells Vintage Story that the mod is a content mod, and should load the provided assets. The options here are "theme", "content", or "code", however for this mod type | * '''"type": "content"''' - This tells Vintage Story that the mod is a content mod, and should load the provided assets. The options here are "[[Modding:Theme Pack|theme]]", "[[Modding:Content Mods|content]]", or "code", however for this mod type you will use "content". | ||
* '''"modid": "examplecontentmod"''' - This is your '''unique''' mod ID, which can be any combination of '''lowercase''' letters and numbers. | * '''"modid": "examplecontentmod"''' - This is your '''unique''' mod ID, which can be any combination of '''lowercase''' letters and numbers. | ||
* '''"name": "..."''' - This is your mod's name, and displays how it should be displayed within the game. Note that this is just for display and does not affect the assets you create. | * '''"name": "..."''' - This is your mod's name, and displays how it should be displayed within the game. Note that this is just for display and does not affect the assets you create. | ||
* '''"authors": [ "..." ]''' - This is an ''array'' of mod authors. Due to this entry using square brackets ('''[ ]''')''',''' it tells | * '''"authors": [ "..." ]''' - This is an ''array'' of mod authors. Due to this entry using square brackets ('''[ ]''')''',''' it tells you that this value can accept multiple values, which are seperated by commas. | ||
* '''"description": "..."''' - This is the mod description, which will be shown on the mod manager screen in game. | * '''"description": "..."''' - This is the mod description, which will be shown on the mod manager screen in game. | ||
* '''"version": "1.0.0"''' - This is your mod's version. It follows the format of "major.minor.patch", called [https://semver.org/ semantic versioning]. | * '''"version": "1.0.0"''' - This is your mod's version. It follows the format of "major.minor.patch", called [https://semver.org/ semantic versioning]. |
Latest revision as of 09:49, 7 April 2024
- "type": "content" - This tells Vintage Story that the mod is a content mod, and should load the provided assets. The options here are "theme", "content", or "code", however for this mod type you will use "content".
- "modid": "examplecontentmod" - This is your unique mod ID, which can be any combination of lowercase letters and numbers.
- "name": "..." - This is your mod's name, and displays how it should be displayed within the game. Note that this is just for display and does not affect the assets you create.
- "authors": [ "..." ] - This is an array of mod authors. Due to this entry using square brackets ([ ]), it tells you that this value can accept multiple values, which are seperated by commas.
- "description": "..." - This is the mod description, which will be shown on the mod manager screen in game.
- "version": "1.0.0" - This is your mod's version. It follows the format of "major.minor.patch", called semantic versioning.