
DimensionDaddy
一款适用于 Minecraft 的 Fabric 模组,赋予服务器管理员对主世界、下界和末地维度的完全控制权:可即时启用或禁用对任意维度的访问,并对每个维度的实际世界数据进行备份、还原或完全重置,而不仅仅是切换一个标志位。
适用于专用服务器、单人游戏世界以及使用 Essential 等工具托管的软服。当某个维度被禁用时,相关的传送门方块将被取消激活,并向玩家发送直接消息以解释原因。
功能特性
- 独立启用或禁用主世界、下界或末地,也可以同时操作全部三个维度
- 真正的备份机制:将实际的区块、实体、兴趣点(POI)及按维度存储的数据复制到磁盘,而非仅仅保存启用/禁用状态
- 可将任意维度还原至之前的备份状态,或将其完全重置回种子生成的初始未改动状态
- 模组在世界上首次运行时会自动捕获一次“初始备份”,确保你始终拥有一个未经修改的快照作为后备
- 统一的命令树
/DimensionDaddy,支持维度名称和备份 ID 的 Tab 补全
- 在还原或重置完成应用的瞬间,通过游戏内直接报告展示每个维度的具体操作结果
- 日常使用无需编辑配置文件;所有操作均通过命令驱动
命令
所有命令均位于单一根路径下:/DimensionDaddy <action> <dimension>。维度参数始终为 overworld、nether、end 或 all 之一。
enable、disable、backup、restore 和 reset 需要操作员权限。status 和 list 任何人都可以使用。
| 命令 |
描述 |
/DimensionDaddy enable <dim> |
启用对指定维度的访问 |
/DimensionDaddy disable <dim> |
禁用对指定维度的访问 |
/DimensionDaddy status [dim] |
显示指定维度是否已启用;默认为 all |
/DimensionDaddy backup [dim] |
对指定维度的开关状态及磁盘上的世界数据进行快照;默认为 all |
/DimensionDaddy restore <id> [dim] |
立即恢复开关状态,并计划对指定维度的世界数据进行还原;默认为 all |
/DimensionDaddy reset <dim> |
立即启用开关,并计划将指定维度真正重置回种子的初始未改动状态 |
/DimensionDaddy list |
列出所有备份(最新优先),以及任何待执行的计划重置或还原操作 |
restore 命令还接受 latest 作为备份 ID,表示最近创建的备份。
禁用主世界会特别阻断两条返回路径:从下界内部使用时的前往下界的传送门,以及击败末影龙后出现的末地出口传送门(喷泉传送门)。在主世界被禁用时已经身处主世界的玩家不会受到影响或被传送。
备份工作原理
每次备份都会记录所有三个维度的启用和禁用状态,这部分会立即生效。备份是否包含真实的世界数据取决于其创建方式。
/DimensionDaddy backup <dim> 会将请求维度的磁盘世界数据复制到备份中。由于需要先刷新维度数据到磁盘,这在大型世界中可能需要一段时间。在小世界或新建世界中,它可以在不到一秒的时间内完成,这是预期行为,并非错误。
- 初始备份 会在模组首次在世界中运行时自动创建,且仅创建一次。它会捕获模组进行任何更改之前所有三个维度的状态,并且永远不会被修剪或覆盖。
模组本身不会执行其他自动备份操作;既不在服务器启动时,也不在执行还原或重置前。如果你希望在执行破坏性操作之前有安全网,请先运行 /DimensionDaddy backup all。
/DimensionDaddy list 会显示每个备份是否包含世界数据以及针对哪些维度,因此你在执行还原操作前总能清楚知道自己在还原什么。
截至 Minecraft 26.1,每个维度的存档数据位于世界文件夹内的 dimensions/minecraft/<dimension>/ 目录下,而非世界根目录。模组会备份并还原每个维度中的 region、entities、poi 和 data 子文件夹,这些文件夹共同涵盖了地形、实体、兴趣点以及按维度状态(如世界边界、活跃袭击和末影龙战斗状态)等内容。
还原与重置需要重新加载世界
Minecraft 没有受支持的方法可以在维度已加载并正在使用时交换或删除其区块文件。因此,restore 和 reset 会立即应用开关状态变更,但世界数据部分会被计划执行:它将在世界下次加载时写入磁盘并应用,且在任何维度打开之前完成。命令响应和 /DimensionDaddy list 总会告知你是否有待处理的操作。
什么是“重新加载”取决于你的游玩方式:
- 单人游戏:保存并退出至标题屏幕,然后重新打开世界。
- 专用服务器:停止并重新启动服务器进程。如果你的主机在停止时自动重启,则此过程会自动发生。
当带有待处理操作的世界完成加载时,你会收到每条受影响维度的直接游戏内消息,显示确切删除和复制的文件数量,或者如果出错时的具体失败原因。你无需检查日志文件即可知晓操作是否成功。
配置
开关状态存储在 config/DimensionDaddy/dimensiondaddy.properties 中,并在首次运行时自动创建,默认所有三个维度均为启用状态。
endEnabled=true
netherEnabled=true
overworldEnabled=true
备份文件位于 config/DimensionDaddy/backups/<id>/ 目录下,每个备份都包含一个 backup.properties 元数据文件,以及根据已捕获世界数据的维度而创建的子文件夹。系统仅保留最近的 20 个备份;初始备份不受此限制影响。
依赖项
- Minecraft 26.2
- Fabric Loader 0.19.3 或更高版本
- Fabric API 0.153.0+26.2 或更高版本
- Java 25
安装步骤
- 为 Minecraft 26.2 安装 Fabric Loader。
- 下载 Fabric API 并将其放入你的
mods 文件夹中。
- 将 DimensionDaddy 的 jar 文件放入同一个
mods 文件夹中。
- 启动游戏或服务器。
许可证
MIT

DimensionDaddy
A Fabric mod for Minecraft that gives server operators full control over the Overworld, Nether, and End dimensions: enable or disable access to any of them on the fly, and back up, restore, or fully reset each dimension's actual world data, not just a toggle flag.
Works on dedicated servers, singleplayer worlds, and soft-hosted servers using tools like Essential. When a dimension is disabled, the relevant portal blocks are cancelled and the player gets a direct message explaining why.
Features
- Enable or disable the Overworld, Nether, or End independently, or all three at once
- Real backups that copy actual chunk, entity, point-of-interest, and per-dimension data to disk, not just an enabled/disabled flag
- Restore any dimension back to a previous backup, or reset it entirely back to the seed's untouched, first-generation state
- A one-time Initial Backup is captured automatically the very first time the mod runs on a world, so you always have an untouched snapshot to fall back to
- A single, consistent command tree under
/DimensionDaddy, with tab completion for dimension names and backup ids
- A direct in-game report the moment a restore or reset finishes applying, showing exactly what happened per dimension
- No config file editing required for day-to-day use; everything is driven through commands
Commands
Every command lives under a single root: /DimensionDaddy <action> <dimension>. The dimension argument is always one of overworld, nether, end, or all.
enable, disable, backup, restore, and reset require operator privileges. status and list are usable by anyone.
| Command |
Description |
/DimensionDaddy enable <dim> |
Enables access to the given dimension(s) |
/DimensionDaddy disable <dim> |
Disables access to the given dimension(s) |
/DimensionDaddy status [dim] |
Shows whether the given dimension(s) are enabled; defaults to all |
/DimensionDaddy backup [dim] |
Snapshots the toggle state and on-disk world data for the given dimension(s); defaults to all |
/DimensionDaddy restore <id> [dim] |
Restores toggle state instantly, and schedules a world data restore for the given dimension(s); defaults to all |
/DimensionDaddy reset <dim> |
Enables the toggle instantly, and schedules a true reset back to the seed's untouched state for the given dimension(s) |
/DimensionDaddy list |
Lists all backups, most recent first, along with any pending scheduled resets or restores |
restore also accepts latest in place of a backup id, meaning the most recently created backup.
Disabling the Overworld blocks two return paths specifically: the Nether portal when used from inside the Nether, and the End's exit portal, which is the fountain portal that appears after defeating the Ender Dragon. Players who are already in the Overworld when it gets disabled are not affected or teleported.
How backups work
Every backup always records the enabled and disabled state of all three dimensions, and that part restores instantly. Whether a backup also contains real world data depends on how it was made.
/DimensionDaddy backup <dim> copies the requested dimension's on-disk world data into the backup. This can take a moment on large worlds since the dimension is flushed to disk first. On a small or fresh world it can finish in well under a second, which is expected behavior, not a bug.
- The Initial Backup is created automatically, exactly once, the first time the mod ever runs on a world. It captures all three dimensions as they existed before the mod made any changes, and is never pruned or overwritten.
The mod does not take any other automatic backups on its own; not on server startup, and not before a restore or reset. If you want a safety net before doing something destructive, run /DimensionDaddy backup all first.
/DimensionDaddy list shows whether each backup contains world data and for which dimensions, so you always know what you are restoring before you do it.
As of Minecraft 26.1, each dimension's save data lives under dimensions/minecraft/<dimension>/ inside the world folder, rather than at the world root. The mod backs up and restores the region, entities, poi, and data subfolders within each dimension, which together cover terrain, entities, points of interest, and per-dimension state such as the world border, active raids, and the Ender Dragon fight state.
Restore and reset require a world reload
Minecraft has no supported way to swap out or delete a dimension's chunk files while that dimension is loaded and actively in use. Because of that, restore and reset apply the toggle state change immediately, but the world data portion is scheduled: it gets written to disk and applied the next time the world loads, before any dimension is opened. The command's response, and /DimensionDaddy list, will always tell you when something is pending.
What counts as a reload depends on how you are playing:
- Singleplayer: save and quit to the title screen, then reopen the world.
- Dedicated server: stop and start the server process. If your host auto-restarts on stop, this happens automatically.
The moment the world finishes loading with a pending operation applied, you get a direct in-game message for each affected dimension, showing exactly how many files were deleted and copied, or the specific reason it failed if something went wrong. You do not need to check a log file to know whether it worked.
Configuration
Toggle state is stored in config/DimensionDaddy/dimensiondaddy.properties and is created automatically on first run with all three dimensions enabled.
endEnabled=true
netherEnabled=true
overworldEnabled=true
Backups live under config/DimensionDaddy/backups/<id>/, each with a backup.properties metadata file plus subfolders for whichever dimensions had world data captured. Only the 20 most recent backups are kept; the Initial Backup is exempt from that limit.
Requirements
- Minecraft 26.2
- Fabric Loader 0.19.3 or newer
- Fabric API 0.153.0+26.2 or newer
- Java 25
Installation
- Install Fabric Loader for Minecraft 26.2.
- Download Fabric API and place it in your
mods folder.
- Place the DimensionDaddy jar into the same
mods folder.
- Start the game or server.
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧