
OnePVP
Functional and lightweight PVP plug for servers with Purpur/Paper technology... Maximum lightness, with immense functionality and more.
Список изменений
🔥 OnePVP — Stability & Critical Bug Fix Update
This update focuses on clan stability, alliance persistence, database reliability, combat fairness, and ELO accuracy. Several critical issues were identified and fixed, ensuring that clan relationships, PvP systems, rankings, and player data now work exactly as intended.
🐛 Critical Bugs Fixed 🏰 Clan Loading System Fixed
A major issue was found in the clan relationship loading process.
Previously, the plugin attempted to convert clan names into UUIDs during startup, causing loading failures and generic database errors.
Fixed: Clan relationships now load correctly using clan names. No unnecessary UUID conversions. Eliminated startup errors related to clan loading. 🤝 Alliances & Enemies Now Persist Correctly
A critical database issue prevented clan alliances and enemy relationships from being saved.
Fixed: Alliance relationships are now stored permanently. Enemy relationships are now stored permanently. Data survives server restarts. Automatic synchronization between memory and SQLite storage. ⚔️ Clan Alliance Recognition Fixed
Another issue prevented allied clans from being recognized during gameplay.
Previously, the system compared clan leader UUIDs instead of clan names, making alliances effectively useless.
Fixed: Alliance detection completely rewritten. Friendly clans are now recognized correctly. Clan wars and alliance mechanics function properly. Friendly-fire and relationship checks behave as expected. 🏷️ Clan Relationship Storage Reworked
The clan data structure has been improved.
Changes: Relationships now use clan names instead of player UUIDs. Added case-insensitive comparison support. Faster lookups and cleaner data handling. More reliable clan management overall. 🗄️ SQLite Reliability Improvements Database Connection Protection
Previously, if SQLite failed to connect during startup, several plugin systems could throw NullPointerExceptions.
Fixed: Connection validation added throughout the storage layer. Safe fallbacks when the database is unavailable. Improved startup reliability. Resource Leak Fixes
The SQLite initialization process contained unclosed statements and could leave the database in an inconsistent state after failures.
Fixed: Proper try-with-resources implementation. Automatic cleanup of database resources. Safe WAL initialization. Automatic creation of missing plugin directories. 👤 Player Data Safety Improvements Cache Save Protection
A potential edge case existed where player data could be removed from memory before asynchronous saving completed.
Fixed: Cache cleanup now occurs only after save operations finish. Improved data consistency. Reduced risk of unsaved player information. ⚔️ PvP & ELO Fixes ELO Loss from Environmental Deaths Fixed
One of the most important PvP fixes in this update.
Previously, players could lose ELO even when dying to:
Fall damage Lava Fire Drowning Environmental hazards Fixed: ELO is only modified when killed by another player. No unfair ELO penalties from environmental deaths. Rankings remain accurate and competitive. Betting System Validation Improved
The betting system could process victories incorrectly under certain circumstances.
Fixed: Victory processing now validates active bets. Additional killer verification checks. Self-kills are ignored. Improved duel integrity. Combat Logout Detection Fixed
A bug caused players to be punished for combat logging even after their combat tag had already expired.
Fixed: Punishments now occur only while combat tag is still active. Expired combat tags no longer trigger penalties. More accurate combat detection. ⚡ Technical Improvements SQLite Storage Improved database validation. Better startup protection. Cleaner transaction handling. Improved resource management. Clan System New relationship architecture. Persistent alliances and enemies. Faster clan lookups. Improved battle recognition. PvP System Accurate ELO calculations. Better combat validation. Fairer ranking system. Improved duel handling. Player Management Safer asynchronous saving. Better cache synchronization. Reduced risk of data loss. 📊 Update Summary Fixed Issues
✅ Clan loading failures ✅ Alliance persistence bugs ✅ Enemy persistence bugs ✅ Alliance recognition problems ✅ Database connection crashes ✅ SQLite resource leaks ✅ Player cache save risks ✅ Environmental ELO loss ✅ Incorrect combat logout punishment
Result
This update delivers a significantly more stable version of OnePVP, with reliable clan relationships, accurate ELO calculations, safer SQLite handling, improved player-data integrity, and a much fairer PvP experience for competitive servers. 🚀
