Custom PVPfly

Discussion in 'Archived: Plugin Requests' started by Maxidoodle, Sep 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Maxidoodle

    Pvp fly plugin

    Suggested name: PVPfly

    What I need is a plugin that will have specific features that limit the ability of certain donor ranks to fly in certain instances. Ability to check world guard areas and faction areas so that fly is disabled when entering them or if land is claimed under them. It will also disable the f map auto update feature while flying.

    Commands:

    /fly on - which turns on flying
    /fly off - which turns off flying

    Also it must have limits like during flying configurable commands are disabled that I can provide in config.yml
    It must disable the ability of using pots during fly.
    It must disable the ability of using bows during fly.
    It must disable fly during combat for a configurable amount of specified time in config.yml
    It must disable the ability to use /f map on during fly
    It must disable /f map on auto update when fly is turned on
    It must bypass only your own faction territory for flying.


    The permissions:
    PVPfly.fly - /fly on and /fly off

    And the permissions to bypass the restrictions.
     
  2. Offline

    RRServer

    I managed to get the majority of the plugin's code complete : http://pastebin.com/ed4ebd4E
    Anyone else who picks up this project needs to find out which version of Factions OP is using.
    I'm unfortunately too busy at the moment to continue, here are some of the things the plugin still needs :
    • It must disable fly during combat for a configurable amount of specified time in config.yml
    • It (/f map : /f map on) must bypass only your own faction territory for flying.
    • What I need is a plugin that will have specific features that limit the ability of certain donor ranks to fly in certain instances. Ability to check world guard areas and faction areas so that fly is disabled when entering them or if land is claimed under them.
    I apologize for any spacing issues in the pastebin link, I can assure you that said spaces are not found in the original code and seem to be the result of pastebin.
     
  3. Offline

    Maxidoodle

    Thank you for the quick response and preliminary work for this.
    I will be using this factions version 1.6.9.5.
    The ability to use /f map on in your own faction territory is not necessary though it would be a nice feature.
     
  4. Offline

    RRServer

    Alright, I might be able to continue later with this project. If not, anyone else can take the code I have provided and build upon it.
     
  5. Offline

    Onlineids

    RRServer Instead of surrounding your code in if statements the proper way to do it would be
    Code:java
    1. if (!p.hasPermission("PVPfly.fly")){
    2. p.sendMessage(noPermMessage);
    3. return true;
    4. }
    5. // They have permission
    6.  
    7.  
    8.  
     
  6. Offline

    Maxidoodle

    Could really use some help getting this plugin in a working format. The other fly plugins are just not covering all the holes.
    Please help me ASAP
     
Thread Status:
Not open for further replies.

Share This Page