
The Mob
Mob Framework | YAML | Boss Phases | Radar HUD | AutoSpawn | Player Stats | 1.21.+
Список изменений
👑 TheMob v1.4 – Player Feedback & Arena Control
This update is a stability- and clarity-focused release that refines how players, arenas and the server world interact with TheMob.
v1.4 is all about predictable arena behavior, clean lifecycle handling and reliable cleanup, even across teleports, world changes and long idle times.
It turns TheMob from “works in most cases” into “behaves correctly in all cases.”
🎯 Goal
Make arenas and auto-spawn systems:
Fully state-driven World-safe Reload-safe Resistant to AFK exploits, teleport abuse and edge cases
At the same time:
Improve player feedback Reduce UI noise Ensure nothing lingers longer than intended
🚀 Core Improvements 🔥 Arena Hot / Cold State System
Arenas now operate on a true state model:
Hot → at least one player inside the arena Cold → no players inside Cold Timer → delayed cleanup after players leave
Key characteristics:
Cold timers start only after a real hot state Short leave / re-enter cycles do not reset arenas AFK standing or teleport abuse no longer causes duplication No instant despawn on brief exits
➡️ Arenas now behave fairly, predictably and exploit-safe.
⏱ Cold Timer Logic (60s by design)
When the last player leaves an active arena: A single cold timer starts
After expiration: Arena resets All auto-spawned mobs are removed Boss locks are released Spawn counters are reset
This guarantees:
✔ No stuck bosses ✔ No endless farming ✔ No duplicate spawns after return
🧹 Hybrid Arena Cleanup (Fail-Safe)
Arena cleanup is now multi-layered and defensive: UUID-based cleanup (tracked spawns) Fallback world scan using AUTO_SPAWN_ID Forced boss lock release State reset (spawn counters, timers, hot flags)
➡️ Even in edge cases (reloads, crashes, missed events), no mobs are left behind.
🧭 Cross-World & Portal Safety
Portals and world changes are now handled implicitly through arena state logic:
Leaving the arena world marks the arena as cold Cleanup occurs after the cold timer expires No special portal hooks required No accidental despawns during short teleports
➡️ World transitions are safe, predictable and abuse-resistant.
🔒 Boss Lock & Spawn Safety
Boss spawning is now fully protected by:
Centralized boss locks per arena Guaranteed lock release on: Boss death Arena cleanup Forced reset
This prevents:
❌ Duplicate bosses ❌ Overlapping boss fights ❌ Reload-related spawn issues
💀 Death & Drop Safety
Mob and boss deaths now guarantee:
Single-execution drop handling No duplicate loot No double death commands
Proper cleanup of:
BossBars Floating visuals Phase effects Drops are now idempotent and exploit-safe.
🧭 Player Feedback & HUD Stability 🧠 Clean HUD Lifecycle
HUD elements now:
Activate only when relevant Deactivate cleanly on leave / death Respect arena state Never stack or duplicate
BossBars and navigation HUDs no longer linger across:
World changes Arena exits Boss deaths
🧹 Visual Cleanup
All visuals are now fully lifecycle-bound:
Floating crowns ArmorStand heads BossBars Phase visuals
✔ No leftover ArmorStands ✔ No ghost BossBars ✔ Reload-safe visuals
🧬 Internal Architecture Improvements
Significant internal refactors were made to support long-running servers:
Clear separation between:
Arena state Spawning Boss locking Cleanup logic Reduced cross-system coupling Defensive programming against partial failures Long-session stability improvements
⚠️ Notes & Compatibility
✅ Fully backward compatible with v1.3.2 ✅ Safe update for existing worlds ✅ No config migration required ✅ No gameplay rebalance required
❌ No new mobs or bosses added ❌ No new UI elements added (stability release by design)
