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!
Does the plugin work with essentials economy?
Because it takes the item but not any money.
Am i missing somthing? When users type in the /fly on command is just says "you lack the permissions to do this!" Ive just put the folder into my plugins folder and changed the config file to use coal and deleted the # from the first Permissions bit. So my config looks like:
Permission: FlyP.Fly.1
Is that right?
It would be a nice option to have the flying burn money as you go instead of a set price and time.
@XeonG8
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.
nice but you need to fix it so that items that are used such as armor.. if they get damaged and then someone uses /fly on the item doesn't get removed because its damaged...
thus they can abuse the feature, when the plugin shoudl really take away the item regardless of it being damaged.. or not allow the /fly on command.. telling them there armor piece is damaged....
please fix fast.. its a good plugin
@stuntweed when the timer has 10 seconds left, a message should pop up saying that you have 10 seconds left. If you don't see the message, please send a ticket, thanks.
Suggestion:
Add a warning text so they know when the effect wears off.
@Levint7012
Thanks! I just uploaded the new version with economy hook, just waiting for approval.
Great plugin excited for the economy hook great job,
@unpluggeddk
First, give the group either flyp.notimeout permission, or in the config make the group's 'FlightTimer' 0. When they die, the flight will be automatically disabled.
@Ahellhound
So if i want people to loose fly after disconnect or death only.. what do i do .. :O
@Ahellhound
Thx man..
Someone told me that feature didnt work yet.. :D but you convinced me to try anyway..
Works fine.. :P
Well I cleaned up the overview page, so hopefully it looks better. Thanks everyone for the downloads! After I add iConomy support, i'll be done until someone asks for a new feature, or until Bukkit (not CraftBukkit) updates.
@unpluggeddk
you can use worldguard and worldedit to set a region. After, make a flag that has the allowed/denied commands. For example, i don't want people flying over my spawn. so, I make a region, call it spawn, and do '/region flag spawn blocked-cmds /fly'
Maby make zones where people cant buy fly..
I cant use this plugin, because people can exploit some of my games. sadly.. :/
@levint7012
Thanks! I plan on adding economy support in the next few days for all major economy plugins, but you will need vault. If you don't want the economy portion, i'll have an option in the config to disable it, so you don't need to have Vault (Since vault is only there for the economy support).
Love this plugin... Awesome job
Iconomy would be nice but god this is a great plugin.
Well i could use Vault's API, but that would mean you would NEED Vault for that to work. Do you mind using Vault?
@Ahellhound
What ever is the easiest for you, I'd just like to have 2 price options to assign to the various groups. Admin/mod/vip to have a seperate price from builders.
@markdf
@unpluggeddk
I'll add a per group system, but how would you like it to be setup? do you want to specify the amount for each group in the config or do you want me to make like 5 tiers were you assign a permission for each tier. if you have a different idea on how to do it, explain it, and i'll try it out.
Thanks for the feedback!