A Fabric mod that aims to bring protections and alerts to the server!
A comprehensive server-side region protection and alert system for Minecraft 1.21.11 with LuckPerms integration. Create protected regions, manage permissions, receive real-time alerts, and control who can access your areas.
/area pos1, /area pos2, and /area create <name>/area delete <name>/area info <name> or /area list/area expand <region> <direction> <amount>Toggle protection on/off per region with /area protection <region> <type> <true/false>:
| Protection Type | Description |
|---|---|
block_break |
Prevent unauthorized block breaking |
block_place |
Prevent unauthorized block placement |
block_interact |
Prevent interaction with blocks (buttons, levers, etc.) |
container_open |
Prevent access to containers (chests, barrels, hoppers, etc.) |
entity_damage |
Prevent damage to non-player entities (animals, pets, etc.) |
pvp |
Prevent player-versus-player combat |
All protection flags enabled by default on new regions.
/area whitelist add <region> <player>/area whitelist remove <region> <player>/area blacklist add <region> <player>/area blacklist remove <region> <player>areaprotection.admin/alert inbox [page]/alert clear/alert history <region> [page]Toggle specific alert types with /alert settings <region> <type>:
| Alert Type | Triggered When |
|---|---|
enter |
Any player enters the region |
leave |
Any player exits the region |
block_break |
Someone attempts to break a protected block |
block_place |
Someone attempts to place a protected block |
block_interact |
Someone attempts to interact with a block |
container_open |
Someone attempts to open a container |
entity_damage |
Someone attempts to damage an entity |
pvp |
Someone attempts player combat |
/alert inbox/alert toggle <region>/area message <region> enter <message>/area message <region> leave <message>| Permission | Use |
|---|---|
areaprotection.pos |
Use /area pos1 and /area pos2 commands |
areaprotection.create |
Create new regions with /area create |
areaprotection.delete |
Delete regions with /area delete |
areaprotection.whitelist |
Manage whitelists |
areaprotection.blacklist |
Manage blacklists |
areaprotection.protection |
Modify protection settings |
areaprotection.alerts.receive |
Receive alert notifications |
areaprotection.bypass |
Bypass all protections (admin only) |
areaprotection.admin |
Full admin access to all regions |
areaprotection.reload |
Reload configuration |
config/areaprotection.json - Customizable settings:
limits.maxRegionVolume - Maximum blocks per region (default: 1,000,000)limits.maxRegionsPerPlayer - Maximum regions per player (default: 10)alertCooldowns - Alert cooldown times in secondsdefaultProtectionFlags - Default protection settings for new regionsblacklistHardBlock - Whether to prevent breaking certain blocks in regionsconfig/areaprotection//area pos1 - Set position 1 at current location
/area pos2 - Set position 2 at current location
/area create <name> [priority] - Create region from selection
/area delete <name> - Delete a region
/area info <name> - Show region details
/area list - List all regions
/area protection <region> <type> <true/false> - Toggle protection
/area whitelist add <region> <player> - Add to whitelist
/area whitelist remove <region> <player> - Remove from whitelist
/area blacklist add <region> <player> - Add to blacklist
/area blacklist remove <region> <player> - Remove from blacklist
/area message <region> enter <message> - Set enter message
/area message <region> leave <message> - Set leave message
/area expand <region> <direction> <amount> - Expand region
/alert toggle <region> - Toggle all alerts on/off
/alert inbox [page] - View offline alerts
/alert clear - Clear all offline alerts
/alert history <region> [page] - View region alert history
/alert settings <region> <type> - Toggle specific alert type
config/
├── areaprotection.json - Main configuration
└── areaprotection/
├── regions.json - Saved regions
└── offline_alerts.json - Stored offline alerts
Conversation