
Duels Optimised
Duels Optimized | Fork of Duels plugin but optimized and added feature
58.5K
91
Список изменений
- 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.
Файлы
Duels-Optimised-7.0.jar(3.96 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
7.0
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.18–26.1.2
Загрузок
1.4K
Дата публикации
5 дн. назад
