print Configuration Model
Convenience method which passes the important fields from an instance of PackConfig to .printConfigurationModel
Author
Griefed
Parameters
Instance of PackConfig to print to console and logs.
Prints all passed fields to the console and serverpackcreator.log. Used to show the user the configuration before ServerPackCreator starts the generation of the server pack or, if checks failed, to show the user their last configuration, so they can more easily identify problems with said configuration.
Should a user report an issue on GitHub and include their logs (which I hope they do....), this would also help me help them. Logging is good. People should use more logging.
Author
Griefed
Parameters
The used modpackDir field either from a configuration file or from configuration setup.
List of clientside-only mods to exclude from the server pack...
List of directories in the modpack which are to be included in the server pack.
The Minecraft version the modpack uses.
The modloader the modpack uses.
The version of the modloader the modpack uses.
Whether to include the server-icon.png in the server pack.
Whether to include the server.properties in the server pack.
Whether to create a zip-archive of the server pack, excluding the Minecraft server JAR according to Mojang's TOS and EULA.
Java arguments to write the start-scripts with.
Suffix to append to name of the server pack to be generated.
The path to the custom server-icon.png to be used in the server pack.
The path to the custom server.properties to be used in the server pack.
Custom settings for start script creation. KEY
s are the placeholder, VALUE
s are the values with which the placeholders are to be replaced.