Fly Payment
Fly Payment
Make flying cost something! When a player uses the fly command, it'll cost them a(n) item(s), and/or Economy Currency (whatever you specify in the config), and/or EXP to activate flying. Once they disable flying, it'll cost the player another set of item(s) and/or Economy Currency (whatever you specify in the config), and/or EXP to start flying again. Also, you can set a time limit for how long their flying is enabled until they must pay again. If you want another feature added, just say so in the comments.Fly Payment 3.4 has been tested with CB 3074 (Development build for Minecraft 1.7.9) as well as Spigot 1449 (Development build for Minecraft 1.7.9)
Features
- 12 Custom groups
- The ability to charge through Economy money (Like iConomy, BOSEconomy, etc.) or through items
- Edit what item and how much of that item to charge for Flying
- Edit how much EXP is charged
- Edit how long the flying will be enabled until the player must buy it again
- Edit how much money will be charged, including decimal values (if your economy plugin supports it)
- Edit type of fly mode
- Ban worlds that Fly Payment can be used in
- Timed Free Fly mode
- Fly ban system (ban on Fly Payment usage, not flying with any other plugin
- Combat Temporary Ban System - if a player engages in PvP, you can temp ban them from flying
- Custom messages
- When flying is disabled, edit whether the player takes damage from the fall
Requirement
Source
Commands
Command | Explanation (All Commands can be used with /FP, or /FlyPayment) |
---|---|
/FP | Shows the commands' syntax. |
/FP On | If the player has the items/EXP/money, the player will start flying for the specified amount of time in the config. |
/FP Off | Disables flight |
/FP Ban <Player> [Time] | Bans player for an optional amount of time |
/FP RemoveBan <Player> | Removes player ban |
/FP CheckBan <Player> | Checks if the player is banned, and gives the amount of time banned |
/FP FreeFly <on:off> [time] | Turns free fly on, or off. If on, you can have a time limit. |
Helpful Links:
Configuration
Permissions
This plugin uses plugin metrics. More information can be found here:Plugin Metrics
Bugs
- None! Yay!
Plans
- Add a fly limit criteria in config. (For example, players can only fly 5 minutes every 5 hours, or 30 minutes every 2 days, etc.)
- Add the option to pay a multiple of the default amount, to increase the time (ex. If you pay double the default amount, you'll fly for double the time)
- Add a "Hunger Drain" option in config
- Add 'No Fly" Zone as WorldGuard flag
- Add a countdown timer (as in, 10, 9, 8, 7...)
- Add custom 'Fly Speed' option
- Add 'Flight enabled on world change' option
- (If you want another feature added, just say so in the comments.)
Suggestions? Requests? Ask in the comments and I'll see what I can do.
Like Fly Payment?Donate Here
Thank You everyone for the downloads!
Great plugin! Also, it would be nice if the player doesn't take fall damage and/or there's a warning like 1 min. before the fly time is over and second idea: say you have to pay 1 gold ingot to fly an amount of time, if you pay 3 ingots at once, you can fly 3 times the default amount of time (just, so you won't have to bother and pay every time the flying goes off).
Its a good plugin!
is there a countdown timer for the person flying? this is exactly what I need if it has that (fall damage sucks, better to know when it's coming)
@hajdulak
I like this idea of paying for the duration of your flight so they can keep flying and they just keep paying. When they don't have the money anymore to continue paying it will be disabled automatically. No fall damage would be cool too.
Can you made it for 1.4.6, i need this plugin for my server
Hey, awesome plugin you got here!
Except it isn't working... the commands don't work (the server just doesn't respond to them) and if I type plugins in the console, Fly Payment comes in red, while the other plugins appear green.
WUTZ HAPPENZ?
I don't really like the payment system, wouldn't it be better to charge 'AmountOfItemsToCharge' of 'ChargeItemID' and/or 'EconomyCost' for every 'FlightTimer' ticks? You could add this as a new mode, and also, you could disable fall damage for the fall after your fligt is over (and probably add a config thingy for it).
Hope you like the suggestions :P
@gumgumpuntnl
Yes, it should.
Thanks for the reply!
Is this plugin working on 1.4.4 ?
Can people PvP or kill mobs while flying? Can you put an option or permission node to disable PVP or killing mobs while flying? Of course if PVP or PVE is disabled, it works both ways, that means they cannot kill or be killed while flying. I like the payment methods. Thanks for making a nice plugin.
A Timer how log i can fly and wanr if fly mode done in xx sec
An Idea: Make it that the fly mode is visible in inventory like enchants
Yes, I see its in the todo but the drain the food bar option (setting for food to drain per second/minute maybe) would get my vote for next feature too
Any chance you'd add a config to make it drain the food bar while flying in place of it costing money?
@jjaammster
Go into the config, and under "ChargeItemIDTier1-5", set that to 0 if you don't want to charge any items. The item message will go away and only the economy one will show.
hello, really useful plugin btw. quick question, how do i change the message that appears when someone uses /fly on. i use economy and it costs no diamonds so i would kinda like to change the message so it does not say ill be having those diamonds.
many thanks jjaammster
@XeonG8
Sorry about that, but implementing those features are going to take a bit longer then I thought, so I've been working on that, but I wanted to release a 1.3.2 compatible build as soon as possible.
@Ahellhound
"When Bukkit 1.3 comes out with a Beta/Recommended build, I'll make it so that if the armor/tool is damaged, it'll send a message saying "You cannot fly because the item is damaged!" . But, I'll have an option in the config to enable/disable the feature.
Thanks for the feedback, the exploit hasn't crossed my mind since now."
Is that in the 1.3 build?
@LeChuuck
I'm using Vault, so any issues with it not taking money is from Vault. Make sure that, you have Vault, make sure its updated, make sure you have Essentials, and make sure its updated. If that doesn't work, check out the Vault tickets on their Bukkit Dev page, as some people may have the same issue. Lastly, you could try the Developer build for Essentials and Vault (not sure if Vault has one publicly).
@ddjj767
You don't want to delete ANY '#' symbols. Here's the config setup for coal, just put the time in ticks.
Copy and paste that into your config, and change the time and amount of items charged to your liking.