跳到正文

ProtectedArea

作者:ZioO

Define and enforce customizable protected zones in Minecraft with automated rule enforcement and player-specific exceptions.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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
https://protectedarea.crewved.com/

Support Discord
https://discord.gg/3cmdp4f7NC

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 支持哪些 Minecraft 版本?

ProtectedArea 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ProtectedArea 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分