Plugin category: Fun Suggested name: King's Landing What I want: When someone falls over 7 blocks onto stone, cobblestone, sandstone, obsidian, stonebrick, brick or diamond blocks, an explosion with a blast power of 4 that does not damage blocks(But DOES damage entities) is created where they land(If they have at least 2 gunpowder in their inventory). By default, someone who has the permission has explosive landings disabled until they toggle it. When an explosive landing is performed, 2 gunpowder is deducted from the user's inventory. The user that performs an explosive landing should also be immune to any damage during the explosion. Preferably, everything italicized/underlined should be configurable. Ideas for commands: /Kingslanding toggle - Allows a player to disable explosive landing for themself. (any player with kingslanding.explosive can use this) /Kingslanding disable/enable - Turns the plugin on or off. (Any player with kingslanding.admin can use this) Ideas for permissions: Kingslanding.explosive - Allows a user to use explosive landings Kingslanding.admin When I'd like it by: May 25th I want this plugin made because this would add a whole new dynamic to combat. It incentivizes risk taking, and makes ambushes in PVP all the more epic. Sorry for bumping. I noticed that this thread has 40 views though. Is the way I phrased my request confusing? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
rayblon No its completly fine and I'm sure someone will be interrested to do this at some Point! If I could I would do it for you but since i have no experience with coding i can't! I think this is a really good idea because it adds a higher skill cap to the simple combat in Minecraft this would open new possibilities and strategies to dominate your oponents! Just wanted to add that and i hope you find someone to make it soon ! Good luck
It doesn't give an ambusher an advantage, either, per se. They'd still be taking fall damage and would alert anyone in the viscinity. It's a plugin that balances itself out!
Alright, after a long while of coding, I got it working Heres the link: (permissions are kingslanding.explosive && kingslanding.admin) Let me know if you have any problems/requests for the plugin! https://drive.google.com/file/d/0B1ya9sTG289bSE12MGZJV21mejQ/edit?usp=sharing
TimJames It seems to be working quite well, but I think I need to do some experimenting with the underlined parameters in the OP to figure out what works best for my server. Would it be possible to flesh out the config file in those regards? Thanks for taking the time to develop this plugin for me!
rayblon Ahh. Yeah, I forgot to add the configurations for it :3... working on it now @rayblon Here ya go! Added the config file changes. Also don't forget to delete the old config file before reloading the server! https://drive.google.com/file/d/0B1ya9sTG289bbFNaR0FYRE51YzA/edit?usp=sharing EDIT by Moderator: merged posts, please use the edit button instead of double posting.
TimJames I did some testing by falling on mobs and I didn't seem to be able to deal any damage(Or knockback) with the explosions. Have you run into this issue or is it just me? .-. Thanks again! (And sorry for any inconveniences) EDIT: It seems that the actual explosion is quite small. I'm not sure if this is helpful or not, but I found a post that detailed no block damage explosions. It's fairly recent. DOES NOT SPAWN TNT. https://forums.bukkit.org/threads/create-explosion-that-hurts-players-but-no-block-damage.242764/
To any devs looking into this; I would reccomend doing something along the lines of Code: if (ple.getPlayer().getFallDistance() > 7) { if (ple.getPlayer().getLocation().getBlock(Block.BRICK)) { } }
rayblon Hey. I have made a little test - KingsLanding.jar It currently has no configuration options and will trigger on any blocks, as long as you fall at least 7 blocks. The player is not affected by fall damage, nor the explosion damage, but surrounding entities are. If you like it, get back to me and I can make it customizable and finish it up for you.
That's exactly what I want! I had some last minute ideas for additional configuration options I'd like to see implemented, if that's alright. I'd like to be able to set a flat damage to be dealt to the person that performs a King's Landing (I.E. Player A performs a king's landing and is automatically dealt 3.5 hearts of damage.), and I'd like to be able to configure knockback as well, if at all possible.
dentych I'm not sure how much it will help you, but here is the code for my version. I couldn't work out some of the bugs or stop the explosion from harming the player. But anyways hopefully you can accomplish more with this than me. http://pastebin.com/MknxENkA
TimJames Nice! Looks like you got all the commands right. I will probably use some of it and credit you for it rayblon I think Bukkit's setDamage command sets the base damage, so if I set that to 3.5 hearts, they will take less damage if they wear armour. Is that ok? And I take it that the knockback is for the players that are hit by the explosion?
rayblon The plugin is beginning to take shape. However, I won't be adding the knockback thing, as I don't have that much time to spend on it. Everything should be added, though EDIT: The plugin should be done. It should have everything you asked for, except for the knockback thing. Permissions are "kingslanding.explosive" to use and "kingslanding.admin" to use /kl reload Commands are "/kingslanding toggle" to toggle KL on/off per player. "/kingslanding enable" - Enables the plugin, "/kingslanding disable" - disables the plugin. "/kingslanding reload" - Reloads the config data. All commands can be used with "/kl" instead of "/kingslanding". First time you load the plugin, it will generate a standard config for you. It has comments. If you use the command to disable/enable the plugin, it will delete the comments. Though, the config should be pretty easy to interpret. Download link: KingsLanding.jar