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!
here this error after upgrading to new version and redoing new config...
For some reason, OP's can turn fly on and off, but my groups with the regular given permission can only turn it off, not turn it on. (v2.0)
@nickless07
I'll look into that, thanks.
Hi
is it possible that the user can change world without flight being stopped?
Perhaps something per group
Persistent on World change: 0/1
@jeffro1001
Please create a ticket for the bug, thanks. Also, try the bug on the new version I just released (2/4/13). But i'm unsure as to when it'll be approved.
Just posted a notice regarding the plugin in the description, please read for the most current info, thanks.
Can't wait to see the "Hunger Drain" or "Iconomy Account Destination" added. One of these two things would let me enable it on my server.
I just found a bug.
If the item that you have configured to be consumed, has a custom name, it will still allow you to fly, but will not remove the item from your inventory.
The item i'm using is ID104 ( pumpkin stem )
Since this item is not obtainable normally, I have it configured as a drop from a boss using the EpicBoss addon.
The Epicboss addon allows you to make custom names for items that get dropped.
In this case my boss drops item ID 104 with a custom name 'Magical flight stick'
If I hold the dropped item ID104 (with the custom name ) I can still fly, but the item remains in my inventory. Allowing you to reuse it again for the designated amount of time.
If I hold just a plain item ID104 ( /give jeffro1001 104 1 ) the addon works properly.
Im not sure if this is something you can fix, and if not I'll just have to take the custom name off the item ( but it would be really nice to be able to hold onto the name and still use the addon )
EDIT:
I havent tried using an anvil to rename the object, to see if the bug pops up again, but I'll try here in a bit and report what happens.
EDIT 2:
Renaming the object by using an anvil will do the same thing.
Thanks
Could you add an option in the config that will allow you to provide a custom message when flying is enabled?
Right now it says" I'll take that <ItemID> 'playername'"
Id like to have the ability to change that message to my own custom one.
Other than that it does exactly what I want it to do awesome job
@ummbobee98
I'll add that to the feature list :)
Thanks for the feedback, AhellHound
@Hayden06
I'll work on it tonight, so hopefully by tomorrow, they'll be a new version with more features. I may have to clean it up a bit, but if not tomorrow, then by Sunday the latest.
Thanks for commenting, AhellHound
Please made it so it can charge xp please!
When do you think the updated version will be available for download?
@Ahellhound
You're awesome!!
@Hayden06
I've added your requests. Also, i'm done with my Midterms, so i'll be able to put more time into my plugins and add more features. :)
Thanks for the reply and suggestions, AhellHound
Great idea you have here. I do have a request. Instead of just a timed flight how about a "per flight" charge? Pay xx Dollars to fly until you land?
Thanks for your time and effort!! Tucher24
Hey, I have a couple requests in addition to the previously mentioned countdown timer and no fall damage.
@Rionto
I could do that, and/or, I could make an auto-pay option that will automatically pay out the items while flying. I could also make it so that only the items, in lets say the first hot bar slot, is taken automatically.
Just thinking out loud XD
Thanks for replying, AhellHound
@Darkboot
Use a permission plugin. There is a Permissions link above to explain which permissions to add for this plugin.
Can someone explain to me how to install it? I but the .jar file in the plugin folder, it does a map with the config. Well.. it works but only for ops O.o If i take the config file thats follow with the .jar filer in the .zip file the jar file replace that config file to the first one.
I dont really get it.. If you didn't understand just explain step-ny-step how to install it!
Thansk! :D