Описание
**Custom Areas** is a powerful and easy-to-use Fabric mod designed exclusively for the **server-side**. Forget complicated commands and configuration files. With this mod, you can create, manage, and protect zones in your world in a 100% visual and intuitive way through interactive menus.
It's the perfect tool for administrators looking for granular control over their worlds, from protecting a spawn to creating PVP arenas VIP zones or Functional areas that activate commands when interacting with them.
## 🚀 Key Features
Everything is managed from a central menu, with no need to memorize complex commands.
* ### 100% Intuitive Zone Management
* **Easy Creation:** Use `/ca menu` to get a selection wand and define your zones with two clicks.
* **GUIs for Everything:** Rename, teleport to, edit, and delete your areas from a convenient graphical interface.
* **Selection Visualizer:** While selecting an area, you'll see a particle outline to know exactly what you're protecting.
* ### Advanced Flag System
Control what players can and cannot do in each zone with a simple click.
* **World Protection:** Enable or disable `block-break`, `block-place`, `tnt-detonation`, `fire-spread`.
* **Player Rules:** Control `pvp`, `invincibility`, `hunger-drain`, and interactions (`interact`, `chest-access`).
* **Aesthetic Interface:** Each flag has a representative icon and an enchantment glint when active, making management more visual.
* ### Deep Integration with LuckPerms
Go beyond flags and control who can enter your zones.
* **Access Restriction:** Assign one or more permission nodes (e.g., `group.vip` or `customareas.dungeon1`) to an area. Players without the required permission will be ejected upon entry.
* **In-Game Permission Manager:** Add or remove the permissions required for an area from a simple menu.
* **Visualize Who Has Access!** A unique feature: click on a permission and view a list with the heads of all **online** players who meet that requirement.
* ### Priority System
Have a zone within another zone? No problem! The priority system allows you to decide which zone's rules apply when they overlap, always giving preference to the one with the higher priority.
* ### Automation and Customization
* **Entry Commands:** Define commands that will be automatically executed by the console when a player enters an area (e.g., `effect give %player% speed`).
* **Welcome Titles:** Configure custom titles and subtitles (with `&` color code support) that appear on a player's screen upon entering a zone.
## ⚙️ How to Use
1. Install the mod and its dependencies into your server's `mods` folder.
2. As an admin, type the command `/ca menu` in-game.
3. Use the "Create New Area" button to get the selection tool.
4. Define the boundaries of your zone and confirm it with `/ca confirm`.
5. Manage all the rules and features of your new zone from the "Manage Areas" menu!
## 📦 Dependencies
This mod is **server-side only** and requires the following dependencies to function:
* [**Fabric API**](https://modrinth.com/mod/fabric-api)
* [**GooeyLibs2**](https://modrinth.com/mod/gooeylibs) (v3.1.1 or higher)
* [**LuckPerms**](https://modrinth.com/mod/luckperms) (required for permission features)
## 💬 Support
@f0cus [discord.gg](https://discord.com/invite/nW4PADWamk)