
一款面向性能优化的 Fabric 服务器多世界管理模组。按需运行任意数量的世界——支持按世界设置规则、独立的物品栏以及自定义传送门——且不会导致 TPS 大幅下降。
Minecraft: 1.21.11 | 加载器: Fabric | 依赖: Fabric API ≥ 0.141.0
功能特性
多世界管理
在运行时创建和管理世界,无需重启服务器。支持 9 种生成器类型:overworld、amplified、large_biomes、nether、end、void、flat、caves 和 floating_islands。世界按需加载,并在重启后持久保存。
按世界设置规则
每个世界都可以拥有独立的:
- 游戏模式 — 为不同世界分别强制执行生存、创造、冒险或旁观者模式
- PvP — 独立启用或禁用玩家间战斗,与其他世界互不干扰
- 难度 — 从和平到困难,按世界单独设置
- 游戏规则 — 按世界覆盖任何原版游戏规则(如 keepInventory、mobGriefing 等)
物品栏隔离
将多个世界分组以共享物品栏,或保持完全独立。物品、盔甲、快捷栏、末影箱、饥饿值、经验值和状态效果均在切换世界时保存并恢复。未加入任何分组的世界使用独立的物品栏。
生物生成控制
在类别级别(怪物、生物、环境生物等)阻止或允许生物生成,或针对特定实体类型进行控制。规则可叠加:实体专属规则的优先级高于分组规则。
自定义传送门
使用矿石方块搭建传送门框架——铁、铜、红石、青金石、钻石、金、绿宝石或下界合金(尺寸不限,内部最小为 4×5)。整个框架必须由同一种方块构成。将传送门链接至任意世界,然后手持对应矿石右键点击框架即可激活。传送门使用自定义动画方块,不会干扰原版下界或末地传送门。踏入已激活的传送门将开始 1.5 秒的预热倒计时——退出即可取消。传送门可以是单向或双向的,且链接在服务端重启后依然保留。
性能优化
- 世界在超过配置的闲置超时时间后自动卸载
- 没有玩家在线的世界完全跳过 Tick 处理
- 存档操作错开执行,避免同时产生磁盘 I/O 峰值
- 仅当玩家实际进入时才加载世界
安装方法
- 为 Minecraft 1.21.11 安装 Fabric Loader
- 安装 Fabric API ≥ 0.141.0
- 将
worldengine-1.3.0.jar 放入你的 mods/ 文件夹中——服务端和客户端均需安装
- 启动服务器——配置文件会自动创建于
config/worldengine/ 目录中
注意: Fantasy 已内置于 JAR 文件中,无需单独安装。
传送门功能需要客户端模组。 必须安装客户端模组才能查看和使用自定义传送门方块。若无此模组,传送门将无法使用,但服务器不会崩溃。其他所有功能(世界管理、规则、物品栏、生物控制)均为纯服务端功能。
命令
除非另有说明,所有命令均需要 操作员等级 2(Gamemaster)权限。
世界管理
| 命令 |
描述 |
/we create <name> [generator] [seed] |
创建新世界 |
/we delete <name> |
删除世界(需确认) |
/we list |
列出所有世界及其状态 |
/we load <world> |
加载一个未加载的世界 |
/we unload <world> |
卸载一个已加载的世界 |
/we tp <world> [x y z] [player] |
传送至指定世界 |
/we status |
显示所有世界的性能状态 |
按世界规则
| 命令 |
描述 |
/we gamemode <world> <mode> |
设置强制游戏模式 |
/we pvp <world> <true|false> |
启用/禁用 PvP |
/we difficulty <world> <difficulty> |
设置世界难度 |
/we gamerule <world> <rule> [value] |
获取或设置游戏规则覆盖项 |
/we fastplacement <world> <true|false> |
切换快速放置节流功能 |
/we rules <world> |
显示某世界的所有规则(任何玩家均可使用) |
物品栏分组
| 命令 |
描述 |
/we inventory list |
列出所有分组 |
/we inventory <group> list |
列出某分组内的世界 |
/we inventory <group> add <world> |
将世界添加到分组 |
/we inventory <group> remove <world> |
从分组中移除世界 |
/we inventory <group> delete |
删除分组 |
生物生成
| 命令 |
描述 |
/we mobs <world> list |
显示所有生物规则 |
/we mobs <world> deny <entity> |
阻止特定实体生成 |
/we mobs <world> allow <entity> |
重新允许特定实体生成 |
/we mobs <world> deny-group <group> |
阻止整个生成类别 |
/we mobs <world> allow-group <group> |
重新允许某个生成类别 |
/we mobs <world> reset |
清除所有生物规则 |
生成组名称:monster、creature、ambient、axolotls、water_creature、water_ambient、underground_water_creature、misc
传送门
| 命令 |
描述 |
/we portal list |
列出所有传送门(任何玩家均可使用) |
/we portal info |
显示当前选中传送门的信息 |
/we portal name <name> |
为当前选中的传送门命名 |
/we portal link <world|portal> |
链接至世界(单向)或命名传送门(双向) |
/we portal link <world> <x y z> |
链接至指定坐标的目标位置 |
/we portal unlink |
断开当前选中传送门的链接 |
/we portal clear [world] |
移除所有传送门(可选按世界过滤) |
传送门设置
传送门功能需要客户端模组。
- 使用矿石方块构建框架——铁、铜、红石、青金石、钻石、黄金、绿宝石或下界合金方块(内部空间至少为 4×5,更大的尺寸也可以)。整个框架必须由同一种类型的方块构成。

- 用空手右键点击框架以选中它(仅限 OP)

- 运行
/we portal link <world> 将其单向链接到指定世界,或运行 /we portal link <portalname> 将两个已命名的传送门双向链接

- 激活:使用对应的矿石物品右键点击框架(例如,钻石方块框架需使用钻石)——在生存模式下会消耗 1 个物品

- 走进传送门——动作栏会出现 1.5 秒的倒计时,随后你将被传送。迈出传送门即可取消。
若要创建双向传送门:在世界两端分别构建框架,使用 /we portal name <name> 为每个框架命名,然后从每一侧运行 /we portal link <other-portal-name>。使用对应的矿石物品激活两侧。
破坏框架方块会使传送门失效。修复框架后,再次使用矿石物品重新激活即可。
配置
配置文件存储于服务器的 config/worldengine/ 目录中:
config.json — 全局默认设置及性能相关选项(空闲超时时间、保存间隔等)
worlds/<name>.json — 各世界的独立设置(创建世界时自动生成)
inventory-groups.json — 背包组分配设置
portals.json — 传送门链接数据
所有配置文件均支持热重载修改——运行 /we 命令后无需重启服务器。
兼容性
- 可与原版维度(主世界、下界、末地)共存——自定义传送门不会干扰下界传送门或末地传送门
- 兼容 LuckPerms(建议安装,非必需)
- 除传送门外,所有功能均为服务端运行——传送门方块要求服务器端和客户端均安装本模组

A performance-oriented multi-world management mod for Fabric servers. Run as many worlds as you need — with per-world rules, isolated inventories, and custom portals — without tanking your TPS.
Minecraft: 1.21.11 | Loader: Fabric | Required: Fabric API ≥ 0.141.0
Features
Multi-World Management
Create and manage worlds at runtime — no server restarts required. Supports 9 generator types: overworld, amplified, large_biomes, nether, end, void, flat, caves, and floating_islands. Worlds are loaded on demand and persist across restarts.
Per-World Rules
Each world can have its own:
- Gamemode — enforce survival, creative, adventure, or spectator per-world
- PvP — enable or disable player combat independently of other worlds
- Difficulty — peaceful through hard, per world
- Gamerules — override any vanilla gamerule (keepInventory, mobGriefing, etc.) per world
Inventory Isolation
Group worlds together to share inventories, or keep them fully separate. Items, armor, hotbar, ender chest, hunger, XP, and status effects are all saved and restored on world transition. Worlds not in any group use independent inventories.
Mob Spawn Control
Block or allow mob spawning at the category level (monsters, creatures, ambient, etc.) or target specific entity types. Rules stack: entity-specific rules take priority over group rules.
Custom Portals
Build portal frames from ore blocks — iron, copper, redstone, lapis, diamond, gold, emerald, or netherite (any size, min 4×5 interior). The entire frame must be one block type. Link portals to any world, then activate by right-clicking the frame with the matching ore item. Portals use a custom animated block that won't interfere with vanilla nether or end portals. Stepping into an active portal starts a 1.5-second warmup countdown — step out to cancel. Portals can be one-way or bidirectional, and links survive server restarts.
Performance
- Worlds unload automatically after a configurable idle timeout
- Worlds with no players skip tick processing entirely
- Saves are staggered to avoid simultaneous disk I/O spikes
- Worlds are only loaded when a player actually enters them
Installation
- Install Fabric Loader for Minecraft 1.21.11
- Install Fabric API ≥ 0.141.0
- Drop
worldengine-1.3.0.jar into your mods/ folder — on both server and client
- Start the server — config files are created automatically in
config/worldengine/
Note: Fantasy is bundled inside the JAR. You do not need to install it separately.
Client mod required for portals. The mod must be installed client-side to see and use custom portal blocks. Without it, portals are non-functional but the server won't crash. All other features (world management, rules, inventories, mob control) are server-side only.
Commands
All commands require operator level 2 (Gamemaster) unless noted.
World Management
| Command |
Description |
/we create <name> [generator] [seed] |
Create a new world |
/we delete <name> |
Delete a world (requires confirmation) |
/we list |
List all worlds with status |
/we load <world> |
Load an unloaded world |
/we unload <world> |
Unload a loaded world |
/we tp <world> [x y z] [player] |
Teleport to a world |
/we status |
Show performance status for all worlds |
Per-World Rules
| Command |
Description |
/we gamemode <world> <mode> |
Set enforced gamemode |
/we pvp <world> <true|false> |
Enable/disable PvP |
/we difficulty <world> <difficulty> |
Set world difficulty |
/we gamerule <world> <rule> [value] |
Get/set a gamerule override |
/we fastplacement <world> <true|false> |
Toggle fast-placement throttle |
/we rules <world> |
Show all rules for a world (any player) |
Inventory Groups
| Command |
Description |
/we inventory list |
List all groups |
/we inventory <group> list |
List worlds in a group |
/we inventory <group> add <world> |
Add a world to a group |
/we inventory <group> remove <world> |
Remove a world from a group |
/we inventory <group> delete |
Delete a group |
Mob Spawning
| Command |
Description |
/we mobs <world> list |
Show all mob rules |
/we mobs <world> deny <entity> |
Block a specific entity from spawning |
/we mobs <world> allow <entity> |
Re-allow a specific entity |
/we mobs <world> deny-group <group> |
Block an entire spawn category |
/we mobs <world> allow-group <group> |
Re-allow a spawn category |
/we mobs <world> reset |
Clear all mob rules |
Spawn group names: monster, creature, ambient, axolotls, water_creature, water_ambient, underground_water_creature, misc
Portals
| Command |
Description |
/we portal list |
List all portals (any player) |
/we portal info |
Show info for your selected portal |
/we portal name <name> |
Name your selected portal |
/we portal link <world|portal> |
Link to a world (one-way) or named portal (bidirectional) |
/we portal link <world> <x y z> |
Link with a specific destination coordinate |
/we portal unlink |
Unlink your selected portal |
/we portal clear [world] |
Remove all portals (optionally filtered by world) |
Portal Setup
Client mod required for portals.
- Build a frame from ore blocks — iron, copper, redstone, lapis, diamond, gold, emerald, or netherite blocks (at least 4×5 interior, any larger size works). The entire frame must be one type.

- Right-click the frame with an empty hand (OP only) to select it

- Run
/we portal link <world> to link it one-way, or /we portal link <portalname> to link two named portals bidirectionally

- Activate by right-clicking the frame with the matching ore item (e.g., diamond for a diamond block frame) — consumes 1 item in survival

- Walk into the portal — a 1.5-second countdown appears on the action bar, then you teleport. Step out to cancel.
To create a two-way portal: build frames in both worlds, name each with /we portal name <name>, then run /we portal link <other-portal-name> from each side. Activate both sides with the matching ore item.
Breaking a frame block deactivates the portal. Repair the frame and re-activate with another ore item.
Configuration
Config files are stored in config/worldengine/ on your server:
config.json — global defaults and performance settings (idle timeout, save interval, etc.)
worlds/<name>.json — per-world settings (auto-created when a world is made)
inventory-groups.json — inventory group assignments
portals.json — portal link data
All config is hot-written on change — no server restart required after running /we commands.
Compatibility
- Works alongside vanilla dimensions (overworld, nether, end) — custom portals do not interfere with nether or end portals
- Compatible with LuckPerms (suggested, not required)
- Server-side for all features except portals — portal blocks require the mod on both server and client
评论 0
登录后参与评分
还没有评论,来抢沙发吧