package io.gitlab.jfronny.dynres; import me.sargunvohra.mcmods.autoconfig1u.ConfigData; import me.sargunvohra.mcmods.autoconfig1u.annotation.Config; import me.sargunvohra.mcmods.autoconfig1u.shadowed.blue.endless.jankson.Comment; @Config(name = "dynres") public class Cfg implements ConfigData { @Comment("The port to use for hosting the file. Use 0 for a random one") public int port = 0; @Comment("The number of allowed concurrent downloads. Higher values prevent errors on clients but can increase load") public int maxConnections = 20; @Comment("The relative path to the resources zip. Expect strange behaviour if changed") public String resourcesFile = "resources.zip"; @Comment("Set to true to provide a hash to clients. Changes to the pack will require a server restart with this") public boolean hashResources = false; }