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!
@MGbeenieboy
I don't quite understand your question.
Are you wondering how to setup Fly Payment, or are you wondering why you have to pay to fly?
i do not get how I have to buy a flight
will test it out next update
using groupmanager and vault (and yeh I couldnt' get perm working at all "- flyp.fly.1") old version works with perms.
still think you should make it easier for it to just ignore name and lore, so if the player has an item with name/lore text it will get removed if they are holding it and typing the fp command.
beats having to make sure exact text is written in the config, and are you sure it will work with colors code in name text .
Currently, the issue is with the pipe ("|") character, where the lore won't be correctly read from the item. This is on Bukkit's side, because they replace the pipe with a different character.
For now, do not use the pipe character while I try to find a workaround.
Thanks
@XeonG8
Here's the config I used:
#Permission: FlyP.Fly.1
ChargeItemNameTier1: RECORD_11
#To charge an item with NO lore, set the below lore to "-1" (Keep quotes)
ItemMetaLoreTier1: "Type '/fly on' while|holding this disc to fly!"
This worked, however, in the command you sent me in your PM,
/i 2266 1 name:&6FlyDisc lore:Type_'/fly_on'_while|holding_this_disc_to_fly!
I removed the name changing part, and the plugin worked.
Right now, I will add the custom name portion to allow for items with custom names as well.
@XeonG8
1. If an item you want removed has no lore, then set the lore to "-1" in the config.
2. If you have an item with lore you want removed, enter the exact lore that is associated with the item. Depending on how the lore item was created, try entering the color of the lore, and possible text formatting.
I've tested lore items with essentials, where I used /give ahellhound diamond 64 lore:test
in the config, the lore was set to "test", with no formatting characters.
3. Which permission were you testing?
Thanks for the reports, this was a big update and I'd like to solve these issues as soon as possible.
and i'm using vault
You have to write the exact lore text for the item to be removed?
I just wanted the item to be removed regardless of it having loretext or not. Not having put in specific loretext.
also when testing this update, I get you do not have permission to do this.. even though I have the permission nodes.
HUGE update, Fly Payment 3.3_BETA has been released and is awaiting approval.
Release highlights:
- Fixed lore item removal
- 2 types of fly removal
- Normal removal
- Timed removal (player charged every 'x' amount of time)
- Added fly bans
- Timed Free-Fly mode
- Added banned FlyPayment worlds
- Added combat temp fly bans
- Now total 12 tiers
See the change log for more info!
Hope everyone enjoys!
Thanks for this nice plugin :)
Having some issues with my Boseconemy. The plugin doesn't seem to transfer the money to the bank account.
Any clue how to fix this (yes I use vault ;))?
Thanks
BTW: Add this plugin to the Economy category too! It was hard to find as I was filtering :D
No fly zone not yet? ; _ ;
a bug fix for lore text, or renamed items is really the key priority, its been easily exploitable for a while now......
Added BitBucket source link (alternative to GitHub.)
@psycenetic
Currently, im working on Fly Payment 4.0, where lore will be fixed, with the ability to charge lore items, ban worlds from flying, ban players from flying for a set amount of time, have items be removed on a time basis (for example, 2 diamonds removed every 5 seconds), have the ability to activate free-fly for a set amount of time, more message customization, prioritize which items are taken first by the timer and more.
Of course, if you want to have fly payment setup like it is now, you still can, and don't have to use any of the features.
Oh another idea/problem. When the flymode is activated/payed and you logout and login again, the mode/time is gone. Same if you type /fly off. Would be cool if the amount of flytime left, ist saved somehow. Maybe that /fly off stops the timer and /fly on only grabs new items, if no time is left.
Greetz, pSy
Great idea been waiting for a plugin like this thanks :)
Hey, i'm an admin on a Survivalmode Server and my problem is, that i've only 2 ways for my mods to configurate this mod. 1. they have to pay like every other player 2. they can fly without pay (But all the time). But most of the time, the mods/admins are playing like everyone else. So if they do private stuff, they should pay like everyone else.
a xtra "/fly mod" command + permission, that bypassed the normal mode would be very cool and i think, it should be easy to implement :). Maybe there are more like me, Real Admins, that don't wanna cheat on their servers :).
But awesome work. I look forward to your new featureplans, sounds great! ;)
love this... Thank you
is the issue fixed with lore text items?
@Frosty39801
Sure thing! I'll add that to the plans section.