Giter Club home page Giter Club logo

townyflight's Introduction

TownyFlight

Finally, you can allow towny residents to fly while in their own towns, for free, from the lead developer of Towny.

As of version 1.5.0 This plugin supports Towny 0.94.0.2+ and MC 1.14.*. Pre-1.5 versions requires the use of Towny 0.92.0.0 or older.

Players that are flying and make a PVP combat attack will have their attack cancelled and their flight taken away. Players that are in creative and make attacks will be allowed to continue flying, but will have their pvp attack canceled.

Players that have their flight taken away will fall harmlessly to the ground.

If you want to support the developer consider becoming a Sponsor.


Commands:

  • /tfly - Enable/disable flight.
  • /tfly reload - Reload the config.
  • /tfly {name} - Removes flight from someone.
  • /tfly town {townname} toggleflight - Enables free flight in a town (use this on your Spawn city if you want everyone to be able to fly there.)

Permission nodes:

  • townyflight.command.tfly - required to use /tfly.
  • townyflight.command.tfly.reload - required to use /tfly reload.
  • townyflight.command.tfly.town - required to use /tfly town {townname} toggleflight.
  • townyflight.command.tfly.other - required to use /tfly {name}.
  • townyflight.alliedtowns - allows players to use /tfly in towns which consider that player an ally.
  • townyflight.nationtowns - allows players to use /tfly in towns which are part of the player's nation.
  • townyflight.trustedtowns - allows players to use /tfly in towns which they are trusted.
  • townyflight.alltowns - allows players to use /tfly in any town, but not the wilderness.
  • townyflight.bypass - default to Ops, bypasses removal of flight, use /tfly anywhere.

Config:

  • Config auto-updates with new features while keeping your old settings intact (like Towny.)

  • Includes all language strings in case translation is required.

  • options.auto_Enable_Flight

    • default: false
    • If set to true, players entering their town will have flight auto-enabled.
    • When set to true, the plugin will use slightly more resources due to the EnterTown listener.
  • options.auto_Enable_Silent

    • default: false
    • If set to true, players entering their town will have flight auto-enabled without being notified in chat
  • options.disable_During_Wartime

    • default: true
    • If set to false, players can still fly in their town while war is active.
  • options.disable_Combat_Prevention

    • default: false
    • If set to false, TownyFlight will not prevent combat from player who fly or take their flight away.
  • options.show_Permission_After_No_Permission_Message

    • default: true
    • If set to false, the language.noPermission message will not display the permission node.

PAPI Placeholders:

  • %townyflight_can_player_fly% - Displays true or false, based on whether the player could fly at their current location.

I'm open to new features and willing to fix any bugs found.

License: http://creativecommons.org/licenses/by-nc-nd/3.0/

townyflight's People

Contributors

llmdl avatar seggan avatar warriorrrr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.