ParticleCannons
Particle Cannons is a fun plugin that adds "particle cannons" to the game. When a player right clicks with the cannon item and with enough ammunition, there will be a line of explosions, destroying blocks in front of the player and adding a whole new level of strategy to PvP.
This can be a very powerful weapon in PvP, as you can damage players greatly from a distance, launch them into the air to take fall damage, or launch yourself away to escape. To balance this I have made the default items hard to get and it will cost one diamond per shot of the cannon by default.
All items and the range of the cannon are configurable using the commands or in the config file.
------------------------------------------
Commands:
/PCSetRange <Number>
- Set the range, measured in blocks, for how far the cannon will fire. The default is 40 blocks.
/PCSetItems <ItemID> <ItemID> <Number>
- The first parameter is the item ID for the cannon item, the item you will right click to fire. The default is a blaze rod.
- The second parameter is the item ID for the ammunition item, by default a diamond.
- The third parameter is how much of the ammo item will be used up per shot.
/PCToggleGrief
- Toggle block damage.
Look in the config file for more options.
You can find item IDs on the minecraft wiki:
http://minecraft.gamepedia.com
------------------------------------------
Permissions:
particlecannons.use:
- Allows a player to use the particle cannon plugin.
particlecannons.admin:
- Allows a player to use the commands for changing range/items.
------------------------------------------
Protecting Areas:
The only plugin I have tested so far to protect a certain area is world guard. Please feel free to test this with other plugins (towny and factions maybe?) and tell me the results, I will compile a list of plugins that are compatible from this.
To protect an area using world guard, make a region and set the "other-explosions" flag to deny.
Players who do not have permission for a region will not be able to destroy it at all.
------------------------------------------
Changing Particles:
There are two config options to change what type of particles are displayed when the cannon is fired, Particle-Type and Particle-Modifier.
The particle-type options lets you choose between 5 different type of particles.
Setting it to 0 will cause smoke particles, 1 is block breaking particles, 2 is splash potion particles, 3 is enderperl particles, and 4 is fire particles.
The particle-modifier option lets you change what the block and the potion particles look like.
When using block breaking particles for example, having a modifier of 10 will give you lava particles, and a modifier of 1 will give you stone.
------------------------------------------
Download:
Use the "Files" button to download the latest version.
------------------------------------------
Videos:
http://www.youtube.com/watch?v=gvbX2ss5VP8
Credits: jithins
------------------------------------------
Suggestions for changes and improvements are welcome.
If you are having trouble getting the plugin to work, make sure the config file was created properly.
This is what is should look like:
http://dev.bukkit.org/bukkit-plugins/particlecannons/pages/default-config/
Thanks for reading
-Waffles
@catic1234
just give you a blaze rod xD
how do i get the cannon in my inventory it won't work! plz help
This Plugin definitely goes somewhere in my top 10 favorite plugins! This Plugin is very fun to play around with and doing mass destruction! :D Great Work!
ps. works in 1.7 just fine :)
Can you add undo to it... would make it a lot easier to repair fun time damage
@LordVerlion
A cooldown seems like a good idea, so people don't spam it and the server dosn't lag ;). There is already a per-block config that allows you to control exactly what blocks can be destroyed.
Really neat looking plugin, especially since it can be protected from griefers. I love this idea as a raiding tool on a pvp server (blow a hole in the wall or something).
Is it possible to add in some extra options to make it a little more customizable? My suggestions were :
1) Set a cooldown. Even if you have ammo, until cooldown expires you cannot fire again. Perhaps it can warn you with how long is left (if possible).
2) Set blocks that cannot be destroyed. (Haven't tested if it damages bed rock yet, but would also like ability to set it to block anything you want from destruction (even dirt blocks). Would be useful as a Miner's tool that doesn't destroy ore.
@_Waffless_
Version 0.2 is really great! Nice job :D
Edit: The super-secret-setting confuses me, it's like it disables it D; Buh I don't know for sure 'cuz it's a secret xD
@CoolKill3r
Hmm, the § thing is working fine on my server, it must be one of your other plugin interfering. I will implement using & instead of § in the next update.
I love the idea!
Wow, the second update has alot of cool futures, awesome thx, ps § doesnt work, maybe cause u need a hookup plugin? You should make it to & color codes and hook it up with essentials chat collorings.
also if u can make it in the config so u can hurt playersr but not mobs for instance :D Player Damage: false Mob Damage: true
@iPyronic
Not anymore ;)
@_Waffless_
The only problem I see with the WorldGuard other-explosions flag is that it also stops damage too o.o So basically it fires and does nothing in a region with that set.
Oh and i have a suggestion, is it possible for you to add to be able to change the particle effect via a command or in the config? I would like the look of fireworks!
-Llama
@CoolKill3r
I will add an option to disable all block damage. You can already protect world guarded areas using the other-explosion flag.
Any way to add an option not to make it destoy things? cause id like this as a fun usage plugin and not something that can destroy worldgaurded areas ect. Also a way to turn off the enderpearl particals?
@_Waffless_
Thx :)
@llamadood53
I will work on fixing this issue, for now you can set the items using the config file.
@llamadood53
i fond the issue! can you plz fix this! the cannon only works if all the paramenters are the same (eg: /PCSetItems1 1 1) but it wont wor if you do /PCSetItems 180 32 1 can you plz help!
-llama
The particle cannon always seems to use itself as ammo even when i specify a particular item/block and when I choose an item (eg: stick) to use as the cannon it says its out of ammo even though it isn't! can you plz help me or fix this, thx!
Note: This works fine on 1.6.2 as well as the intended 1.6.4 version