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"
}

Modpack icons can also be set, these change the icon displayed on the file installer. NOT the task tray icon, nor the game application window's icon. The size of this icon is not strict.

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

This feature is supported in version 1.7.0+