? WorldAccessBlocker
WorldAccessBlocker 可临时限制对 下界、末地、鞘翅飞行 以及 自定义世界 的访问 —— 支持按固定日期或每周循环时间表进行控制。专为 Paper 及其分支(Purpur、Folia)构建。
✨ 功能特性
- ⏳ 基于日期的限制 — 在特定日期和时间之前阻止某项功能。
- ? 循环时间表 — 仅在特定的日期和时间段内允许访问(例如周末,或周日 15:00–17:00)。
- ? 下界拦截器 — 取消传送门生成、传送门通行以及末影珍珠传送。
- ? 末地拦截器 — 阻止末地传送门激活(以及前往末地的旅程)。
- ? 鞘翅控制 — 独立阻止鞘翅装备和/或飞行。
- ?️ 自定义世界 — 按日期或时间表限制任何指定名称的世界。
- ? 备用传送 — 将受限制的玩家传送到可配置的世界出生点。
- ? 玩家级豁免 — 通过
/wab bypass授予限时豁免,通过/wab remove撤销豁免。 - ? PlaceholderAPI 支持 — 向记分板 / TAB 显示限制状态和剩余时间。
- ? 多语言 — 包含英语和俄语;可自行添加
.yml文件。 - ♻️ 实时重载 — 通过
/wabreload无需重启服务器即可应用配置更改。 - ? 原生 Folia 支持 — 在 Folia 上使用区域调度器(无线程安全警告)。
- ? 更新通知 — 当有新版本发布时,管理员会收到游戏内警报。
? 安装
- 下载最新的
WorldAccessBlocker.jar。 - 将其放入服务器的
plugins/文件夹中。 - 重启服务器。
- 根据需要编辑
plugins/WorldAccessBlocker/config.yml,然后运行/wabreload。
⚙️ 配置
# 消息语言:"en" 或 "ru"
language: "en"
# 服务器时区(对于循环时间表非常重要!)
time-zone: "Europe/Moscow"
nether:
disable: true
# 仅在没有 `recurring` 块时使用(直到此日期被阻止):
restriction-date: "2025-03-10 00:00:00"
disable-portal-creation: true
disable-teleportation: true
# 每周时间表。如果存在此块,则忽略 `restriction-date`。
# 每个时间段都是一个开放(允许)窗口 —— 在这些窗口之外访问将被阻止。
recurring:
periods:
# 仅在周日 15:00–17:00 开放
- days: [SUNDAY]
start-time: "15:00"
end-time: "17:00"
# 周末全天开放
- days: [SATURDAY, SUNDAY]
end:
disable: true
disable-portal-activation: true
# 空列表 = 没有开放窗口 = 始终阻止
recurring:
periods: []
elytra:
disable: true
disable-equip: true
disable-flight: true
custom-worlds:
lobby_world:
disable: true
recurring:
periods:
- days: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY]
start-time: "09:00"
end-time: "17:00"
# 受限制玩家的传送目标(世界名称 → 其出生点)
fallback-spawns:
default: "world"
nether: "hub"
时间表工作原理: 当设置
recurring:时,每个时间段定义一个 开放 窗口。如果当前日期/时间落在某个时间段内,则访问 开放;否则将被 阻止。空的periods: []表示 始终 阻止。
? 命令与权限
| 命令 | 权限 | 默认值 | 描述 |
|---|---|---|---|
/wab bypass <player> <feature> <seconds> |
wab.bypass |
op | 授予限时豁免 |
/wab remove <player> <feature> |
wab.bypass |
op | 移除豁免 |
/wab status [player] |
wab.status |
all | 显示限制状态 |
/wabreload |
wab.reload |
op | 无需重启即可重载配置 |
<feature> 可以是 nether、end、elytra 或自定义世界名称。
? PlaceholderAPI
| 占位符 | 返回值 |
|---|---|
%wab_nether_blocked% |
true / false |
%wab_end_blocked% |
true / false |
%wab_elytra_blocked% |
true / false |
%wab_time_left_nether% |
剩余时间(或时间表) |
%wab_time_left_end% |
剩余时间(或时间表) |
%wab_time_left_elytra% |
剩余时间(或时间表) |
? 兼容性
| 平台 | 版本 | 状态 |
|---|---|---|
| Paper | 1.20.5 – 1.21.4 | ✅ 完全支持 |
| Purpur | 1.20.5 – 1.21.4 | ✅ 完全支持 |
| Folia | 1.20.5+ | ✅ 原生调度器 |
需要 Java 21。 不支持 Spigot/Bukkit(该插件使用了 Paper 的 Adventure API 和调度器 API)。
? 统计
? Bug 与建议
请在 GitHub 上提交 Issue,或在 Modrinth 此处留下评论。
? WorldAccessBlocker
WorldAccessBlocker temporarily restricts access to the Nether, the End, elytra flight, and custom worlds — by a fixed date or a recurring weekly schedule. Built for Paper and its forks (Purpur, Folia).
✨ Features
- ⏳ Date-based restrictions — block a feature until a specific date and time.
- ? Recurring schedules — allow access only on certain days and time windows (e.g. weekends, or Sundays 15:00–17:00).
- ? Nether blocker — cancels portal creation, portal travel, and ender-pearl teleports.
- ? End blocker — prevents End portal activation (and the trip to the End).
- ? Elytra control — block equipping and/or flight independently.
- ?️ Custom worlds — restrict any named world by date or schedule.
- ? Fallback teleport — send blocked players to a configurable world spawn.
- ? Per-player bypasses — grant a timed bypass with
/wab bypass, revoke with/wab remove. - ? PlaceholderAPI support — expose restriction state and time-left to scoreboards / TAB.
- ? Multi-language — English and Russian included; add your own
.yml. - ♻️ Live reload — apply config changes without a restart via
/wabreload. - ? Folia-native — uses the regional scheduler on Folia (no thread-safety warnings).
- ? Update notifications — admins get an in-game alert when a new version is out.
? Installation
- Download the latest
WorldAccessBlocker.jar. - Drop it into your server's
plugins/folder. - Restart the server.
- Edit
plugins/WorldAccessBlocker/config.ymlto taste, then run/wabreload.
⚙️ Configuration
# Message language: "en" or "ru"
language: "en"
# Server time zone (important for recurring schedules!)
time-zone: "Europe/Moscow"
nether:
disable: true
# Used only when there is NO `recurring` block (blocked until this date):
restriction-date: "2025-03-10 00:00:00"
disable-portal-creation: true
disable-teleportation: true
# Weekly schedule. If this block is present, `restriction-date` is IGNORED.
# Each period is an OPEN (allowed) window — outside these windows access is blocked.
recurring:
periods:
# Open only on Sundays, 15:00–17:00
- days: [SUNDAY]
start-time: "15:00"
end-time: "17:00"
# Open all day on weekends
- days: [SATURDAY, SUNDAY]
end:
disable: true
disable-portal-activation: true
# Empty list = no open windows = ALWAYS blocked
recurring:
periods: []
elytra:
disable: true
disable-equip: true
disable-flight: true
custom-worlds:
lobby_world:
disable: true
recurring:
periods:
- days: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY]
start-time: "09:00"
end-time: "17:00"
# Where blocked players are teleported (world name → its spawn)
fallback-spawns:
default: "world"
nether: "hub"
How the schedule works: when
recurring:is set, each period defines an open window. If the current day/time falls inside a period, access is open; otherwise it is blocked. An emptyperiods: []means always blocked.
? Commands & Permissions
| Command | Permission | Default | Description |
|---|---|---|---|
/wab bypass <player> <feature> <seconds> |
wab.bypass |
op | Grant a timed bypass |
/wab remove <player> <feature> |
wab.bypass |
op | Remove a bypass |
/wab status [player] |
wab.status |
all | Show restriction status |
/wabreload |
wab.reload |
op | Reload config without a restart |
<feature> is nether, end, elytra, or a custom world name.
? PlaceholderAPI
| Placeholder | Returns |
|---|---|
%wab_nether_blocked% |
true / false |
%wab_end_blocked% |
true / false |
%wab_elytra_blocked% |
true / false |
%wab_time_left_nether% |
time remaining (or schedule) |
%wab_time_left_end% |
time remaining (or schedule) |
%wab_time_left_elytra% |
time remaining (or schedule) |
? Compatibility
| Platform | Versions | Status |
|---|---|---|
| Paper | 1.20.5 – 1.21.4 | ✅ Full support |
| Purpur | 1.20.5 – 1.21.4 | ✅ Full support |
| Folia | 1.20.5+ | ✅ Native scheduler |
Requires Java 21. Spigot/Bukkit are not supported (the plugin uses Paper's Adventure & scheduler APIs).
? Stats
? Bugs & Suggestions
Open an issue on GitHub or leave a comment here on Modrinth.
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 WorldAccessBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
WorldAccessBlocker 0.12.0
-
Folia 分支(Arbor、Canvas、DeerFolia、Lophine 等)不再因启用失败而出错(#1)。现在通过区域化服务器类来检测 Folia,而非依赖服务器品牌名称。感谢 @lijinhong11(#2)。
-
在 Folia 上重复执行的全球任务不再传递零初始延迟,从而避免被区域调度器拒绝。
-
Folia 适配器直接使用 Paper 调度器 API,不再使用反射,也不再回退到 Bukkit 调度器。
-
Modrinth 发布版本现在列出了基于年份的 Minecraft 版本号(如 26.1、26.2 等)。
-
依赖项:bStats 3.1.0、JUnit 6.1.3、Mockito 5.23.0;CI 动作已更新。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧