promotional bannermobile promotional banner

💥Protect Area - v0.8.2 💥

🛡️ Protect builds, control PvP/PvE combat, NPC spawn, fall damage, difficulty (damage and stamina) and override permissions with granular protections. Set custom enter/leave titles, multi-tier permissions. Perfect for spawns, arenas, and private zones!

File Details

ProtectAreaPlugin-0.8.2-SNAPSHOT-LogsFix.jar

  • R
  • Jan 29, 2026
  • 253.15 KB
  • 436
  • Early Access

File Name

ProtectAreaPlugin-0.8.2-SNAPSHOT-LogsFix.jar

Supported Versions

  • Early Access
## What's New in v0.8.2

*   📜 **Logging Hotfix**: Per-event and hot-path logs (damage, block protection, area transitions) are now at FINE level instead of INFO to prevent log spam. Lifecycle and discrete command actions remain at INFO; SEVERE/WARNING usage is documented for unrecoverable vs recoverable issues.
*   📊 **Overlapping Area Priority**: Areas now have a priority value (0-100, default 0). When multiple areas overlap at a position, the highest-priority area applies. Use `/protect <areaname> priority <value>` to set priority; optional `--priority <n>` when creating areas. Resolves overlapping-area behavior (see Bucket List).
*   📝 **New Title Commands**: Use `/protect <areaname> message title enter <message>` and `/protect <areaname> message title leave <message>` to set title messages. Titles work independently from chat messages - you can use both, either, or neither
*   🎬 **EventTitle Support for Enter/Leave Notifications**: Display visual titles when players enter or leave protected areas using Hytale's native EventTitle system. Titles appear as overlays on the screen with customizable settings
*   🎨 **Customizable Title Settings**: Personalize title displays with:
    *   **Icons**: Add icon identifiers to titles for visual flair
    *   **Major Titles**: Mark titles as major for larger, more prominent displays
    *   **Custom Durations**: Control how long titles stay visible (default: 4.0 seconds)
    *   **Fade Effects**: Customize fade-in and fade-out durations (default: 1.5 seconds each)
*   📝 **New Title Commands**: Use `/protect message title <areaname> enter <message>` and `/protect message title <areaname> leave <message>` to set title messages. Titles work independently from chat messages - you can use both, either, or neither
*   🛡️ **Three-Tier NPC Spawn Protection System**: Complete overhaul of NPC spawn protection with three complementary systems working together:
    *   **Chunk Spawn Protection System**: Proactively marks chunks as unspawnable when they overlap with protected areas that have mob spawn protection enabled. This prevents spawn jobs from being created in the first place, even for newly loaded chunks
    *   **Spawn Job Protection System**: Reactively blocks spawn jobs that are created in protected areas, preventing NPCs from spawning. This catches spawn jobs that were created before chunks were marked or in edge cases
    *   **NPC Protection System**: Reactive fallback system that removes NPCs that are in protected areas with mob spawn protection enabled. This catches NPCs that were loaded from save files, spawned before protection was enabled, or somehow bypassed the spawn protection systems
*   🗺️ **Proactive Chunk Marking**: Chunks are automatically marked as unspawnable when they overlap with protected areas, preventing new spawn jobs from being created. The system tests multiple Y levels and chunk corners to catch protected areas at different vertical positions
*   🚫 **Intelligent Spawn Job Blocking**: Spawn jobs are properly terminated using the spawn system's cleanup mechanism, preventing feedback loops and ensuring spawn statistics are correctly updated. The system marks roles as unspawnable to prevent future spawns
*   🧹 **Automatic NPC Cleanup**: NPCs in protected areas are automatically removed by the NPC Protection System. The system tracks processed entities to avoid duplicate processing and runs more aggressively during server startup to catch all NPCs
*   🎮 **Manual NPC Removal Command**: New `/protect removenpcs <areaname>` command allows owners and admins to manually remove all NPCs from a protected area. The command marks chunks as unspawnable to prevent respawn and provides feedback on how many NPCs were removed
*   🔧 **Improved Mob Spawn Protection**: The mob spawn protection system now works at multiple levels - chunk marking, spawn job blocking, and NPC removal - ensuring comprehensive protection against NPC spawning in protected areas
*   📋 **Better Spawn Protection Granularity**: Support for all/hostile/neutral/friendly mob spawn protection flags, with intelligent role detection to determine NPC types and apply appropriate protections