Parachute
Description
Adds new item: a parachute. Use it for your protection when climbing in high places or just have fun gliding trough the skies using a parachute with a good steerability.
Current version: v0.2.2 (Supports CB 1.3.1-R1.1)
Changelog
Note: If you find a bug, please post a detailed Ticket, no vague error message to the forum thread!
Note: This plugin can be quite resource intensive and slow down your server if many players are using it at the same time.
Usage
Video by Strange_ice0 (introduces the old basic functionality before v0.2)
The default item used for the parachute is an Egg. To activate the parachute, left click with your mouse when the egg stack is selected. You can alternatively activate an automatic lifesaver function: the "free fall helmet" by moving an egg to the helmet slot in the inventory. The plugin will then detect if you are falling and launch the parachute automatically to save your life.
You can steer the parachute with your mouse. The horizontal speed of the parachute can be changed by tuning the "wind" value from the config.
The time that the parachute is in working state (aka the time before the chicken has a burnout) can be altered from the config file. There you can also add a parachute failure chance if you like to gamble with your life.
By pressing the Shift-key when the parachute is in active state, you can ditch the parachute and continue falling normally. This is useful when you want to get rid of the parachute before the time limit or just land on water or on a specific target.
If you feel like you are a hardcore bow sniper you can also try killing the chute-chicken to drop a player from the skies. I however recommend stacking up some explosive arrows or homing missiles, because hitting the poor creature is extra hard from the distance.
Features
- A parachute with a great controllability. Use your mouse cursor to steer the chute.
- Press sneaking button (by default Shift) while the parachute is active to ditch the parachute.
- A "Free fall helmet". Automatically activated parachute for your protection. Use it like a normal helmet.
- Optional failure chance to parachute activation.
- The parachutes can be killed to drop the player from the skies.
- Parachute material (default: egg) and parachute entity (default: chicken) can be changed from config.
- Custom warning/notice messages
- Supports the standard Bukkit permissions API
Possible Future Features
- Wind will blow the parachute to its direction
- Changing wind speeds
- Changing wind directions
- Stronger wind in stormy weather
- Biome spesific winds
Commands
- /parachute reload (Reloads the config file)
Default Permissions
parachute.enable: description: Enable/disable the whole plugin for player. default: op parachute.reloadcmd: description: Allows player to use "/parachute reload" in game to reload config. default: op parachute.freefallHelmet: description: Allows player to use the "free fall helmet" default: op parachute.useByClicking: description: Allows player to activate the chute by left clicking default: op
Config
- fallSpeedMul: Affects the fall speed of parachute. e.g if value is 0.4, the speed is 40% of normal falling speed
- wind: Speed of the wind i.e. the horizontal speed of parachute.
- activeTime: Indicates how long time the parachute is active. Set to 0 if you want an unlimited active time.
- failPossibility: Indicates how possible a parachute malfunction is. (Values: 0.0 to 1.0) e.g value 0.3 is 30% chance.
- helmetTriggerAltitude: The number of blocks a player has to fall before the helmet activates. (Used if freefallHelmet is active)
- material: The material used for the parachute. (You can use material ID:s or proper entity names)
- spawn: The parachute animal that is spawned when the parachute activates. (You can use entity ID:s or proper entity names)
- spawnOnFailure: The entity that is spawned if the chute fails (You can use entity ID:s or proper entity names) (the failPossibility has to be larger than 0.0)
- destroyAfterUse: Removes the parachute entity after usage to avoid flooding bigger servers with living entities.
- msg1-4: Messages that are sent if a warning or a notice is needed. These can be left empty by writing '' instead.
More discussion at the forum thread.
dose this work with 1.2.3?
Is it posible to kill the chicken wen landed
Everyone on my server loves this plugin, but because of that, the whole map is now filled with chickens xD. Is there a possibility of not creating the chicken or allowing us to set the percentage of a chicken spawning after the parachute is done?
Why all player have full permissions..? O.o
I use parachute.disable for groups Default and can use..
Hi, it would be great if I could change the egg, and the text mes. . If you dont want to add this, it would be very kind of u if you would send me your sourcecode. I wont release it and if you want, you could have the updated version.
best regards Phibedy
Ha ha, works and slightly funny! Nice plug-in, I'll suggest it to my friends.
@Trumple1 Hi, The ticket system is accessible through the "Tickets"-link at the top of the page. I tested the v0.1.2 of the plugin with CB 1.1-R3 and the newest client update with different setting and permission combinations and didn't encounter any problems or crashes. The permissions also worked fine. However, I published a fix for R3 that might solve the crashing problem you are having. The update should be available for download soon, after it's reviewed by the moderators.
If you still encounter problems after the update, please post a ticket and add some extra information:
Also you should check if there are any other plugins that are disturbing the performance of this plugin. You could as well test the plugin with only one or two people in a different server, so we'll see if the problem is a result of many players using the plugin at the same time.
Hello, sorry for posting in the forum, I can't see the link to the ticket system that you speak of.
The plugin has broken partially:
[SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to Parachute java.lang.NullPointerException at org.bukkit.craftbukkit.inventory.CraftInventory.getItem(CraftInventory.java:30) at org.bukkit.craftbukkit.inventory.CraftInventoryPlayer.getHelmet(CraftInventoryPlayer.java:33) at me.KillerFox.parachute.ParachutePlayerListener.onPlayerJoin(ParachutePlayerListener.java:43) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:272) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:114) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39) at net.minecraft.server.NetworkListenThread.a(SourceFile:94) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
The plugin still works, but it ignores permissions and lets everyone use it This is a flaw when the parachute is a donator-only perk :( Thanks for any help! Even just a version with the helmet part taken out would be fine for me. I'd do it myself but of course, I don't have access to the source code!
Thanks again
how's updating to 1.1 going? I know that it's only been out for a few days, but this plugin is awesome!
Can I actually use a permissions node for this in PEX?
Solved - yes
@Royalgamer06 If I remember correctly the allow-flight server-setting (if set to "true") is just a timer that counts how many seconds the player is in air, and if x-seconds are passed, the player is kicked. It's very unprecise and it doesn't even block all the speed/flight cheats that are possible.
I suggest that you set allow-flight=true and then use some kind of a plugin that allows flight for certain user groups and disallows client side cheating, like NoCheat (or similar) or CFBanner (I have not tested these!). You should search/ask from the Bukkit-forum about how to deal with this .
Another option would be decreasing the activeTime-value (so you don't fly in the air too for long time) and/or adjusting the fallSpeedMul-value and wind-value from the plugin-config. When your chicken burns out you can just use another egg in mid-air and still land safely.
This plugin is extremely creative and new. I love the idea, keep it up!
@TrimFlinders
Thanks for noticing the typo, I have now fixed it. The eggs that the burning out chicken throws out should have normal spawn rates, I haven't changed them in any way. For the next update, I could add an option that allows disabling the egg throwing ability of the chicken. Also, I have considered adding an option that makes the parachute chicken die after it burns out. That could be used in servers that have many players, to avoid chicken flooding. Additionally, I have thought allowing a player to choose a parachute creature for their liking. (The chicken is there just for the effect purposes anyway, the parachute doesn't use the chicken's flying ability.) I'm pretty busy with my university studies right now, but I will update the plugin in near future, so stay tuned :)
Great plugin, however, we run a tight economy and 100% chicken spawn from eggs is a bit imba. Any chance I've just been very lucky, or is it the plugin that defaults 100% to spawn when the egg is thrown after release? Is it possible to have a config option to turn on/off or alter chance of chicken spawning after chute is released. Also noticed a possible typo (or just me misunderstanding "#wind: Speed of the wind aka the vertical speed of parachute." surely that's "horizontal speed"? However, great plugin. Well done :)
@Kill3rFox
I got it working now by using this node on PEX to disable it on my groups:
- -parachute.enable
Thanks, more power to your plugin
@pandapipino
You don't have to assign the permission at all if you want to enable the plugin, because as I said before, the plugin is, by default, active for all i.e. the default value for parachute.enable is 'true'. But if you want to disable the plugin for certain user groups or users, you just have to assign a negative value for parachute.enable i.e. set parachute.enable to 'false'.
@Kill3rFox
I just assigned a permission to one of my group to be able to use it:
example permission:
http://pastebin.com/47dpX4A5
but other groups like default,Warrior,Mage etc. has been able to use the parachute which I didn't even assign a permission node.
@pandapipino
What exactly are you trying to do? Are you trying to disable the plugin for certain user groups? If you look above, you can see that the parachute.enable permission is by default 'true'. So, if you want to disable the plugin for certain users, you have to set a negative permission to parachute.enable.
I added parachute.enable to one of my permissions group but all users are still able to use this plugin.
I'm using PEX btw. Thanks
nice