promotional bannermobile promotional banner

Unified Server Config Path

Unified Server Config Path moves Forge's per-world server config folder to the global config directory, so server configs are shared across all worlds and survive world deletion.

Unified Server Config Path

What does this mod do?

By default, Forge stores server configs inside each world folder (<world>/serverconfigs). Unified Server Config Path redirects them to a single global location: config/serverconfigs.

That means all of your worlds share the same server configs, and the configs stay behind even after you delete a world.

Features

  • Moves Forge server configs from <world>/serverconfigs to config/serverconfigs
  • Configs are shared across all worlds on the same server/client
  • Configs persist after world deletion
  • Works on both dedicated servers and clients (single player / LAN)
  • Lightweight: a single mixin, no config file, no dependencies

How to use

  1. Install the mod into the mods folder (client and/or server).
  2. Start the game/server once so the server configs are generated in config/serverconfigs.
  3. Edit the configs there — the changes apply to every world you load afterwards.

Note: Configs already generated inside an existing world will not be moved automatically. If you want to unify configs for a world that already has a serverconfigs folder, move its contents into config/serverconfigs manually.

Compatibility

Item Value
Minecraft 1.20.1
Forge 47.x
Side Client & Server

This mod is server-side effective and does not need to be installed on the client when playing on a server that has it.

License

GPL-3.0-only


统一服务器配置路径

这个模组是做什么的?

默认情况下,Forge 会将服务器配置文件保存在每个世界的文件夹内(<世界文件夹>/serverconfigs)。 统一服务器配置路径 会将它们重定向到一个全局位置:config/serverconfigs

这意味着你所有的世界共用同一套服务器配置,而且即使删除了世界,配置也依然保留。

功能特性

  • 将 Forge 服务器配置从 <世界文件夹>/serverconfigs 移动到 config/serverconfigs
  • 同一服务器/客户端的所有世界共享配置
  • 删除世界后配置仍然保留
  • 客户端与专用服务器均可使用
  • 轻量:仅一个 mixin,无配置文件,无前置依赖

使用方法

  1. 将模组放入 mods 文件夹(客户端和/或服务器)。
  2. 启动游戏/服务器一次,使服务器配置在 config/serverconfigs 中生成。
  3. 直接编辑其中的配置文件——之后加载的每个世界都会生效。

注意: 已存在于旧世界内的配置不会自动迁移。 如果某个世界已经有 serverconfigs 文件夹,请手动将其内容移动到 config/serverconfigs

兼容性

项目 版本
Minecraft 1.20.1
Forge 47.x
适用端 客户端 & 服务端

该模组在服务端生效,服务器安装后客户端无需安装即可正常游玩。

许可证

GPL-3.0-only

The Unified Server Config Path Team

HighCrafter tier frameprofile avatar
  • 18
    Followers
  • 39
    Projects
  • 6.0M
    Downloads

More from yiran1457View all