You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bailey edited this page Mar 30, 2020
·
9 revisions
A Moda repository is a json file on a webserver (or some sort of backend script that produces json).
name: repository name (string)
modules: modules (array)
name: module name (string)
description: module description, for multiple lines use \n (string)
author: module author (can be comma separated string if multiple authors) (string)
( source ): link to source code, must be a valid URL (string)
( website ): link to website, must be a valid URL (string)
( auto_download ): whether this module should be automatically downloaded. Defaults to false (boolean)
versions: available versions for this module (array)
build: build number (increment by one each new version, used to determine latest version) (integer)
version: user friendly version string (e.g. 1.4.5, but can be any string) (string)
( changelog ): state changes in this version (use \n for newlines) (string)
download: download url (direct url, no redirects) (string)
minecraft_versions: supported Minecraft versions (todo: add wiki page) (integer)
A repository index file is a copy of the repository json from the webserver, with one added key: index_time (long), the System.currentTimeMillis() timestamp at which the repository was last indexed.