LocalRealms
无需退出游戏即可创建你自己的定制 Minecraft 世界。LocalRealms 让你能够创建、保存并在任意数量的世界之间切换 —— 每个世界都拥有独立的物品栏、游戏模式和规则。
功能特性
- 按需创建世界。 平坦创造模式沙盒、空旷虚空天空岛,或是全新的生存主世界 —— 只需一条命令即可完成。
- 每个世界都是独立的存档。 你的物品栏、护甲、副手物品、末影箱、经验值、饥饿度、生命值以及游戏模式都会针对每个世界单独记忆。进入平坦创造模式世界建造,然后传送回你的生存世界,一切都将如你离开时那般完好如初。
- 世界持久存在。 你创建的任何内容都会被保存,并在服务器重启时自动重新加载。
- 为每个世界选择默认游戏模式。 在创建时选择生存、创造或冒险模式 —— 首次访问者将以该模式生成。
- 针对不同风格设定合理的游戏规则默认值。 平坦和虚空世界默认关闭 PvP,并冻结时间、天气及生物生成。普通世界则保持原版行为。
- 公开或仅限 OP。 锁定世界使其仅允许 OP 访问,或向所有人开放。服务器的默认
world_nether 和 world_end 默认仅限 OP(传送门旅行仍然有效 —— 此锁定仅影响 /worldcreator join);若希望开放它们,请编辑 worlds.yml。
环境要求
- 运行 Minecraft 1.21.11 的 Paper 服务器(或 Purpur 等 Paper 分支)
- Java 21 或更高版本
- 需要 OP 权限才能创建世界(加入权限默认对所有玩家开放)
安装方法
将 LocalRealms.jar 放入服务器的 plugins/ 文件夹中并重启服务器。即装即用。
命令
创建世界
/worldcreator admin create <name> <style> <dimension> <permlev> <gamemode> [seed]
需要 OP 权限。
| 参数 |
选项 |
备注 |
name |
字母、数字、_、- |
这将作为世界文件夹的名称 |
style |
NORMAL, FLAT, VOID |
地形类型 |
dimension |
NORMAL, NETHER, END |
要生成的维度 |
permlev |
1 或 4 |
1 = 任何人都可加入,4 = 仅限 OP |
gamemode |
SURVIVAL, CREATIVE, ADVENTURE |
首次访问者的默认游戏模式 |
seed |
任意数字(可选) |
留空则为随机种子 |
示例 —— 用于天空岛的公开创造模式虚空世界:
/worldcreator admin create skyblock VOID NORMAL 1 CREATIVE
示例 —— 仅限 OP 的平坦测试世界:
/worldcreator admin create testflat FLAT NORMAL 4 CREATIVE
世界生成期间可能会出现短暂的卡顿。
加入世界
/worldcreator join <name>
将你传送至该世界的出生点。Tab 补全会列出所有你可以访问的世界。
提示
- 你对任何世界的首次访问都会提供一个全新的状态(空物品栏、满生命值、使用该世界的默认游戏模式)。从那一刻起所有内容都会被保存 —— 包括你的游戏模式,因此在生存世界中切换到创造模式后,下次返回时仍将保持创造模式。
- 如有需要,你可以手动编辑
plugins/LocalRealms/worlds.yml 来更改世界的样式、权限等级或默认游戏模式 —— 重启服务器以使更改生效。
- 服务器的原始
world 会被自动识别并视为普通世界,因此基于世界的独立物品栏功能在那里同样适用。
LocalRealms
Spin up your own custom Minecraft worlds without leaving the game. LocalRealms lets you create, save, and hop between as many worlds as you want — each with its own inventory, gamemode, and rules.
What It Does
- Create worlds on demand. Flat creative sandboxes, empty void skyblocks, or fresh survival overworlds — all from a single command.
- Every world is its own save. Your inventory, armor, offhand, ender chest, XP, hunger, health, and gamemode are remembered separately for each world. Step into a creative flatland, build, then teleport back to your survival world with everything exactly as you left it.
- Worlds stick around. Anything you create is saved and automatically reloaded whenever the server restarts.
- Pick the default gamemode per world. Choose Survival, Creative, or Adventure when you create it — first-time visitors spawn in that mode.
- Sensible gamerule defaults per style. Flat and Void worlds have PvP off and freeze time, weather, and mob spawning. Normal worlds behave like vanilla.
- Public or op-only. Lock a world down so only ops can visit, or open it up to everyone. The server's default
world_nether and world_end are op-only by default (portal travel still works — the lock only affects /worldcreator join); edit worlds.yml if you want to open them up.
Requirements
- A Paper server (or Paper fork like Purpur) running Minecraft 1.21.11
- Java 21 or newer
- Op status if you want to create worlds (joining is open by default)
Installation
Drop the LocalRealms.jar into your server's plugins/ folder and restart. That's it.
Commands
Create a world
/worldcreator admin create <name> <style> <dimension> <permlev> <gamemode> [seed]
Requires op.
| Argument |
Options |
Notes |
name |
letters, digits, _, - |
This becomes the world folder name |
style |
NORMAL, FLAT, VOID |
Terrain type |
dimension |
NORMAL, NETHER, END |
Which dimension to generate |
permlev |
1 or 4 |
1 = anyone can join, 4 = op only |
gamemode |
SURVIVAL, CREATIVE, ADVENTURE |
Default gamemode for first-time visitors |
seed |
any number (optional) |
Random if you leave it blank |
Example — a public creative void world for skyblock:
/worldcreator admin create skyblock VOID NORMAL 1 CREATIVE
Example — an op-only flat testing world:
/worldcreator admin create testflat FLAT NORMAL 4 CREATIVE
Expect a brief lag spike while the world generates.
Join a world
/worldcreator join <name>
Teleports you to that world's spawn. Tab-complete will list every world you're allowed to visit.
Tips
- Your first visit to any world gives you a clean slate (empty inventory, full health, the world's default gamemode). Everything is saved from that point on — including your gamemode, so switching to Creative in a Survival world will stick the next time you return.
- You can edit
plugins/LocalRealms/worlds.yml by hand to change a world's style, permlev, or default gamemode if needed — restart the server for changes to take effect.
- The server's original
world is picked up automatically and treated as a Normal world, so per-world inventories work there too.
评论 0
登录后参与评分
还没有评论,来抢沙发吧