No Flight In PVP
A Paper and Purpur plugin that temporarily disables a player's elytra and riptide trident when hit during PvP combat.

How No Flight In PVP Affects Elytra and Tridents
No Flight In PVP temporarily blocks players from using an Elytra or a Riptide Trident after taking damage from another player. If a player tries to wear an Elytra or hold a Trident in either hand while under this combat restriction, the item is unequipped automatically. An on-screen action bar displays the remaining cooldown time before flight and Trident mobility are restored.
Logging out during an active fight triggers a combat log penalty that modifies the restriction timer. Depending on how the server administrator configures the settings, disconnecting mid-combat can extend the cooldown duration as a punishment. This mechanic prevents players from escaping player-versus-player encounters by flying away or disconnecting.
In-Game Configuration and Commands
Server administrators and players can adjust or view settings using the /nfip_config command or through the configuration file. Running the base command or adding the help argument displays the full help menu in the chat. While general text visibility and action bar styling can be customized, changing core gameplay timers and flight permissions requires operator (OP) status.
- Use /nfip_config show_text or /nfip_config show_timer_text to check or toggle whether client-side messages and timer notifications appear.
- Use /nfip_config action_bar_text without quotation marks to view or change the message displayed when a combat timer finishes.
- Use /nfip_config action_bar_colour with named_colour or rgb (using values from 0 to 255) to inspect or modify the colour of the action bar text.
- Use /nfip_config hit_timer and /nfip_config combat_log_timer (requires OP) to check or set the cooldown durations in seconds; entering 0 or less disables the respective timer.
- Use /nfip_config allow_elytra_flight and /nfip_config allow_trident_riptide (requires OP) to view or toggle whether these movement methods are permitted.
Server Compatibility
This project is built for Minecraft Java Edition and supports Paper and Purpur server software. It offers full compatibility with Minecraft 1.21.x servers for managing aerial and Riptide movement during combat.
Questions
What happens if I equip an Elytra right after another player hits me?
The Elytra is automatically unequipped from your slot, and an action bar message shows how much time is left before you can wear it again.
How can a server operator disable the hit timer or combat log timer?
An operator can run /nfip_config hit_timer or /nfip_config combat_log_timer with a value of 0 or less to turn the timer off completely.
Does this project block Tridents in both hands during PVP?
Yes, equipping a Trident in either the main hand or the off hand is blocked while the PVP timer is active.
What happens if a player logs out during a PVP fight?
A separate combat log timer is applied, which server owners can configure to increase the wait time before the player can use their Elytra or Trident again.
Related

Allows players gliding with an elytra to drop primed TNT below them using an igniter.

A server-side Fabric mod that adds hang gliders as an early-game alternative to the Elytra.

A datapack and plugin that replaces End Ship item frames with Vault blocks so multiple players can obtain an Elytra.

Renders player hitboxes only when they are gliding with an elytra to assist in PvP.

Provides hotkeys and automatic swapping between elytra and chestplate, plus automatic firework equipping to the offhand while gliding.

A Bedrock addon that spawns an AI PvP opponent capable of mace and elytra combat.
A Fabric mod that lets players drop primed TNT or falling anvils while flying with an elytra.

Allows spears enchanted with Lunge to be used while gliding with an elytra.