⚔️ ModernFactions — Massive Stability & Core Systems Update
This update focuses heavily on stability, storage compatibility, combat systems, relation syncing, and protection mechanics.
Over 60+ fixes were applied across 40+ files to improve reliability, prevent corruption, and complete unfinished systems.
Critical Fixes
- Fixed /f forcejoin corrupting faction memberships by saving UUIDs instead of faction tags
- Fixed faction creators not receiving the LEADER role after creating a faction
- Fixed faction relation desyncs (enemy/truce/neutral now properly sync on both factions)
- Fixed warp cooldowns resetting after relog due to missing database save
- Fixed SQLite Gson serialization issues with Bukkit Locations
- Fixed member permission overrides silently failing on SQLite
Runtime Crash Fixes
Resolved numerous NPE crashes across:
- Faction chest handling
- Menus & GUIs
- Placeholder expansions
- Claim listeners
- Grace system
- Chat handling
- Mission loading
- Offline player lookups
- Various faction/player null edge cases
Security Fixes
- Fixed /f ban and /f unban lacking proper role permission checks
- Recruits can no longer moderate faction bans
Major Gameplay Improvements
Explosion & TNT Protection
The old explosion listener was an empty stub.
Now fully supports:
- Grace period protection
- Shield protection
- Claim TNT handling
- Config-based explosion protection
⚔️ Combat System Rewrite
Completely rebuilt PvP handling:
- Ally/member/truce/enemy combat matrix
- Grace & shield checks
- AreaEffectCloud projectile support
- Proper combat messages
Overclaim Support
- Implemented negative-power overclaiming support
Combat-safe /f stuck
- Players can no longer escape combat using /f stuck
Added Missing Commands
Implemented:
Including:
- Role checks
- Territory checks
- Audit logging
- Lang support
UTF-8 / Mojibake Fixes
Fixed corrupted characters appearing in:
- Territory action bars
- Warp countdowns
- Combat symbols
- Border messages
No more
Storage & Performance Improvements
- Migrated several systems from direct MongoDB usage to storage-provider abstraction
- Improved SQLite compatibility
- Made faction chest saving asynchronous to reduce lag
Chat & Config Improvements
- allow-colors now defaults to true
- Added additional null safety for chat formatting
- Improved Discord webhook config parsing safety
Language Improvements
Added missing French lang keys for:
- Shield messages
- Home cancellation messages
- Cooldown handling
ModernFactions is now significantly more stable, safer, and closer to a production-ready large-scale factions experience.