Pack Config
A PackConfig contains the settings required to create a server pack. A configuration model usually consists of:
Modpack directory
Minecraft version
Modloader
Modloader version
Java args for the start scripts
Files and directories to copy to the server pack
Whether to pre-install the modloader server
Whether to include a server-icon
Whether to include a server.properties
Whether to create a ZIP-archive
Author
Griefed
Constructors
Link copied to clipboard
constructor(clientMods: List<String>, whitelist: List<String>, copyDirs: List<InclusionSpecification>, modpackDir: String, minecraftVersion: String, modLoader: String, modLoaderVersion: String, javaArgs: String, serverPackSuffix: String, serverIconPath: String, serverPropertiesPath: String, includeServerIcon: Boolean, includeServerProperties: Boolean, includeZipCreation: Boolean, scriptSettings: HashMap<String, String>, pluginsConfigs: HashMap<String, ArrayList<CommentedConfig>>)
Construct a new configuration model with custom values.
Create a new configuration model from a config file.
constructor()
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun save(destination: File, apiProperties: ApiProperties = ApiWrapper.api().apiProperties): PackConfig
Save this configuration to disk.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard