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!
@lanceryy
What do you mean by the remaining time? You can set how long flight lasts in the config. If you go to the config page, I've rewritten the entire thing, and made it look neater (as well as the permission page).
Dear brother Ahellhound , Could you let us to config the remaining time ? I mean we can set from the config.yml . Thanks so much ^^
@fffizzz
Reload added :)
Also, (once the version is approved) I've made it so players don't take damage from falling after they disable flight, if they're in mid-air.
reload (config)command would be super helpful on this plugin. :)
@2coolforu22
Thanks, I've added it to the plans section.
there's also a problem when people log out and they log back in they will be stuck in fly ..
thank you for the updates
@giffordj
You need to have an Economy plugin installed with Vault. So far, the plugin still works with the latest Dev build of craftbukkit.
Can you update
Having an issue with Vault on this plugin.
2013-07-17 04:13:21 [INFO] [Vault] Loading Vault v1.2.25-b333 2013-07-17 04:13:21 [INFO] [Vault] Enabling Vault v1.2.25-b333 2013-07-17 04:13:21 [INFO] [Vault][Permission] GroupManager found: Waiting 2013-07-17 04:13:21 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system. 2013-07-17 04:13:21 [INFO] [Vault][Chat] GroupManager found: Waiting 2013-07-17 04:13:21 [INFO] [Vault] Enabled Version 1.2.25-b333 2013-07-17 04:13:21 [INFO] [Vault][Permission] GroupManager hooked. 2013-07-17 04:13:27 [INFO] [Vault][Chat] GroupManager - Chat hooked 2013-07-17 04:14:08 [SEVERE] [Fly Payment] - Disabled due to no Vault dependency found!
Any ideas?
I'm just curious if you will be updating this for 1.6
please make configuration of "No Fly" Zone !
You could make it to have a certain duration, and each duration will cost. like Fly for 5 minutes: $1000 Fly for 1 day: $30000 etc
Anyway you could update this to support multiverse as players often change worlds and then complain about losing fly...
any infos about a new version with the planed features? btw nice plugin and its working with 1.5.1 beta build 2754
@predawnia
As it appears it does work. ^_^
Does this work for 1.5.1 ?
@juhannusjukka
It works for me, so check your config. When I tested it, I checked account balances before and after using fly on. I lost 200 and my non player account "ServerBank" gained 200.
@juhannusjukka
The way I tested it (with success) is I used '/money create test' ('test' is the name of the account created) then in the config I set EconomyAccountNameTier1: to 'test'. After, every time I used '/fly on', the money would be removed from my account, and put into 'test' account. I'm not sure if creating an 'artificial' account is different than a player account.
Thanks for reading, AhellHound
I don't get paid to the admin account.
EconomyAccountNameTier1: ServerAccount
I have change Serveraccout to my user name, and i have valut installed.