用于保护区域并在你的服务器上执行规则的模组!
它允许你创建立方体区域,阻止特定行为(破坏、放置、PvP、刷怪等),授予例外权限,并在进入或离开区域时执行命令。
环境
客户端模组
Fabric 1.21 - 1.21.1
Wiki
支持 Discord
概览 ProtectedArea 是一个由两部分组成的系统:一个 Paper 服务器插件和一个可选的 Fabric 客户端模组。插件在服务器上处理所有保护逻辑、数据持久化和命令管理。客户端模组通过需要客户端渲染和物理计算的额外功能来增强体验。
这两个组件通过自定义插件频道(protectedarea:main)进行通信。当安装了模组的玩家连接到运行了插件的服务器时,服务器会实时发送区域数据、规则状态和调试信息。在没有安装插件的服务器上,该模组不会执行任何操作。
架构 服务器插件 (Paper) 插件管理所有受保护的区域,通过 Bukkit 事件监听器强制执行规则,将数据存储为 YAML 文件,并为授权管理员暴露单一命令树(/area)。它还处理插件消息传递,以便向客户端发送区域数据。
客户端模组 (Fabric) 模组从服务器接收区域数据,并提供三个无法仅靠服务端实现的特性:
视觉轮廓 — 在每个区域周围渲染彩色线框盒子 物理屏障 — 客户端碰撞检测,强制执行 no_entry(禁止进入)和 no_exit(禁止退出)规则 调试 HUD — 一个多页叠加层,显示实时区域信息
Mod to protect areas and enforce rules on your server!
It allows you to create cubic zones, block actions (breaking, placing, PvP, spawns, etc.), grant exceptions, and execute commands when entering or exiting.
Environments
Client-side mod
Fabric 1.21 - 1.21.1
Wiki
Support Discord
Overview ProtectedArea is a two-component system: a Paper server plugin and an optional Fabric client-side mod. The plugin handles all protection logic, persistence, and command management on the server. The client mod extends the experience with features that require client-side rendering and physics.
The two components communicate over a custom plugin channel (protectedarea:main). When a player with the mod connects to a server running the plugin, the server sends area data, rule states, and debug information in real time. On servers without the plugin, the mod does nothing.
Architecture Server Plugin (Paper) The plugin manages all protected areas, enforces rules through Bukkit event listeners, stores data in YAML files, and exposes a single command tree (/area) to authorized administrators. It also handles plugin messaging to send area data to clients.
Client Mod (Fabric) The mod receives area data from the server and provides three capabilities that cannot be implemented server-side alone:
Visual outlines — colored wireframe boxes rendered around each area Physical barriers — client-side collision that enforces no_entry and no_exit rules Debug HUD — a multi-page overlay with real-time area information
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
下载 ProtectedArea
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
? 使用命令保存和加载玩家或他人的背包/套装。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
评论 0
登录后参与评分
还没有评论,来抢沙发吧