
OnePVP
Functional and lightweight PVP plug for servers with Purpur/Paper technology... Maximum lightness, with immense functionality and more.
Список изменений
⚙️ Stability Update
This update focuses on modern compatibility, bug fixes, and performance improvements while preserving the original gameplay and plugin structure. No commands, configurations, or core mechanics were changed.
🐛 Bug Fixes ✅ Updated deprecated AsyncPlayerChatEvent to AsyncChatEvent (Adventure API) for modern Paper/Purpur compatibility. ✅ Replaced deprecated new URL(String) with URI.create().toURL() for Java 20+ compatibility. ✅ Migrated deprecated ActionBar API to player.sendActionBar(). ✅ Replaced deprecated Title API with the Adventure showTitle() system. ✅ Updated deprecated getMaxHealth() calls to the modern Attribute API. ✅ Fixed /clan aceitar, where clan invitations were not being stored correctly. ✅ Fixed a NullPointerException in /clan info when the clan leader was offline. ✅ Fixed a member list substring error that could cause unexpected exceptions. ⚡ Performance Improvements 🚀 SQLite now uses Write-Ahead Logging (WAL) for faster concurrent database access. 🚀 Clan saving now runs inside atomic database transactions, ensuring data consistency. 🚀 Implemented efficient UPSERT (ON CONFLICT DO UPDATE) operations. 🚀 Added database indexes for Kills, ELO, and XP, significantly improving ranking performance. 🚀 All database operations now use try-with-resources, preventing resource leaks. 🚀 KDR rankings are calculated directly in SQL instead of loading every player into memory. ✅ Preserved Features
Everything that players and server owners expect remains exactly the same:
✔ Original package and class structure. ✔ Original plugin.yml, commands, permissions, and aliases. ✔ Original config.yml with no configuration changes. ✔ Complete PvP system. ✔ Combat Tag. ✔ Clan system. ✔ Betting system. ✔ Rankings. ✔ Sentença system. ✔ OvO system. ✔ Auto-save. ✔ PlaceholderAPI support. ✔ Update Checker. 🖥 Compatibility
Fully compatible with:
✅ Purpur 26.2 (Build 2608) and newer ✅ Previous Purpur versions ✅ Modern Paper servers ✅ Java 21+
This release is primarily a maintenance and optimization update, improving stability, compatibility, and database performance while keeping the plugin's original behavior completely intact.
