bFly
Ever wanted to let your players fly?
Now you can! bFly allows your users to type /fly and (optionally) pay to fly! It will automatically get removed after a certain amount of time.
And the best thing? It's fully configurable, and fully compatible with many Anti-Cheat plugins! (Tested with Anti-Cheat, NoCheatPlus and NoCheat). You also don't die when flying privileges get taken off of you! You can even give money back to the player when their /fly gets disabled!
Permission Nodes
- fly.fly - can use /fly
- fly.reload - can use /flyreload to reload the configuration file
- fly.bypass - can bypass costs and time limits
- fly.otherplayer - allows the player to use /fly [namehere] for another player! NB: The person who types /fly will pay.
- fly.dmgbypass - allows you to hurt another player.
Example Configuration
Things to note
If you are not running Vault, the permissions will fall back to operators. OPs automatically have all permission nodes for fly.
Hey, is there a permission to change flyspeed?
any chances for multiworld support with permissions?
can you add a setting so every 24houres or every day they can use fly for 10minutes for expample ?
Excuse me, but what 'CronJob'? Thanks
You should make it so when you buy flying time it asks you "Would you like to fly for (X amount of time) for (X amount of money)? If yes, type /fly buy." Something like that would be good or at least it telling you how much money you've spent.
update please
@Hayden06
The message will be added in, and I'll add stopping flying over y=256. Thanks. Plugin is getting updated to 1.5.2 today.
haha one more easy thing you should add. When a person enables flying, there should be a message about the amount they just paid...so like:
"You have purchased
minutes of Fly Mode for
.dollars"
some dumb people in my server won't know they're spending money until they run out lol
another thing I'd like to see in the future is no-fly-zones. I have protected walled off areas that would be useless if people could just fly over. They fly into a no-fly-zone and it could switch them out and prompt them why. "this is a no fly zone" it would be important that altitude would not be considered -> so that they don't fly over y=256 and then drop in. It also would be nice to prevent them from wasting their money if they accidently tried to pay for fly mode while standing inside one of these no-fly-zones.
oh one more thing... my server has a finite economy, so could you make an option to send the money payments to a specific non player iconomy account? I would be very happy :D
you should have a count down timer prompt each minute, and then the last 10 seconds in case someone is flying over lava or some other bad area.
@zanakinz
There are many mods that enable flying. Did you think you were the only one to ever write such a mod? Why give Boris a tough time? Did he steal your code?
So basically, what I did, except public?