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

McStats Graph

NoFlyPvp McStats Graph


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    52053
  • Created
    Feb 14, 2013
  • Last Released File
    Aug 7, 2015
  • Total Downloads
    16,044
  • License

Categories

Members

Recent Files