
Duels Optimised
Duels Optimized | Fork of Duels plugin but optimized and added feature
68.4K
106
Нет описания изменений
- Added party size validation before joining a queue to prevent oversized parties.
- Refactored queue matching to support party-safe group formation.
- Introduced new utility methods (
buildUnits,buildGroup, andflattenUnits) for improved queue organization and matching. - Removed block drops and streamlining in
ArenaImplto clean up dropped items during matches. - Updated language files with error messages for party size limits (
party-too-large).
Fix reload issue in v7.0
- Introduced a new
teleportToLobbymethod in theDuelsinterface to teleport players to the lobby. - Implemented the method in
DuelsPluginwith thorough null checks. - Introduced
hasUsableTotemmethod to verify if a player has a totem equipped in their main or off hand. - Updated round-ending logic to account for potential totem protection against lethal damage.
- Updated
CommandsConfigto handle unset or empty alias configurations correctly. - Added
unregisterPluginCommandsinDuelsPluginto clean up stale command entries during plugin unload. - Introduced
average_ratingandavg_ratingplaceholders inPlaceholderHook. - Implemented
averageRatingmethod to calculate the average rating across all kits. - Prevent cursor-held items from being included in death drops during duels
- Added checks in
Teleportto handle players sleeping or inside vehicles. - Adjusted
DuelManagerto usesetHealth(0)for ending matches instead of manually restoring player state, avoiding corruption risks. - Introduced duel cooldown configuration in
config.yml. - Added
SelfCooldownValidatorandTargetCooldownValidatorto validate duel cooldowns. - Updated
UserandUserDatato handle cooldown timestamps and implement cooldown logic. - Integrated cooldown checks and enforcement in
DuelManager,RequestManager, and related classes. - Updated
lang.ymlwith new message for players in cooldown.
- Introduced a new
- Added support for configurable button types, slots, and glow effects in
config.yml. - Refactored button constructors to utilize new configuration options for button types and data.
- Introduced glowing button support with hidden enchantments.
- Added support for configurable button types, slots, and glow effects in
- Improve queue matching logic by skipping unnecessary attempts when no arenas are available.
- Update
KitEditListenerto prevent stack splitting during kit editing.
Fixed startup errors where plugin was saying to contact author due to bad relocation of folialib.
Fixed inventory loss bug
Betting fixed
Fixed async warning
Fixed updater downloading v5.4 again and again
Fixed custom potions
Enhancement of n v n queue system and team handling.
- Fixed players able to hit each other on same team
- Fixed harmful potions getting applied to teammate
- Fixed explosions damaging teammate
Updated url that checks for updates. Update to this version is recommended if you dont want console spams.
- Added minimessages support
- Added Kit Editor
- Added infinite versus possibilities in queues i.e 2v2, 3v3, 4v4.....NvN
- Added queue names (queue now require names)
- Now queue placeholders only need queue name instead of kit names
- Fixed some warnings
Fix leaking vanished players, better handling for players on tie, updated dependencies
1
...Совместимость
Сведения
Лицензия:
Опубликован:2 года назад
Обновлён:2 часа назад
ID проекта:
