Last active
August 29, 2015 14:05
-
-
Save sapier/3b6b8327d1fefadd72cc to your computer and use it in GitHub Desktop.
Suggestion for a reliable yet portable modstore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add a modlist to minetest e.g. | |
https://github.com/minetest/modlist/modlist | |
Content is supposed to be json (... yes ... I know ... I hate it myself too ;-) ): | |
a simple example: | |
<<< FILE BEGIN >>> | |
{ | |
{ | |
"name" : "Mod1", | |
"type" : "github", | |
"url" : "https://github.com/mod1", | |
"validated_versions" : { | |
{ | |
"tag" : "0.0.1", | |
"min_minetest_version" : "0.4.10", | |
"md5sum" : "......", | |
(OR "sha256" : "......",) | |
} | |
} | |
} | |
} | |
<<< FILE END >>> | |
Each mod is supposed to provide a mod description in it's repository. | |
This file is supposed to contain all official versions. | |
Example: | |
<<< FILE BEGIN >>> | |
{ | |
"current_version" : "0.0.7", | |
"current_doc_version" : "0.0.3", | |
"versions" : [ | |
{ | |
"tag : "0.0.1", | |
"description : "Initial version of mod", | |
"main_screenshot : "http...", | |
(optional "screenshots" : [ "url1", "url2", "url3" ], | |
"min_minetest_version" : "0.4.6" | |
}, | |
{ | |
"tag" : "0.0.2", | |
"description" : "Fixed version", | |
"main_screenshot" : "http...", | |
(optional "screenshots" : [ "url1", "url2", "url3" ] | |
"min_minetest_version" : "0.4.6" | |
}, | |
{ | |
"tag" : "0.0.3", | |
"description" : "Test mod for example", | |
"main_screenshot" : "http...", | |
(optional "screenshots" : [ "url1", "url2", "url3" ] | |
"min_minetest_version" : "0.4.7" | |
}, | |
{ | |
"tag" : "0.0.4", | |
--use 0.0.3 description | |
"min_minetest_version" : "0.4.9" | |
}, | |
{ | |
"tag" : "0.0.5", | |
}, | |
--{ "tag" : "0.0.6" } removed because of totally broken | |
{ | |
"tag" : "0.0.7", | |
--use 0.0.3 description | |
"min_minetest_version" : "0.4.10" | |
} | |
] | |
} | |
<<< FILE END >>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/minetest/modlist/modlist 404