DimensionCore
你的服务器真正需要的世界与维度层——并且它能安全地删除世界文件夹。
DimensionCore 为 Paper 服务器管理世界、定时重置以及末地。它没有任何运行时依赖:无需数据库、WorldGuard、Multiverse、经济插件或 Votifier。所有数据均为可读的 YAML,且玩家看到的所有文本均提供英文和荷兰语。
? 已管理的世界
一个包含服务器应加载的所有世界的 YAML 注册表,作为启动时的第一步加载。在关键处严格把关:environment(环境)中的拼写错误会被视为错误,而非静默生成主世界;缺少生成器插件的世界不会加载,也不会将原版区块写入你的自定义地图中;缺失的文件夹会被视为错误,而不是创建一个新空世界的借口。
/world list | info | create | import | load | unload | forget | tp | setspawn | spawn。一次性尽力导入现有的 Multiverse worlds.yml,让你可以弃用 Multiverse 并继续加载你的世界。
♻️ 安全的定时重置
针对任何已注册的世界(资源世界、冒险地图、季节性世界等),提供一个统一的重置引擎,支持每日、每周或每月计划。包括倒计时警告、锁定与疏散窗口,以及重新生成(使用新种子或保留种子)或从模板恢复的选择。
安全性是其主要特性,因为此插件会删除文件夹:
- 仅当
worlds.yml 中设置为 resettable: true 时,才会删除世界。
- 默认情况下,主世界、下界及其末地受到保护。
- 所有路径均规范化;拒绝
..、符号链接以及任何位于世界容器之外的路径。
- 流程:疏散 → 卸载 → 验证卸载 → 路径检查 → 删除 → 重建。
- 试运行(dry run)会精确打印出受影响的世界和文件夹;实际重置需要
--confirm 参数。
- 状态文件防止跨重启后的重复重置,并防止全新安装误删刚创建的世界。
? 末地
在宣布的时间之前(或无限期)封锁末地,阻止通过传送门、网关、传送指令和命令进入——并提供管理员豁免。按计划重置末地,并附带警告和疏散机制。可选地将主岛屿的网关路由到一个轮换的外层末地,该外层末地在每次重置时都会被替换。实时的逐玩家 Boss 条和浮动全息面板显示末地当前是开放还是关闭状态。
/end status | lock | unlock | reset | reload。
? 末影龙
重生控制、首次击杀和猎杀者奖励(物品、经验值或控制台指令——可通过 eco give {player} 500 支付金钱,无需经济依赖),以及主岛屿的保护:由管理员定义的空间区域,在此区域内末影龙无法破坏地形,玩家也无法挖掘原始地形——但仍可破坏自己放置的方块。此外还提供一把用于活动的一击必杀猎杀者剑。
/dragon respawn | slayer | region … | status | reload。
? 网关末地
一个永久性的第二个末地,重置流程永远不会触及它——永不重置、永不轮换、永不疏散。按玩家解锁(默认基于权限),并通过可放置的基石到达,该基石会在安全的着陆平台上打开个人传送门。
/gateway give | unlock | lock | tp | status | reload。
模块化与独立运行
每个功能都是一个模块,你可以选择开启或关闭。worlds 是基础模块;如果关闭它,依赖它的模块只会记录一行日志并保持关闭状态,而不会半启动。无需数据库,无需外部插件依赖,所有数据均为纯 YAML 格式。
专为 Paper 26.2 构建
冒险 Boss 条、展示实体全息图、基于注册表的查找、仅通过 Bukkit 原生 API 创建的世界——无 NMS、无反射、无版本锁定。随附 JUnit 测试覆盖关键部分:世界名称验证、严格的环境解析、调度数学计算、倒计时调度、空间区域 containment、重置状态记账以及路径安全检查。
语言
开箱即用支持英语和荷兰语。每个面向玩家的字符串都位于语言文件中——通过复制其中一个即可添加你自己的语言。
⚠️ 此插件会删除世界文件夹。 在启用重置之前,请先阅读文档中的“安全性、重置与备份”页面。请保持备份。
DimensionCore
The worlds-and-dimensions layer your server actually needs — and it deletes
world folders safely.
DimensionCore manages worlds, scheduled resets, and the End for Paper servers.
There are no runtime dependencies at all: no database, no WorldGuard, no
Multiverse, no economy plugin, no Votifier. Everything is YAML you can read, and
every word a player sees ships in English and Dutch.
? Managed worlds
A YAML registry of every world your server should load, loaded as the first
startup step. Strict where it matters: a typo in an environment is an error, not
a silently generated overworld; a world whose generator plugin is missing won't
load and write vanilla chunks into your custom map; a missing folder is treated as
an error, not an excuse to make a fresh empty world.
/world list | info | create | import | load | unload | forget | tp | setspawn | spawn. One-time best-effort import of an existing Multiverse worlds.yml, so you
can drop Multiverse and keep your worlds loading.
♻️ Safe scheduled resets
One reset engine for any registered world — resource world, adventure map,
seasonal world — on a daily, weekly or monthly schedule. Countdown warnings, a
lock-and-evacuate window, and a choice of regenerate (new or kept seed) or
restore-from-template.
Safety is the headline feature, because this plugin removes folders:
- A world is deleted only if it is
resettable: true in worlds.yml.
- The primary world, its nether and its End are protected by default.
- Every path is canonicalised;
.., symlinks and anything outside the world
container are refused.
- Evacuate → unload → verify the unload → path-check → delete → rebuild.
- A dry run prints exactly which world and folder would be affected; a real
reset needs
--confirm.
- State files stop double resets across restarts and stop a fresh install wiping a
world it just met.
? The End
Lock the End shut until an announced time (or indefinitely), blocking entry by
portal, gateway, teleport and command — with a staff bypass. Reset it on a
schedule with warnings and evacuation. Optionally route the main island's gateways
into a rotating outer End that is replaced every reset. A live per-player boss
bar and floating hologram boards show whether it's open or closed.
/end status | lock | unlock | reset | reload.
? The Ender Dragon
Respawn control, first-kill and slayer rewards (items, XP, or console
commands — pay money with eco give {player} 500, no economy dependency), and
protection of the main island: admin-defined cuboid regions where the dragon
can't grief and players can't mine the original terrain — but can still break
blocks they placed themselves. Plus an admin one-hit slayer sword for events.
/dragon respawn | slayer | region … | status | reload.
? The Gateway End
A permanent second End the reset pipeline never touches — never reset, never
rotated, never evacuated. Unlocked per player (permission-driven by default) and
reached through a placeable keystone that opens a personal portal onto a safe
landing platform.
/gateway give | unlock | lock | tp | status | reload.
Modular & standalone
Every feature is a module you can switch on or off. worlds is the
foundation; if it's off, the dependent modules log one line and stay off rather
than half-starting. No database, no external plugin dependencies, all data in
plain YAML.
Built for Paper 26.2
Adventure boss bars, display-entity holograms, registry-based lookups, worlds
created only through Bukkit's own API — no NMS, no reflection, no version locks.
Ships with JUnit tests for the parts that matter: world-name validation, strict
environment parsing, schedule maths, countdown scheduling, cuboid containment,
reset-state bookkeeping, and the path-safety checks.
Languages
English and Dutch out of the box. Every player-facing string is in a language
file — add your own by copying one.
⚠️ This plugin deletes world folders. Read the "Safety, resets & backups"
page in the docs before enabling resets. Keep backups.
评论 0
登录后参与评分
还没有评论,来抢沙发吧