PVP Flight
Ever ran a pvp server and given your donators permission to fly but don't want them to fly in pvp?

PVP Flight
With PVP Flight, as soon as a player in mid-flight gets hit they lose their flight.
Works well with Simple Flight! Simple Flight
Example
1. There are two players in your pvp arena. Player 1 has donated to your server for fly permissions and he is abusing flight against the other player.
If Player 1 hits Player 2, Player 1 will lose flight. If Player 2 hits Player 1, player 1 loses flight.
2. There are two players in your pvp arena. Player 1 has donated to your server for creative permissions and he is abusing flight against the other player. If Player 1 hits Player 2, Player 1 will lose creative. If Player 2 hits Player 1, player 1 loses creative.
Commands
/pvpflight - Checks if player loses flight.
/pvpflight inmelee - Checks if player loses flight from incoming melee damage.
/pvpflight outmelee - Checks if player loses flight from outgoing melee damage.
/pvpflight inproj - Checks if player loses flight from incoming projectile damage.
/pvpflight outproj - Checks if player loses flight from outgoing projectile damage.
/updatepvpflight - Will automatically download the latest version of PVP Flight (v2.1+)
Permissions
pvpflight.bypass.inmelee - Players with this permission node will not lose flight from incoming melee damage.
pvpflight.bypass.outmelee - Players with this permission node will not lose flight from outgoing melee damage.
pvpflight.bypass.inproj - Players with this permission node will not lose flight from incoming projectile damage.
pvpflight.bypass.outproj - Players with this permission node will not lose flight from outgoing projectile damage.
pvpflight.bypass.creative.inmelee - Players with this permission node will not lose creative from incoming melee damage.
pvpflight.bypass.creative.outmelee - Players with this permission node will not lose creative from outgoing melee damage.
pvpflight.bypass.creative.inproj - Players with this permission node will not lose creative from incoming projectile damage.
pvpflight.bypass.creative.outproj - Players with this permission node will not lose creative from outgoing projectile damage.
pvpflight.check - Players with this permission node will be able to check if they lose flight or not.
Configuration
Currently there are only 2 fields you can edit.
disable-flight-pvp: true - If true, players will lose flight in pvp if they don't have permissions. If false, no one will lose flight in pvp.
disable-creative-pvp: true - If true, players will lose creative in pvp if they don't have permissions. If false, no one will lose creative in pvp.
Future Plans
- MAYBE: Disable fall damage when flight is disabled.
- Create a ticket for any suggestions!
Donations
Donate and get your server/username listed below. Contact me after donating.
slimes.theaetherserver.com - The official PVP Flight server
-
View User Profile
-
Send Message
Posted May 4, 2013@Rilekt
I'm fairly sure nothing has changed and it still works.
Nonetheless, I will release a version using the 1.5.2 build later today.
-
View User Profile
-
Send Message
Posted May 4, 2013Please update to 1.5.2 =)
-
View User Profile
-
Send Message
Posted May 3, 2013@Rilekt
2013-05-01 10:16:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to PVP Flight v1.7 org.bukkit.event.EventException
Says you are still using PVP Flight v1.7... Even when there was 2 versions after this.
-
View User Profile
-
Send Message
Posted May 3, 2013When I install plugin, i have errors in console:
2013-05-01 10:16:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to PVP Flight v1.7 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.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:88) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:376) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:401) at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:677) at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:684) at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:347) at net.minecraft.server.v1_5_R2.EntityHuman.attack(EntityHuman.java:874) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1102) at net.minecraft.server.v1_5_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.entity.CraftPlayer cannot be cast to org.bukkit.entity.Projectile at com.theaetherserver.pvpflight.Main.projectiles(Main.java:101) at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 21 more
I have the latest version
-
View User Profile
-
Send Message
Posted May 2, 2013@Rilekt
Care to elaborate? I haven't had time to test the latest version yet.
-
View User Profile
-
Send Message
Posted May 2, 2013Not working....
-
View User Profile
-
Send Message
Posted May 1, 2013@Rilekt
I clearly state to make a ticket if there are issues.
I'm waiting for the bukkit staff to approve the latest version.
-
View User Profile
-
Send Message
Posted May 1, 20132013-05-01 10:16:42 [SEVERE] Could not pass event EntityDamageByEntityEvent to PVP Flight v1.7 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.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:88) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:376) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:401) at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:677) at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:684) at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:347) at net.minecraft.server.v1_5_R2.EntityHuman.attack(EntityHuman.java:874) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1102) at net.minecraft.server.v1_5_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.entity.CraftPlayer cannot be cast to org.bukkit.entity.Projectile at com.theaetherserver.pvpflight.Main.projectiles(Main.java:101) at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 21 more
PLEASE REPAIR IT !
-
View User Profile
-
Send Message
Posted Apr 27, 2013@xicheekx
Please submit a ticket.
-
View User Profile
-
Send Message
Posted Apr 27, 2013I am getting errors every time someone gets hit.
Is that suppose to happen?
27.04 02:17:10 [Server] INFO at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:694) 27.04 02:17:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:396) 27.04 02:17:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:372) 27.04 02:17:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:84) 27.04 02:17:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 27.04 02:17:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 27.04 02:17:10 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 27.04 02:17:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 27.04 02:17:10 [Server] INFO org.bukkit.event.EventException 27.04 02:17:10 [Server] SEVERE Could not pass event EntityDamageByEntityEvent to PVP Flight v1.8 27.04 02:17:09 [Server] INFO ... 21 more 27.04 02:17:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 27.04 02:17:09 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 27.04 02:17:09 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 27.04 02:17:09 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
-
View User Profile
-
Send Message
Posted Apr 24, 2013@dscm
I've fixed the error in the next update. Just waiting for the files to be approved.
-
View User Profile
-
Send Message
Posted Apr 24, 2013I'm getting this error (Bukkit 1.5.1 R0.2):
25.04 12:51:22 [Server] SEVERE Could not pass event EntityDamageByEntityEvent to PVP Flight v1.7
-
View User Profile
-
Send Message
Posted Apr 24, 2013@PinkSlime
Sweet, cus I got that error too :S
-
View User Profile
-
Send Message
Posted Apr 23, 2013@jesse131
It looks like an issue with Spigot. Until now I hadn't heard of Spigot so I posted on their forums asking if it was their problem.
EDIT: Turns out I forgot to add a check to see if the player wasn't an arrow. I'll be releasing a new version with a few added commands and permissions in the near future.
-
View User Profile
-
Send Message
Posted Apr 23, 2013Could you make this compatible with Spigot? I'm getting errors when a Player hits another Player, but it still works though.
Error:
2013-04-23 14:47:49 [SEVERE] Could not pass event EntityDamageByEntityEvent to PVP Flight v1.7 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:39) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:88) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:376) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:401) at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:681) at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:686) at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:348) at net.minecraft.server.v1_5_R2.EntityHuman.attack(EntityHuman.java:876) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1119) at net.minecraft.server.v1_5_R2.Packet7UseEntity.handle(SourceFile:36) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:186) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:223) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R2.entity.CraftPlayer cannot be cast to org.bukkit.entity.Projectile at com.theaetherserver.pvpflight.Main.projectiles(Main.java:101) at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 22 more
Using Version 1.7 on Spigot v. #735
-
View User Profile
-
Send Message
Posted Apr 22, 2013@Pixiyo
The original intention of this plugin was to punish people abusing flight in pvp. If a player flies to a certain height, no matter where he loses his flight at, he'll take the fall damage from the highest height he was at (unless he was on ground level).
I do not add any features to make the player take more damage, nor is this a bug. Therefore, I will not "fix" this because there was no problem.
I will however, think about stopping fall damage IF a player has certain permissions.
-
View User Profile
-
Send Message
Posted Apr 22, 2013@PinkSlime
MAYBE: Disable fall damage when flight is disabled.
If you fix this i will use this plugin ;o
-
View User Profile
-
Send Message
Posted Apr 21, 2013@SimplyNolan
I'm sorry, I don't understand what you want me to do?
You may have misunderstood what this plugin does. It removes flight from players who engage in pvp (player vs player).
There are no commands associated with the plugin and I don't intend to add any because it isn't necessary.
-
View User Profile
-
Send Message
Posted Apr 20, 2013Can you make it a config file and you list the commands you want them to lose? for instance magic carpet?
-
View User Profile
-
Send Message
Posted Apr 20, 2013I remembered my account just to say this. You are on a freaking roll today... :)