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
@1994timmeh
No Prob! And I try to make my plugins unique. Like even in nearly 2 years since i first made my other plugin GroupBlacklist, no one has remotely made a clone :)
Also I am currently working on getting the blocker for bows damaging mobs working. Once its done I'll upload it and it should show up sometime today. I also have added other requested features that wouldn't take a while to implement such as:
@speeddemon92
Thanks so much!! Can't wait to see that implemented! you seem to be the only plugin that covers that!
@1994timmeh
I'm actually working on adding that at the moment.
@ThePlayingNoob
I'm working on some of those actually. Some I wont have time to implement yet but i'll at least see what it will take for me to code
Hi, You need to add a feature to cover this problem: Player 1 has fly enabled Player 2 does not have fly enabled Player 2 hits player 1 Player 1 flys 50 blocks away to avoid being killed.
Can i suggest when a player is in fly mode and is hit by another player fly mode is disabled for them? Is that possible? I dont know.
Just a suggestion :)
@Fendelgast
Nice idea :)
very Nice! was searching for this in about 1 month, I have a few ideas:
1, Make A config file
2. In config make a line where you can change the message that pop up when you are flying while pvp: Warn-message.
3. In config make a cooldown for enabling fly again.
4. fix color support for config messages (&.1 &.2...)
5. MAYBE add Disable-Commands: line in config
6. MAYBE add a config line where you can set how many warnings a player can have before a Tempban and how long time the tempban will be + what message will appear when player try to login while tempbanned BY the plugin.
Tell me what you think ;) best luck!
@Fendelgast
Very interesting idea.. I think i can add that into the config. And to clarify you mean that say if the player is less than full health or attacks/is attacked by another player that it turns off their flying so they fall and will take damage?
would it be possible to add configs to turn off flying when a player enters combat or is damaged, also prevent pve when flying ? I'm looking for a way to limit players to flying only, no pve or pvp, and if they take damage they fall out of the sky.
@semirotta
First off this plugin does not turn off/on flying for any player. It sends them a message saying they must turn off flying or that the opponent must turn flying on before they can pvp.
In your case the VIP player swings to hit the Member/Semicrafter and receives a message that they must turn off flying. If they do not they cannot attack the Member/Semicrafter. However if the Member/Semicrafter swings at the VIP while they have fly mode enabled the VIP will still take damage
Here is the thing: Member rank, Semicrafter rank does not have FLY access. VIP rank, Builder rank, Mod rank does have FLY access.
If a VIP rank player attacks Member/Semicrafter rank player while flying, does it force change FLYING off from VIP rank or does it turn FLY on for Member/Semicrafter rank player? (same with bow attacks, potion attacks)
@QBcrusher I see your point, but when people have fly on and are in the middle of flying I believe that they break blocks as slow as if they were in the water.
You should make it so you cant mine with fly on. I want flying on my server but it makes mining too easy if they can keep fly on to avoid lava
@graveXrobber
Alright. If you have any questions or problems let me know and if it works for you feel free to share to spread the word about my plugin!
Gonna be testing this.