📦 Functional Areas – Changelog v2.0.0
🛠 Requirements
• Minecraft 1.21.1
• *Fabric Loader 0.16.14
• Fabric API
• *fabric-permissions-api v0.3.3
🆕 Major Features
• Permission-based region access
> Each region can now define a required permission string.
> Players without the required permission will be blocked and teleported back.
> Integrated with fabric-permissions-api (compatible with LuckPerms).
• New command: /fasetperm <region> <permission> to assign per-region permissions.
> Safe access handling
> Prevents players from getting stuck in permission-locked areas.
> Stores the last safe position and teleports them back if access is denied.
• Eliminates console spam and infinite teleport loops.
• Improved command syntax
/faset <name> [command] [#hologram] now supports optional arguments.
• If # is used, all following text is treated as a hologram (with color support via &).
• Enhanced edit mode
• Selector tool is fully protected:
> Cannot be moved, dropped, duplicated, or stored.
> Restores inventory correctly on exit or disconnect.
> Visual particle feedback when selecting region points.
🔧 Fixes & Improvements
• Fixed: Commands and holograms now trigger only once per entry, not per block.
• Fixed: Persistent inventory duplication bug in edit mode.
• Fixed: Breeze Rod selector dropping and creative-mode abuse.
• Improved: Area creation and management feedback.
• Improved: Command structure and feedback for all FA commands.
📁 File and Format Changes
• The area data file is now stored as regions.json in the world folder.
• New JSON structure includes the optional "requiredPermission" field for each region.
✨ Features
/faset <name> <command>
– Set up a new area that runs a command.- Visual point selection using a special Breeze Rod item.
- Command executed once on area entry (not spammed while inside).
- Supports any command, including those from other mods (e.g. Cobblemon).
/facancel
– Cancel edit mode and restore inventory./faview
– List all registered functional areas./fadelete <name>
– Remove a functional area./fahelp
– Quick guide to all commands.- Prevents item duplication, chest storage, or dropping of the selector tool.
- Player’s inventory is safely restored when exiting edit mode or disconnecting.