Very simple server-sided Fabric mod that disables elytra gliding during combat.
Players who are in combat and attempting to glide will receive a message stating when they can use their elytra next.
The duration in which elytra are disabled can be changed in "config/noelytracombat.json", and the duration is measured in seconds.