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
Bug: Not Disabling Fly when hit by other player. Running 1.6.2 (Spigot)
Hello everyone , this plugin has grown into something bigger than we thought. We will be releasing updates with bug fixes soon. I apologize for the wait but this plugin was not a priority due to the fact that we didn't know it would grow into something this awesome :) I thank every one for the support they have given.
Can we have an option to disable fishing rod when flying too? My players are fishing players from the sky and ultimately killing them by falling from high place. :(
@ShadowOfBlood
SAME here.
It keeps telling me there's an update available when I have the latest version installed. =/
@speeddemon92
I know this is getting a bit outside of the range of this plugin, but it is just a usefull all around feature.
Could you add a permission that defaults to true that toggles a player's ability to PvP other players? There are other plugins that do this I know, but then you have to have two plugins that have many of the exact same features operating at the same time. This plugin already has a system that blocks potion usage and all the other kinds of pvp other than punching, so adding a permission to disable that for a player at all times shouldnt bring too much overhead. I dont need it to be that other players cant attack players without this permission, just that people who dont have the permission cant attack.
Update v1.1.3 Has Been Submitted
The update has been submitted for approval and should pass sometime soon. Keep checking back to see when its available!
@speeddemon92
sounds good.
@gustebeast
I've been busy with work and minecraft hosting but i have been working on an update that i hope to release in the next couple days. It wont be alot just some bug fixes until I can get the rest sorted out
Any news on when this plugin will be updated?
Speeddemon92 is currently aware of the bugs in NoFlyPvp, he's working on getting a fix for 1.5.x, please be patient.
I pinned down exactly what is causing this error.
[SEVERE] Could not pass event EntityDamageByEntityEvent to NoFlyPvp v1.1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at net.minecraft.server.v1_5_R1.Explosion.a(Explosion.java:167) at net.minecraft.server.v1_5_R1.World.createExplosion(World.java:1732) at net.minecraft.server.v1_5_R1.WorldServer.createExplosion(WorldServer.java:849) at net.minecraft.server.v1_5_R1.EntityCreeper.l_(EntityCreeper.java:102) at net.minecraft.server.v1_5_R1.World.entityJoinedWorld(World.java:1455) at net.minecraft.server.v1_5_R1.WorldServer.entityJoinedWorld(WorldServer.java:629) at net.minecraft.server.v1_5_R1.World.playerJoinedWorld(World.java:1431) at net.minecraft.server.v1_5_R1.World.tickEntities(World.java:1303) at net.minecraft.server.v1_5_R1.WorldServer.tickEntities(WorldServer.java:495) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:561) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:403) at com.trifractalstudios.bukkit.noflypvp.EListener.onEntityDamage(EListener.java:90) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 18 more [SEVERE] Could not pass event EntityDamageByEntityEvent to NoFlyPvp v1.1.2 at org.bukkit.craftbukkit.v1_5_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:84) at org.bukkit.craftbukkit.v1_5_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:372) at org.bukkit.craftbukkit.v1_5_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:394) at net.minecraft.server.v1_5_R1.EntityLiving.damageEntity(EntityLiving.java:697) at net.minecraft.server.v1_5_R1.EntityHuman.damageEntity(EntityHuman.java:685) at net.minecraft.server.v1_5_R1.EntityPlayer.damageEntity(EntityPlayer.java:352) at net.minecraft.server.v1_5_R1.Explosion.a(Explosion.java:171) ... 24 more
I ran a test server with this plugin and essentials. Thats it. Here is how I caused this error. I enter survival mode, then enter essentials fly mode. Then I blow up a creeper. When the creeper explodes it throws this error.
This plugin works just fine as of the latest dev build for 1.5!
@ThePlayingNoob
"every day there come new" "1.4.7 work good"
"every day there come new" "1.4.7 work good"
@dup9let
He cant, there is only dev builds and every day there come new. EDIT: 1.4.7 work good with 1.5
Please give me it for 1.5 Version1 :P
HotFix Update v1.1.2 Has Been Submitted
Check periodically for the update to appear for download. IF it does not appear because of rejection I will edit this.
NOTE this is ONLY a hotfix for both of the errors that have/possibly will happen due to my oversight. v1.2.0 is still underway. Also note this SHOULD work with the 1.5 servers but not 100% sure as i have not had time to verify this. If it does not for any reason I will release another hotfix to support it.
@gustebeast
Everything doesnt need to be usefully in a plugin. Some people dont want players to pickup items while flying and if you dont like that then ask owner for Source Code to remove that features, if that make you happy.
@STORMINNORMAN800
thats a great idea, but what if a admin is in creative mode?
Player: sup admin admin: im building in creative mode player: nice! (tpa the admin) (admin accept tpa) player: nice building you got (jump up and punch the admin and admin lose his creative mode) (player kill the admin) Admin: *rage*
maybe a ignore permission for staff?
Great work man keep it up. Also i do have a suggest-gen for ya could you add a creative Pvp control. I want it so if a survival player PvP's a creative player it would automatically switch the player to survival-mode like (DiveBomb). If this is possible?
Thanks man. :)