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>/serverconfigstoconfig/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
- Install the mod into the
modsfolder (client and/or server). - Start the game/server once so the server configs are generated in
config/serverconfigs. - 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 aserverconfigsfolder, move its contents intoconfig/serverconfigsmanually.
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,无配置文件,无前置依赖
使用方法
- 将模组放入
mods文件夹(客户端和/或服务器)。 - 启动游戏/服务器一次,使服务器配置在
config/serverconfigs中生成。 - 直接编辑其中的配置文件——之后加载的每个世界都会生效。
注意: 已存在于旧世界内的配置不会自动迁移。
如果某个世界已经有serverconfigs文件夹,请手动将其内容移动到config/serverconfigs。
兼容性
| 项目 | 版本 |
|---|---|
| Minecraft | 1.20.1 |
| Forge | 47.x |
| 适用端 | 客户端 & 服务端 |
该模组在服务端生效,服务器安装后客户端无需安装即可正常游玩。
许可证
GPL-3.0-only
常见问题
Unified Server Config Path 支持哪些 Minecraft 版本?
Unified Server Config Path 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Unified Server Config Path 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
yiran1457 的其他作品
查看全部 →One Enough Lib
用于简化OE系列开发的前置库
One Enough Item
使用OEI,你可以轻松将重复物品替换为单一指定代表物品。
keybindjs
一个 KubeJS 添加内容
JEI Tetra
新增 JEI 与 Tetra 兼容支持。
评论
登录后评论和评分