getList

open fun getList(modId: String, id: String): List<String>

Gets a list of Strings from data/config/modSettings.json. WARNING, while this method should be fairly fast, I would advise against trying to parse a JSON file every frame.

Return

Listfrom modSettings.json. Default to an empty list in case of failure.

Parameters

modId

section of modSettings to look into.

id

name of the variable to look for