Modpack - TerraFirmaCraft-The-Final-Frontier/FileDirector GitHub Wiki

Versioning

Modpacks can be versioned by two keys: localVersion and remoteVersion.

The modpack version can either be directly specified in the config file by using localVersion:

{
	"packName": "My Modpack",
	"icon":
	{
		"path": "my-logo.png",
		"width": 64,
		"height": 64
	},
	"localVersion": "1.2.4"
}

Or it can be specified remotely by using remoteVersion, which needs to link to a single-line text file containing the modpack version:

{
	"packName": "My Modpack",
	"icon":
	{
		"path": "my-logo.png",
		"width": 64,
		"height": 64
	},
	"remoteVersion": "https://gist.githubusercontent.com/ACGaming/24f9fae4e87ffe55fccbd4bd38347339/raw/0cd99def858c9cc22d087057f3efc5e8e24cd72f/version_test.txt"
}

This feature is supported in version 1.7.0+