NoFlyPvp
Have players with flying on your PVP enable server? Tired of complaints of players cheating by using flying to keep from being attacked?
With NoFlyPvp not only can you block players with flying enabled from attacking other players without flying, but you can also block that player from using bows and potions giving an unfair advantage! Another feature is that if a player has flying on they are required to turn fly off to attack back or optionally their opponent can enable fly to have a fair fight while flying!
Inspiration
This plugin was actually inspired by SwiftSwamp of DeadWood Entertainment Both SwiftSwamp and myself actually run an 7 Server HUD together and needed something for the PVP enabled servers to prevent cheating by flying
Commands
At This Time There Is Only One Command
- /noflypvp reload
- Alias: /nfp reload
Permissions
# Grants Access To Admin And Exemptions noflypvp.* # Grants Access To Config Reload And Update Notification noflypvp.admin # Grants All Block Exemptions noflypvp.exempt.* # Grants Exemption For Breaking Blocks While Flying noflypvp.exempt.blockbreak # Grants Exemption For Placing Blocks While Flying noflypvp.exempt.blockplace # Grants Exemption For Shooting Mobs With A Bow While Flying noflypvp.exempt.bowdamagemob # Grants Exemption For Shooting Players With A Bow While Flying noflypvp.exempt.bowdamageplayer # Grants Exemption For Shooting A Bow While Flying noflypvp.exempt.bowfire # Grants Exemption For Emptying Buckets While Flying noflypvp.exempt.bucketempty # Grants Exemption For Filling Buckets While Flying noflypvp.exempt.bucketfill # Grants Exemption For Dropping When Damaged While Flying noflypvp.exempt.divebomb # Grants Exemption For Picking Up Items While Flying noflypvp.exempt.pickupitem # Grants Exemption For Using Potions While Flying noflypvp.exempt.potions # Grants Exemption For Attacking Players While Flying noflypvp.exempt.pvp
Configuration
Configuration Files HAS Changed. However If you are using an older version it will auto update to the new config
settings: # Seconds To Wait Before The Same Message Is Sent To A Player msgtimeout: 5 # Allows The Plugin To Check For New Versions And Notify Players updatecheck: true # Sends A Message To Admins Of A New Version notifyadmins: true block: # Block PVP While Flying pvp: true # Block Potions While Flying potions: true # Block Shooting A Bow While Flying (Overrides Player/Mob Bow Damage) bowfire: true # Block Shooting A Player With A Bow While Flying bowdamageplayer: false # Block Shooting A Mob With A Bow While Flying bowdamagemob: false # Block Breaking Blocks While Flying blockbreak: true # Block Placing Blocks While Flying blockplace: true # Block Emptying Buckets While Flying bucketempty: true # Block Filling Buckets While Flying bucketfill: true # Block Picking Up Items While Flying pickupitem: true pvp: # Turn Off Fly When Hit By A Player (Aka DiveBomb) disableflyonhit: false # Minimum Health To Leave A Player Whose Fly Was Turned Off fallminhealth: 1 # Mobs That Deal Damage To A Player Turn Off Their Fly mobdisablefly: false messages: # Messages Sent To Player # Warning Messages Are An Alert Of What They Are Not Allowed To Do # Disable Messages Are To Tell The Player They Must Disable Flying # To Continue What They Want To Do # If A Message Is Set To '' That Message Will Be Ignored And Not Sent pvp: warning: '&cYou Are Not Allowed To PVP While Fly Is Enabled' disable: '&cYou Must Disable Flying Or Your Opponent Must Enable Flying To Continue' potion: warning: '&cYou Are Not Allowed To Use Potions While Flying Is Enabled' disable: '&cYou Must Disable Flying To Use Potions Again' bowfire: warning: '&cYou Are Not Allowed To Shoot Bows While Flying Is Enabled' disable: '&cYou Must Disable Flying To Shoot Bows Again' bowdamageplayer: warning: '&cYou Are Not Allowed To Shoot Bows At Players While Flying Is Enabled' disable: '&cYou Must Disable Flying To Attack With Bows Again' bowdamagemob: warning: '&cYou Are Not Allowed To Shoot Bows At Mobs While Flying Is Enabled' disable: '&cYou Must Disable Flying To Attack With Bows Again' blockbreak: warning: '&cYou Are Not Allowed To Break Blocks While Flying Is Enabled' disable: '&cYou Must Disable Flying To Break Blocks Again' blockplace: warning: '&cYou Are Not Allowed To Place Blocks While Flying Is Enabled' disable: '&cYou Must Disable Flying To Place Blocks Again' bucketempty: warning: '&cYou Are Not Allowed To Empty Buckets While Flying Is Enabled' disable: '&cYou Must Disable Flying To Empty Buckets Again' bucketfill: warning: '&cYou Are Not Allowed To Fill Buckets While Flying Is Enabled' disable: '&cYou Must Disable Flying To Fill Buckets Again' pickupitem: warning: '&cYou Are Not Allowed To Pick Up Items While Flying Is Enabled' disable: '&cYou Must Disable Flying To Pick Up Items Again' divebomb: warning: '&4MAYDAY. MAYDAY. MAYDAY. You Are Going Down!!!!'
Proposed Update Features
- Ability To Block Flying In Certain Regions For Factions/WorldGuard
Will there be update for 1.9 ? As for now, bow shot while flying is canceled, but you still can fight people with sword and fly.
I hate to critique others plugins, but...
"updateCheck.cancel();" It does nothing.
Also in your onPlayerJoin Event, You are using a color code incorrectly.
Just thought you should know.
Can you update this and include NoDamageMob whilst flying? Same as with the bow but with a sword etc?
Please update to 1.8.7!
Damn still works!
Is it possible to make the player, or the console execute a command when an action is performed? It would be a really useful feature.
@SwiftSwamp
Please, can you fix that players in fly can hit each other? Thanks. Awesome plugin.
Another feature for next release. Option to disable fly mode completely instead of just stopping flight. Currently a person in fly mode can swoop down, land, hit, then quickly take off. Ideally they wouldnt be able to pvp while in fly mode, even if they are on the ground.
It works perfectly with the 1.7
Will this be updated for 1.7? Does it work fine?
Any chance of adding a way to block people in god mode to pvp, or take their god mode if attacked by player?
would it be possible to add a way to disable the command /fly for X amount of seconds upon being hit?
Hi SwiftSwamp, I would really appricate an update, thanks!
I would really appreciate an update to this plugin. It doesn't appear to disable flying if the user who gets hit already has /fly enabled.
For example, Player A is on the ground (but has /fly enabled) and gets hit by Player B who already had /fly disabled, Player A can then double tap space bar and fly away. The plugin does correctly disable the user from typing /fly to enable flying but if they already have it enabled the plugin does nothing.
This is a great plugin that is very very useful and I would be seriously grateful for an update to it.
@SwiftSwamp
Please update it, It's been bugging me for forever.
@SwiftSwamp
Sounds awesome, if it could detect WG pvp flag, what would be amazing, and a huge help to stop Fly Pvp
I've been very busy recently and so is Speed. When I get time within the next few days I'll be adding Factions and WorldGaurd support along with some of the bug fixes below.
@SwiftSwamp
So are going to update this plugin or what? I have been seeing the update notification on server for over a month...
Update maybe? getting notification of update when its the same...?
1.6.2!!
Also, got this crash report. http://pastebin.com/ZwYdBv6B