Package de.griefed.serverpackcreator.api.settings

The settings, broken into focused groups.

ApiProperties used to be one enormous class; its settings now live in these cohesive groups, each owning one concern and persisting itself through an injected save-callback.

  • PathsConfig — the home-directory and every path derived from it (configs, logs, manifests, work, modpacks, server-files, plugins, server-packs, Tomcat).

  • GenerationConfig — generation knobs: the client-only mod lists + whitelist, directory in-/exclusions, cleanup files, ZIP exclusions, the exclusion-filter and Aikar's flags. This is the file the clientside-tooling edits when a mod is accepted.

  • JavaConfig — which Java to use for installs and per-version script-variables.

  • ScriptTemplatesConfig — the start-/java-script templates used during generation.

  • I18nConfig — language/locale handling (parses the stored locale, feeds the i18n4k runtime).

  • LoggingConfig — the log-level (the log4j-XML machinery itself stays in ApiProperties).

  • UpdateConfig — update/release tracking and the URL the fallback mod-lists refresh from.

  • WebserviceConfig — web-service settings: the MongoDB URI (with legacy migration) and the cron schedules for its cleanup/refresh jobs.

See: Description