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
Runtime Crash 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
Resolved numerous NPE crashes across:
Security Fixes
- Faction chest handling
- Menus & GUIs
- Placeholder expansions
- Claim listeners
- Grace system
- Chat handling
- Mission loading
- Offline player lookups
- Various faction/player null edge cases
Major Gameplay Improvements
- Fixed /f ban and /f unban lacking proper role permission checks
- Recruits can no longer moderate faction bans
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:
Overclaim Support
- Ally/member/truce/enemy combat matrix
- Grace & shield checks
- AreaEffectCloud projectile support
- Proper combat messages
Combat-safe /f stuck
- Implemented negative-power overclaiming support
Added Missing Commands
- Players can no longer escape combat using /f stuck
Implemented:
Including:
- /f help
- /f sethome
UTF-8 / Mojibake Fixes
- Role checks
- Territory checks
- Audit logging
- Lang support
Fixed corrupted characters appearing in:
No more
- Territory action bars
- Warp countdowns
- Combat symbols
- Border messages
Storage & Performance Improvements
- §
- ✔
- âš”
Chat & Config Improvements
- Migrated several systems from direct MongoDB usage to storage-provider abstraction
- Improved SQLite compatibility
- Made faction chest saving asynchronous to reduce lag
Language Improvements
- allow-colors now defaults to true
- Added additional null safety for chat formatting
- Improved Discord webhook config parsing safety
Added missing French lang keys for:
ModernFactions is now significantly more stable, safer, and closer to a production-ready large-scale factions experience.
- Shield messages
- Home cancellation messages
- Cooldown handling
Fixed an issue where /f chest from /f menu was not working
Fixed an issue with more missing lang keys :
- now all guis items names are fully configurable and modifiable
Fixed an issue where /f help was not returning anything -> its now fully configurable
Added 2 new options :
/f home now has a configurable teleport warmup.
in the config.yml there are new keys u cna fully regenerarte that one to
YAML:\homes: warmup-time: 10 cancel-on-damage: true cancel-on-movement: true
So players will see a 10 second delay before /f home teleports them, and it cancels if they move or take damage.
For the PvP rule, this config option was added:
Code:claims: factionless-cannot-hurt-in-own-claim: true
That means a player with no faction cannot hurt someone who is standing inside their own faction claim
