powerofpickle's Jetpacks
powerofpickle's Jetpacks
This plugin adds two new items into the game: the Jetpack and the Solar Helmet!
Jetpack
You can craft a jetpack, which allows you to fly in Survival mode when equipped. You begin flying by pressing SNEAK+JUMP. However, the jetpack will quickly run out of fuel, in which case you will need some coal or charcoal in your inventory for it to fill back up. The durability bar on the jetpack indicates how much fuel is left.
You can also get a short speed boost while flying by right-clicking with a fuel item in your hand. This will consume the fuel.
Solar Helmet
You may also craft the solar helmet. If you wear the solar helmet while flying in the daylight, your jetpack will lose fuel at a slower rate. If you are not flying, it will gradually fill your jetpack back up. With the solar helmet in combination with lots of coal in your inventory, you will be able to use your jetpack for a long time. Just remember that the solar helmet only functions when exposed to daylight.
Recipes
Ops can also obtain a jetpack or solar helmet by using /jetpack or /solarhelmet respectively.
Permissions
jetpacks.canfly: description: Allows player to fly with a Jetpack default: true jetpacks.cancraft.jetpack: description: Allows player to craft Jetpack default: true jetpacks.cancraft.solarhelmet: description: Allows player to craft Solar Helmet default: true jetpacks.canboost: description: Allows player to boost by right-clicking with fuel default: true jetpacks.nofuel: description: Allows Jetpack for that player to refuel without actually having fuel default: false jetpacks.commands: description: Allows player to use /jetpack and /solarhelmet commands default: op
Config
jetpack-material: iron_chestplate solar-helmet-material: iron_helmet fuel-capacity: 240 jetpack-name: Jetpack particle-effect: true boost: true play-sound: true jetpack-recipe: shapeless: false '1': diamond '2': furnace '3': diamond '4': redstone '5': iron_chestplate '6': redstone '7': diamond '8': fireball '9': diamond solar-helmet-recipe: shapeless: true '1': iron_helmet '2': daylight_detector '3': redstone '4': none '5': none '6': none '7': none '8': none '9': none fuels: - coal - blaze_powder
Hi again! I changed the config from the original with this one: http://pastebin.com/Jgd19ekt and i found a bug: when I'm out of fuel with golden chestplate, it resets the quantity of fuel, bringing it back to 350/350 from 0/350, but with iron chestplate it doesn't! Hope you'll manage to fix this!
Thanks!
@TiberiumFusion
Thanks for letting me know. I just fixed the first bug in v1.4.7. As for the second one, it just uses Bukkit's built-in string to material method, so I can't really change that. However, I did make it so that you can use the numeric item id instead of the name, so you can use that as an alternative.
Awesome plugin!
A few bugs I found on my CB 1.8.3 server with the latest version of this (1.4.6):
@Xnics
Not a config option, but I just added the permission 'jetpacks.nofuel', which makes the Jetpack able to refuel even if the player doesn't have fuel in their inventory.
Can you make it possible to have infinite fuel and never run out? Like something you can enable and disable in config
@willis1030
Thank you for letting me know of this bug. I have fixed it in v1.4.5
This mod works great, at first. Once you enchant the jetpack however, it doesn't need to be fueled anymore. While the users on my server don't mind, I would rather have the mod work proper. I have however changed the <iron_chestplate>/helmet to <diamond_chestplate>/helmet. This works without a problem. Also I added rotten_flesh as a fuel. You may think these settings broke something, but I tested the mod before changing them. If you have any questions about my server setting or need further troubleshooting info, please ask. I am more than willing to help. I really like the concept of this mod and would like to get it fully functional on my server.
Sorry..infact, I wear any kind of hat makes no fuel. only the solarhelmet and none hat uses fuel. v1.4.4.
Hi,I found that using a skeleton head instead of solarhelmet needs no fuel. that may be a bug. white and black head are the same.
thank you, I still expect someday we can change the name of solar helmet, because english is not my native language, my players needs that. now I go enjoy this plugin in my server. thanks a lot.
@willis1030
Thanks for letting me know about these bugs! I uploaded v1.4.4, which fixes the blank config bug. The reason I haven't added the ability to change the name of the Solar Helmet is because, right now, that custom name is how the plugin knows whether an item is a Solar Helmet or just a regular iron helmet. If the server owner changed the name of the Solar Helmet, all Solar Helmets that players had before the change would no longer work.
@Xnics
You press space twice, just as you would begin to fly in Creative mode.
in 1.4.2, I just created a new map and made the jetpack to fly, but my first fly needs no fuel and fly forever. even a non-op player also the same. now 1.4.3 fixed, thanks. I found 1.4.3 has an empty config.yml, is that normal? (in newly created folder) 1.4.1 I can change the name of jetpack in config.yml, but solarhelmet can't. how about add this custom name? thanks.
what button do you press to fly?
@TheCapoGozo
Thanks for letting me know! I just updated the plugin to fix this problem.
Hey dude, today I downloaded the latest version of the plugin, but it gives me this error ->
http://pastebin.com/gQL6cNMG
Thx & Nice plugin, love it!
@willis1030
In the update I uploaded today, I made it so that it will make the player able to fly when they remove the Jetpack if they had fly enabled before they put it on. I am considering removing this behavior, since it could confuse some server owners. Let me know if that was the reason.
spieler habe die berrechtigung jedoch können sie nicht fliegen nutze PEx und essentials auf der neusten Spigot
this is awsome! but how about custom-name of solar-helmet in the config.yml file ? I suggest that..
it's non-stop flying with no fuel ... v1.4.2