WorldManager
创建、加载、卸载、删除、备份、恢复世界,并在 Minecraft 世界之间传送与预生成——所有操作均通过一个命令完成,配有现代化的游戏内菜单、每个世界的独立标志(flags),以及跨世界的共享/链接库存和传送门。此插件的功能涵盖了 Multiverse-Core 及其 Inventories 和 NetherPortals 附加组件的所有功能。
请在 GitHub Issues 报告错误或提出功能建议。
功能特性
- 世界管理 — 创建(普通、平坦、大型生物群系、增强型、下界、末地或自定义生成器)、加载现有世界文件夹、卸载并永久删除世界。
- 备份 — 按需将世界文件夹压缩为 zip 包以便稍后恢复,并将繁重的 I/O 操作移至非主线程执行,防止服务器卡顿。
- 预生成 — 以中心点为基准,在限定半径内提前生成区块,支持开始/暂停/继续/停止控制,并通过 BossBar 显示进度。支持多个世界并发预生成。
- 传送 — 将自己或其他玩家直接传送到某个世界的出生点。
- 游戏规则 — 浏览并编辑每个世界支持的
GameRule,按世界独立设置,无需触碰bukkit.yml或服务器命令。 - 链接世界库存 (可选) — 将多个世界组合在一起,使玩家在该组内保持一个共享库存;离开时获得空白状态(或该组的已保存库存)。数据存储在 SQLite 或 MySQL/MariaDB 中。
- 链接下界/末地传送门 (可选) — 将某个世界的下界/末地传送门指向特定世界,而非 Bukkit 自动推导的
<world>_nether/<world>_the_end配对,例如将TEST的传送门指向Nether_TEST/End_TEST。双向跳转均自动处理。 - 游戏内菜单 —
/wm gui打开现代化的箱子界面菜单:通过单个表单创建世界(名称、类型、种子、生成器、空世界开关),浏览和管理已加载的世界,通过点击切换/±1/±10 控件编辑游戏规则,并通过专门的确认屏幕执行破坏性操作(删除/卸载/恢复)——无需在聊天中输入名称或种子,菜单会提供真正的文本输入提示。 - 每世界标志 — 每个世界可独立设置 PvP、怪物生成、动物生成、天气锁定以及自定义出生点,均可在同一菜单中编辑。
- PlaceholderAPI 支持 —
%worldmanager_current_world%、%worldmanager_loaded%、%worldmanager_total_player_amount%等。 - 内置六种语言 — 英语、法语、西班牙语、德语、波兰语、俄语。所有面向玩家的消息均定义在语言文件中,未硬编码。
命令
所有命令均以 /worldmanager 开头(别名为 /wm)。
| 命令 | 描述 |
|---|---|
/wm 或 /wm gui |
打开主菜单 |
/wm create <name> [type] [seed] [generator] |
创建新世界 |
/wm load <name> [dimension] [generator] |
加载现有世界文件夹 |
/wm unload <name> |
卸载世界 |
/wm delete <name> |
永久删除世界 |
/wm backup <name> |
备份世界 |
/wm restore <name> |
从最新备份恢复世界 |
/wm teleport <world> [player] |
将自己或其他玩家传送到某世界 |
/wm pregen <start|stop|pause|resume> <world> [center:x,z] [radius:n] |
控制世界预生成 |
/wm list |
列出当前已加载的世界 |
权限
| 权限节点 | 授予权限 |
|---|---|
worldmanager.command |
基础访问 /worldmanager 命令 |
worldmanager.gui |
打开菜单 |
worldmanager.create |
创建世界 |
worldmanager.load |
加载世界 |
worldmanager.unload |
卸载世界 |
worldmanager.delete |
删除世界 |
worldmanager.backup |
备份世界 |
worldmanager.restore |
恢复世界 |
worldmanager.teleport |
在世界间传送 |
worldmanager.pregen |
控制预生成 |
worldmanager.list |
列出已加载的世界 |
支持版本
Paper 1.20.1 → 26.2. 基于 1.20.1 API 编译(Paper 的 Bukkit 兼容 API 是向后增量添加的,因此针对最低版本而非最新版本构建可确保其在中间所有发行版上运行),并在真实的 1.20.1 服务器上进行启动测试。不支持 Spigot/CraftBukkit —— 3.0.0 之前依赖的一个阴影打包(shaded)箱子 GUI 库已被移除且尚未重新引入。
4.0.0 新增内容
- 更广泛的版本支持:3.0.0 的菜单需要 Paper 1.21.7+(它基于 Minecraft 的对话框 UI,而该 UI 在此之前不存在)。4.0.0 回归使用箱子界面菜单——经过重新设计而非简单回退——旨在将最低支持版本降至 1.20.1。
- 关键修复:断开连接可能导致玩家整个链接库存历史(不仅是当前组,而是所有组)从数据库中丢失。现已修复——退出游戏现在仅清除内存缓存。
- 新增:每世界标志 — PvP、怪物/动物生成、天气锁定及自定义出生点,可在每个世界的菜单屏幕中编辑(参见上方“功能特性”)。
- 世界操作锁现在可防止预生成与同一世界上的并发卸载/删除/备份/恢复操作发生冲突。
worldmanager.*权限现已正确声明(default: op),且操作员通过权限插件显式拒绝的权限现在会被真正尊重。- 在预生成、备份和命令反馈方面进行了大量较小的正确性修复——详细信息请参阅
AUDIT.md。
此前:3.0.0 变更内容
- 关键修复:修复了一个自 2.2.0 版本起存在的 bug,即玩家在切换世界时即使已禁用
linked-worlds-inventory(链接世界库存),或在两个均未配置到同一组的世界之间切换时,可能会丢失物品栏。如果您在更新到 2.2.x 后遭遇过物品栏丢失问题,原因即在于此。 - 新增功能:支持链接下界/末地传送门(参见上方的“功能特性”)。
- 多项正确性与可靠性修复将阻塞主线程的 I/O 操作移至后台线程;修复了
/wm load命令中自定义生成器被静默忽略的 bug;修复了/wm unload命令上的双重传送 bug;以及修复了“成功”提示可能在底层异步任务实际完成之前就触发的问题。
配置
lang: en # en, fr, es, de, pl, ru
database:
type: sqlite # or mysql
enable-linked-inventory: false
linked-worlds-inventory:
group1:
- world
- world_nether
linked-portals:
TEST:
nether: Nether_TEST
end: End_TEST
链接
WorldManager
Create, load, unload, delete, back up, restore, teleport between, and pre-generate Minecraft worlds — all from one command, with a modern in-game menu, per-world flags, and shared/linked inventories and portals between worlds. One plugin covering the same ground as Multiverse-Core plus its Inventories and NetherPortals addons.
Report bugs or suggest features on GitHub Issues.
Features
- World management — create (normal, flat, large biomes, amplified, nether, the end, or a custom generator), load existing world folders, unload, and permanently delete worlds.
- Backups — zip a world's folder on demand and restore it later, with the heavy I/O kept off the main thread so it doesn't freeze the server.
- Pre-generation — generate chunks in a bounded radius around a center point ahead of time, with start/pause/resume/stop control and a boss-bar progress indicator. Multiple worlds can pre-generate concurrently.
- Teleportation — jump yourself or another player straight to a world's spawn.
- Game rules — browse and edit every
GameRulesupported by a world, per-world, without touchingbukkit.ymlor server commands. - Linked-worlds inventories (optional) — group worlds together so players keep one shared inventory across the group, and get a clean slate (or their group's saved inventory) when they leave it. Backed by SQLite or MySQL/MariaDB.
- Linked Nether/End portals (optional) — point a world's Nether/End portals at specific
worlds instead of Bukkit's auto-derived
<world>_nether/<world>_the_endpair, e.g. sendTEST's portals toNether_TEST/End_TEST. Both directions are handled automatically. - In-game menu —
/wm guiopens a modern chest-inventory menu: create a world through a single form (name, type, seed, generator, empty-world toggle), browse and manage loaded worlds, edit game rules with click-to-toggle/±1/±10 controls, and confirm destructive actions (delete/unload/restore) through a proper Yes/No screen — no chat prompts to type a name or seed into, the menu opens a real text-entry prompt for that. - Per-world flags — PvP, mob spawning, animal spawning, a weather lock, and a custom spawn point per world, editable from the same menu.
- PlaceholderAPI support —
%worldmanager_current_world%,%worldmanager_loaded%,%worldmanager_total_player_amount%, and more. - Six languages out of the box — English, French, Spanish, German, Polish, Russian. Every player-facing message is defined in a lang file, not hardcoded.
Commands
All commands are under /worldmanager (alias /wm).
| Command | Description |
|---|---|
/wm or /wm gui |
Open the main menu |
/wm create <name> [type] [seed] [generator] |
Create a new world |
/wm load <name> [dimension] [generator] |
Load an existing world folder |
/wm unload <name> |
Unload a world |
/wm delete <name> |
Permanently delete a world |
/wm backup <name> |
Back up a world |
/wm restore <name> |
Restore a world from its latest backup |
/wm teleport <world> [player] |
Teleport yourself or another player to a world |
/wm pregen <start|stop|pause|resume> <world> [center:x,z] [radius:n] |
Control world pre-generation |
/wm list |
List currently loaded worlds |
Permissions
| Permission | Grants |
|---|---|
worldmanager.command |
Base access to /worldmanager |
worldmanager.gui |
Open the menu |
worldmanager.create |
Create worlds |
worldmanager.load |
Load worlds |
worldmanager.unload |
Unload worlds |
worldmanager.delete |
Delete worlds |
worldmanager.backup |
Back up worlds |
worldmanager.restore |
Restore worlds |
worldmanager.teleport |
Teleport between worlds |
worldmanager.pregen |
Control pre-generation |
worldmanager.list |
List loaded worlds |
Supported versions
Paper 1.20.1 → 26.2. Compiled against the 1.20.1 API (Paper's Bukkit-facing API is backward-additive, so building against the floor rather than the latest keeps it running on every release in between) and boot-tested against a real 1.20.1 server. Spigot/CraftBukkit are not supported — a shaded chest-GUI library the plugin depended on before 3.0.0 was dropped and hasn't been reintroduced.
What's new in 4.0.0
- Much wider version support: 3.0.0's menu required Paper 1.21.7+ (it was built on Minecraft's Dialog UI, which doesn't exist before then). 4.0.0 moves back to a chest-inventory menu — redesigned, not a revert — specifically to bring the floor down to 1.20.1.
- Critical fix: disconnecting could wipe a player's entire linked-inventory history (every group, not just the current one) from the database. Fixed — quitting now only clears the in-memory cache.
- New: per-world flags — PvP, mob/animal spawning, a weather lock, and a custom spawn point, editable from each world's menu screen (see Features above).
- A world-operation lock now prevents pre-generation from racing a concurrent unload/delete/backup/restore on the same world.
worldmanager.*permissions are now properly declared (default: op), and an operator's explicit permission negation (via a permissions plugin) is now actually respected.- Numerous smaller correctness fixes across pre-generation, backups, and command feedback — full
details in
AUDIT.md.
Earlier: what changed in 3.0.0
- Critical fix: a bug (present since 2.2.0) where players could lose their inventory when changing worlds even with linked-worlds-inventory disabled, or between two worlds neither of which was in a configured group. If you saw inventory loss after updating to 2.2.x, this is why.
- New: linked Nether/End portals (see Features above).
- Numerous correctness and reliability fixes: main-thread-blocking I/O moved off the main thread,
a bug where custom generators passed to
/wm loadwere silently ignored, a double-teleport bug on/wm unload, and "success" messages that could fire before the underlying async work actually finished.
Configuration
lang: en # en, fr, es, de, pl, ru
database:
type: sqlite # or mysql
enable-linked-inventory: false
linked-worlds-inventory:
group1:
- world
- world_nether
linked-portals:
TEST:
nether: Nether_TEST
end: End_TEST
Links
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldManager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
完全重做
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧