Smooth Flight
A simple flight plugin for all users on a server
Details:
If you are holding a feather and hold right click, you will fly in the direction you are facing.
The longer you fly, the hungrier you get.
Features:
- Normal Flight (right click with feather)
- Slow Flight (sneak and right click with feather)
- Hover (left click with feather)
- Smoke Trail
- Variable hunger toll
Configuration:
tool should be set to an item on this list:
https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/Material.java
Permissions:
- smoothflight.fly
- smoothflight.nohunger
- smoothfly.ignoreHeight
"What did you set it to?"
default 288 feather
...2.4 no worky either
@re4397
How are your permissions set up? Are you op on the servers?
I have 3 servers. 2 are not working and 1 is working. With no error msg on console.
see the error of console msg: http://pastebin.com/F00Ty1jG
@genesis_aix It uses the same notation as the give command, so BLAZE_ROD, DIAMOND_ORE or DIAMOND_BLOCK. Take a look at https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/Material.java
I don't know what happened with sponge. I also added a log filter to fix those pesky kick messages.
@McJellyGooby I like the idea of hunger permissions, I will add it to the next release!
I have been using "diamondblock" before. Now ive tried; blazerod, diamondblock + various of item numbers (also tried SPONGE and the server crashed on reload)
The hardest to get item that seems to work is "diamond".
- It would be good if we could use the item numbers /data values to specify tools.
Keep it simple and keep it real! However, if you do want to make it more advance; An idea for future development is to set requirements for armor. E.g. req. full diamond armor + tool or gold armor (+tool or without) = speed 1 diamond armor (+tool or without) = speed 2
Also; the serverlog is filled with messages about kick when i dont use flight clearance. (Players are not kicked tough =)
Keep up the good work Naitsirhc_Hsem, love it =)
@XeonG8 @genesis_aix
What did you set it to? I will add a try/catch to set default and log if it can not find the specified material.
The Smooth flight 2.2 release does not like that we change "tool: FEATHER".
No other "tool" seem to work. Ingame nothing will happen if i do this, and in the log:
12:37:01 [INFO] [SmoothFlight] Loading SmoothFlight v2.1. 12:37:01 [SEVERE] Error occurred while enabling SmoothFlight v2.1 (Is it up to d ate?): null java.lang.NullPointerException at me.cmesh.SmoothFlight.SmoothFlight.onEnable(SmoothFlight.java:28) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174 ) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 8) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 86) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 82) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Hello,
I must say I absolutely LOVE your plugin. I've been searching a long time for a lightweight plugin with very powerful functionality and an easy learning curve. I also appreciate your inclusion of a perm node. Well done! Would you have a chance to include a perm node to exempt select players/groups from the hunger aspect? Thanks!
I'm gonna try this new version you just released :)
Anyway unable to test it as released currently, the error above :)
-----Normal Flight (right click with feather) Slow Flight (sneak and right click with feather) Hover (left click with feather) Smoke Trail...could they be separated with permissions for all these differences, that would be good... ie with options so a user with only permission for slow flight, doesn't have to hold down sneak, they just right click.. if they get a new perm for normal flight then its still the same, if they have both then the slowflight only works with sneak held down. And with smoke trail, only if they got the permission for it.
Hello all,
The new version will be coming out soon. I am doing tests now. The new features will include:
Naitsirhc
@Joxiscraft I think you need to configure nocheat to accept the conditions of the landing. Altough if anyone actually uses a nofalldmg hack they will get away with it. Just search for "fall" in the nocheat config file. tinyurl.com/6objx6a
Naitsirhc_Hsem, neat plugin you made =)
Im going to use it on my pvp/survival server, and want it to be hard to achieve, and not something you can use alot (unless you have gathered alot of food). One thing has become very clear; its not enough with food decrease, because players can fly with zero foodbars.
You should definitivley add: - No flight after food depleted or - Healthdrain after food depleted
I myself would prefer if you add both choises in config. =)
Slowflight and hover would be very nice additions. Are you going to make the server configure the slow speed, as with the normal speed?
Year; I think this plugin would solve your problem: http://dev.bukkit.org/server-mods/flightclearance/
However, i dont think players will be limited to this particular form of flight if you use it. Im not certain. I think its weird how both plugins seems to deliver only half of what you need.
That said, i appreciate the work the creators do on these plugins! =)
Simple, GREAT Plug-in! Thank you! :)
However, this is a slight problem...
I have Ranks on my server set up as: -Member -Veteran -Blablablaectect
First, I gave the perm node to Vet, so only Vet + could use the Feathers to fly in survival - Or wherever. Then after a while I got kicked with the message saying "Flying is disabled on this server!" So then I was like OH YEAH, RIGHT, and went into the server properties file and enabled fly. But then... It ignored the perm node and allowed even my members to fly using the feather.
So yeah, a fix for that ASAP would be amazing! <3
Also, I opened the config.yml, there's a few settings in there; the one I was mainly concerned about was the hunger - Default 20, is it? If set to 0, does hunger damage... Go away?
All in all, great plug-in! A config setup in the main post would be great as well too; giving us a better idea of how to correctly main changes. :)
@XeonG8
@re4397
I will try to add slow flight using sneak on takeoff and hover with left click.
@re4397
Just tell your friends about this awesome plugin :)
This plugin is perfect ! Thank you . I want donate now ! How to donate?
My wish list for this plugin.
Command that starts a hover.Hover started by right click on feather and ended by touching the groundA permission node! lol
yay as an plugin it already beats VoxelAIR !!! they are so above doing permission nodes.
I just need a slow fly hover though. Though I suppose that would also get easily bypassed with a modded client.. whole thing would be such an issue if nocheat just had multiple levels of speed reducing settings tied to permission nodes... but alas stuck with trying to use multiple plugins that deal with flying to try and get some control on it while still being able to provide it to certain members.
I would like it if flying didn't take as much hunger. Also, I have different group permissions set in the_end however it looks like people who can fly in the overworld, are also able to fly in the end and i want that restricted.