/
teleportToLobby method in the Duels interface to teleport players to the lobby.DuelsPlugin with thorough null checks.hasUsableTotem method to verify if a player has a totem equipped in their main or off hand.CommandsConfig to handle unset or empty alias configurations correctly.unregisterPluginCommands in DuelsPlugin to clean up stale command entries during plugin unload.average_rating and avg_rating placeholders in PlaceholderHook.averageRating method to calculate the average rating across all kits.Teleport to handle players sleeping or inside vehicles.DuelManager to use setHealth(0) for ending matches instead of manually restoring player state, avoiding corruption risks.config.yml.SelfCooldownValidator and TargetCooldownValidator to validate duel cooldowns.User and UserData to handle cooldown timestamps and implement cooldown logic.DuelManager, RequestManager, and related classes.lang.yml with new message for players in cooldown.
Duels Optimized | Fork of Duels plugin but optimized and added feature