Claim Fly ✈ Flight in Claims and Plots 1.2.6

Allow players to fly within their own claims

  1. Trophonix
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/trophonix/griefpreventionfly
    Claim Fly
    Allow use of /fly inside claims

    Want to allow players to fly - perhaps as a rank perk - but don't want them to be able to fly around everywhere and potentially abuse it? This simple plugin allows you to give players limited access to /fly using GriefPrevention claims OR Residence claims!


    How to setup
    1. Install a supported claim plugin
    2. Install any plugin to allow players to fly. Examples:
    3. Install claim fly.
    4. Done! Now players will be allowed to fly only in their claims, or based on your configuration of Claim Fly!


    If you want certain players or ranks to have access to flying everywhere, that's simple too! Just give them the permission node claimfly.bypass (or gpfly.bypass).

    As of version 1.1, the config option otherTrustedClaims allows the players to fly in claims they are trusted in as well as their own. The freeWorld config option allows players to fly in the open world but not in other player's claims.

    Use /gpfly rl to reload your configs in-game. (Must have claimfly.admin permission - or gpfly.admin)

    Check out the default config options here.
    Code (YAML):

    #
    # Claim Fly by Trophonix
    # - - - - - - - - -
    # permissionRequired: true/false - Whether to require "claimfly.fly" to fly in claims
    # otherTrustedClaims: true/false - Whether to allow flight in trusted claims not owned by the player.
    # adminClaims: true/false - Whether to allow flight in admin claims (GriefPrevention)
    # freeWorld: true/false - Whether to allow flight in the unclaimed world.
    #                         If true, player will be disallowed in other people's claims but not in wilderness.
    # drop: true/false. Drop the player out of the sky (no fall damage) instead of moving them back!
    # gamemodeBypass: true/false. Allow bypassing if the player is in creative or spectator mode.
    # onFlyCommand: true/false. Whether to listen for /fly and cancel that.
    #                           If you're not using Essentials this will just listen for
    #                           "/fly" so if there are aliases, it won't know they typed /fly.
    #                           They'll be stopped when they actually start flying.
    # - - - - - - - - -
    # notAllowed: Message to send when player attempts to enable flight outside of claim.
    # flightDisabled: Message to send when player attempts to exit their claim with flight enabled.
    #

    permissionRequired
    : false

    otherTrustedClaims
    : true
    adminClaims
    : true
    freeWorld
    : false

    drop
    : false
    gamemodeBypass
    : true
    onFlyCommand
    : true

    notAllowed
    : "&4(!) &cYou can't use flight outside of your claims."
    flightDisabled
    : "&4(!) &cYou need to disable flight to go there!"
     

    Contact Me
    Spigot PMs: Click Here
    E-Mail: [email protected]
    Discord: Lucas#5300

    You can also join the Prodigy Support server and post in my support channel!
    [​IMG]

    [​IMG][​IMG]
    Arenis, L0rmex and Killer123451 like this.

Recent Reviews

  1. ASOOS
    ASOOS
    1/5,
    Version: 1.2.6
    Doesn't work, what's wrong with this plugin?
    Something settings problem or anything else?
  2. xorgone
    xorgone
    4/5,
    Version: 1.2.6
    Great plugin, however myself and my players have noticed a critical bug.

    If you spam spacebar while outside of your claim, it spams the message "You can't use flight outside of your claims," However, it will allow the player to glide as long as they are spamming spacebar.
    Could this get fixed? And I would offer a donation, this plugin is exactly what we are looking for.

    Thanks in advance.
  3. EndermanHosting
    EndermanHosting
    4/5,
    Version: 1.2.6
    Amazing Work!

    Can you make it so when they leave their claim the /fly is disabled so they can take fall damage? Cuze rn they do not take fall damage and if they spam space they have something like a jump boost. thanks
    1. Trophonix
      Author's Response
      Thank you for your review and feedback! A thought just occurred to me: I could add a thing in the config where you can make it run commands when the flight is disabled, so you can tell it to run /fly (name) or whatever for your flight plugin. I also plan to add integration with my flight plugin Soar to add more advanced features (because it's way easier to communicate between my own plugins)
  4. ToxicSpin
    ToxicSpin
    5/5,
    Version: 1.2.6
    Can you add support for Towny claims? Maybe with different permissions based on "own plot", "own town claims", "allied town claims".
  5. armyman25
    armyman25
    5/5,
    Version: 1.2.3
    This plugin is amazing. It works exactly as intended and the developer is very active.
    1. Trophonix
      Author's Response
      I really appreciate your support! Please message me anytime if you have suggestions or run into issues :)
  6. Jordan308
    Jordan308
    5/5,
    Version: 1.2.0
    Works to an acceptable level.

    Maybe make it so instead of teleporting players back it should simply disable flight for them (without fall damage of course) along with disabling it so they can't even do /fly outside of their claim?

    Might also be worth mentioning that they need the "essentials.fly" permission for those who are allowed to even fly.

    Otherwise good Plugin. keep up the good work!
    1. Trophonix
      Author's Response
      [UPDATE]
      I've implemented both of your suggestions :) Thank you!!
      [/UPDATE]

      I had it like that before but thought it seemed better to just not be able to leave than being dropped from the sky. I will add a config option to switch between the two modes!

      As for not being able to do /fly, I had it listening to the essentials fly event before and canceling that, but in order to support more than just essentials I removed it and made it cancel flight instead. I will add it back as an optional dependency, but I can't do the same with CMI as it has no events to do that with. I suppose I could listen for the command /fly but that wouldn't work if a plugin uses a different command like /cmi fly or /enableflight or does it with a gui.

      Thank you for your feedback! I will do what I can to bring these suggestions into the plugin. Pm me anytime with ideas or problems!!
  7. otakuXzack
    otakuXzack
    5/5,
    Version: 1.11
    can you fly in trusted claims tho?
    if not that would be a great update
    but other than that great plugin
    1. Trophonix
      Author's Response
      Yep, as of version 1.1 the plugin allows players to fly in claims they've been trusted in! Let me know if you have any ideas for my plugins, new plugins, or run into any issues :)
  8. Achaius
    Achaius
    5/5,
    Version: 1.11
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Excellent! Well done!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1. Trophonix
      Author's Response
      Thank you for your feedback! If you think of any ideas for my plugins or run into any issues do not hesitate to private message me
  9. Dmnchild
    Dmnchild
    3/5,
    Version: 1.00
    It does what it says. Couple issues though: When people are enabled into creative for building spawn, and whatever else.. it still doesnt allow flight. A few toggles in the config that would make this super are:
    1) If trusted in others claims, can use (true false option)
    2) allow flight anywhere in creative and spectator (true false)
    (Mods need to be catching xrayers, so when they drop to gmsp,
    Do these I promise to use it, and donate ;p
    1. Trophonix
      Author's Response
      Hey, check out my new update! I added your suggestions. Thank you for the review and for the ideas!!
  10. isolte
    isolte
    5/5,
    Version: 1.00
    This plugin is great! Would make some players really happy if /fly was automatically re-enabled upon re-entering their claims. (Would also prevent some accidental deaths.) XD
    1. Trophonix
      Author's Response
      I changed this so they no longer die from the plugin :-)