Skip to content

Understanding ModConfig Types

Fuzss edited this page Jan 11, 2024 · 2 revisions

The NeoForge / Forge config system features three dedicated types of configs specified by ModConfig.Type. Depending on the scope and time you want your config values to be available, you will have to choose one or multiple types for your project.

To help select the correct type, here is a basic overview of differences between all three.

Common Config Type

  • Physical Loading Environment: Client & Server
  • Loading Point: Mod Loading
  • Config File Location: .minecraft/config
  • Synchronized to Logical Clients: ❌

Client Config Type

  • Physical Loading Environment: Client
  • Loading Point: Mod Loading
  • Config File Location: .minecraft/config
  • Synchronized to Logical Clients: ❌

Server Config Type

Note that the default config file location of server configs is changed to .minecraft/config by FCAP on Fabric while still allowing for manual per-world overrides via .minecraft/saves/<world>/serverconfig.

  • Physical Loading Environment: Client & Server
  • Loading Point: World Loading
  • Config File Location: .minecraft/saves/<world>/serverconfig (per-world)
  • Synchronized to Logical Clients: ✅