Compatibility
Minecraft: Java Edition
Platforms
Details
No Flight In PVP
Disables a players Elytra and Trident for a specified amount of time when they get hit by another player (PVP).

How the timer works :
When an Elytra is equipped or Trident is equipped in main hand or off hand after getting hit by a player, it/both is/are removed and an action bar will tell you the time left before you can equip your Elytra or Trident. Once the timer ends, you can use your Elytra and Trident freely. But, if you combat log i.e. logout during a fight, then the timer will be increased as punishment (Well... ideally it should be increased but it depends how server owner's configure it).
Features :
- Disable Elytra during PVP - ✅
- Prevent Elytra combat log - ✅
- Disable Trident Riptide during PVP - ✅
- Prevent Trident Riptide log - ✅
- Configuration options using config file and commands - ✅
- Compatibility with 1.21.x - ✅
- Frustate runners - 100x ✅
Commands in-depth :
Click me to reveal this section!
Commands :
/nfip_config : opens the help menu.
/nfip_config help : opens the help menu.
/nfip_config show_text : gives the value of show text.
/nfip_config show_text <boolean_value> : sets whether plugin messages will show client-side. This does not include timer text.
/nfip_config show_timer_text : gives the value of show timer text.
/nfip_config show_timer_text <boolean_value> : sets wether timer text will show client-side.
/nfip_config action_bar_text : gives the text which will be displayed when timer ends.
/nfip_config action_bar_text <string_value> : sets the text to be displayed when timer ends. No qoutation marks ('' or "") required.
/nfip_config action_bar_colour : gives the colour which is currently being used to display text in the action bar.
/nfip_config action_bar_colour named_colour : gives the available named colour options.
/nfip_config action_bar_colour named_colour <string_value> : sets the colour which is to be used for action bar text. This value is fixed and cannot be any string. Execute /nfip_config action_bar_colour named_colour or check client suggestions to see available options. No qoutation marks ('' or "") required.
/nfip_config action_bar_colour rgb <integer_or_float_value> <integer_or_float_value> <integer_or_float_value> : sets the colour of the action bar in rgb. Values must be in between 0 and 255 including both 0 and 255.
/nfip_config hit_timer : gives the value of hit timer in seconds.
/nfip_config hit_timer <integer_value> : sets the value of hit timer in seconds. Any value equal to or less than 0 disables the timer entirely. Requires OP permission.
/nfip_config combat_log_timer : gives the value of combat log timer in seconds.
/nfip_config combat_log_timer <integer_value> : sets the value of combat log timer in seconds. Any value equal to or less than 0 disables the timer entirely. Requires OP permission.
/nfip_config allow_elytra_flight : gives the value of allow elytra flight.
/nfip_config allow_elytra_flight <boolean_value> : sets the value of allow elytra flight. Requires OP permission.
/nfip_config allow_trident_riptide : gives the value of allow trident riptide.
/nfip_config allow_trident_riptide <boolean_value> : sets the value of allow elytra flight. Requires OP permission.
Values : (Note : These are just examples for people who dont know. Ranges and minimum/maximum values may vary.)
<integer_value> : any integer value for e.g. 1, 2, 3, 25 etc.
<integer_or_float_value> : any decimal value for e.g. 1.1, 2.2, 3.3, 25.5 etc.
<boolean_value> : true or false value
<string_value> : A set of letters or words for e.g. e, hello, Nice to meet you!, Where is Will? etc.
Found any bug?
- Either Join our Discord Server and report the issue in the forum channel.
- Or report it by creating a new github issue.
Some Terms and Conditions of use:
By downloading the plugin you are automatically agreeing to my Terms and Conditions of use.
I am okay if anyone forks my plugins repositories and add's their own modifications, but it should be according to the license I have attached (Apache License 2.0).
If you are demonstrating/showing off this plugin in a video you have to give credit to me by putting my username (Stilt34) and this plugin link (https://modrinth.com/plugin/no-flight-in-pvp/) in the description of the video.
Note : The above Terms and Conditions are my copyright statements. NOT FOLLOWING THEM WILL RESULT IN LEGAL ACTION.
Credits :
Huge thanks to HunterLeviathan for giving me the idea and helping with the images.




