禁止在 PvP 中使用飞行能力
当玩家受到其他玩家攻击时,禁用其鞘翅和 Trident(三叉戟)一段时间。

感谢大家达到 1000 次下载!
我们在 2025 年结束前实现了 1000 次下载的目标!感谢你们的支持。NFIP 开发团队祝大家新年快乐、万事如意 ?❤️
计时器工作原理:
当玩家在受到攻击后,在主手或副手中装备鞘翅或 Trident 时,对应的物品会被移除,屏幕上方操作栏会显示距离可以重新装备鞘翅或 Trident 的剩余时间。一旦计时结束,你就可以自由使用鞘翅和 Trident。但是,如果你在战斗期间断线(即退出游戏),作为惩罚,计时时间将会增加(理论上是这样,具体取决于服务器管理员的配置)。
功能特性:
- 在 PvP 期间禁用鞘翅 - ✅
- 防止通过断线逃避鞘翅限制 - ✅
- 在 PvP 期间禁用 Trident 激流附魔 - ✅
- 防止通过断线逃避 Trident 激流限制 - ✅
- 支持通过配置文件和命令进行配置 - ✅
- 兼容 1.21.x 版本 - ✅
- 让对手抓狂 - 100x ✅
命令详解:
点击我展开此部分!
命令:
/nfip_config :打开帮助菜单。
/nfip_config help :打开帮助菜单。
/nfip_config show_text :获取 show_text 的值。
/nfip_config show_text <boolean_value> :设置插件消息是否显示在客户端。这不包括计时器文本。
/nfip_config show_timer_text :获取 show_timer_text 的值。
/nfip_config show_timer_text <boolean_value> :设置计时器文本是否显示在客户端。
/nfip_config action_bar_text :获取计时结束时显示的操作栏文本。
/nfip_config action_bar_text <string_value> :设置计时结束时显示的文本。不需要引号 ('' 或 "")。
/nfip_config action_bar_colour :获取当前用于显示操作栏文本的颜色。
/nfip_config action_bar_colour named_colour :获取可用的命名颜色选项。
/nfip_config action_bar_colour named_colour <string_value> :设置用于操作栏文本的颜色。该值必须是固定的,不能是任意字符串。执行 /nfip_config action_bar_colour named_colour 或检查客户端建议以查看可用选项。不需要引号 ('' 或 "")。
/nfip_config action_bar_colour rgb <integer_or_float_value> <integer_or_float_value> <integer_or_float_value> :以 RGB 格式设置操作栏颜色。值必须在 0 到 255 之间(包含 0 和 255)。
/nfip_config hit_timer :获取击中计时器的秒数。
/nfip_config hit_timer <integer_value> :设置击中计时器的秒数。任何小于或等于 0 的值将完全禁用计时器。需要 OP 权限。
/nfip_config combat_log_timer :获取断线计时器的秒数。
/nfip_config combat_log_timer <integer_value> :设置断线计时器的秒数。任何小于或等于 0 的值将完全禁用计时器。需要 OP 权限。
/nfip_config allow_elytra_flight :获取允许鞘翅飞行的值。
/nfip_config allow_elytra_flight <boolean_value> :设置允许鞘翅飞行的值。需要 OP 权限。
/nfip_config allow_trident_riptide :获取允许 Trident 激流的值。
/nfip_config allow_trident_riptide <boolean_value> :设置允许鞘翅飞行的值。需要 OP 权限。
值说明:(注意:这些只是示例,供不了解的人参考。范围和最小/最大值可能会有所不同。)
<integer_value> :任意整数值,例如 1, 2, 3, 25 等。
<integer_or_float_value> :任意小数数值,例如 1.1, 2.2, 3.3, 25.5 等。
<boolean_value> :true 或 false 值
<string_value> :一组字母或单词,例如 e, hello, Nice to meet you!, Where is Will? 等。
发现任何错误?
一些使用条款和条件:
下载本插件即表示您自动同意我的使用条款和条件。
如果有人 fork 了我的插件仓库并添加了自己的修改,我是同意的,但必须符合我附带的许可证(Apache License 2.0)。
如果您在视频中展示/炫耀此插件,您必须在视频描述中注明我的用户名 (Stilt34) 以及此插件链接 ()。
注意:上述条款和条件是我的版权声明。不遵守这些规定将导致法律行动。
鸣谢:
非常感谢 HunterLeviathan 提供了灵感并协助处理图片。
No Flight In PVP
Disables a players Elytra and Trident for a specified amount of time when they get hit by another player (PVP).

Thank you all for 1000 downloads!!!
We've reached our goal of getting a 1000 downloads before the end of 2025! We thank you for your support. Wishing you all a very Happy and Prosporous New Year from the NFIP development team ?❤️
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?
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 () 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧