Cannons
What can it do?
Cannons is a highly configurable plugin which allows you to fire block build cannons. It is possible to aim and load different amounts of gunpowder to hit targets at different ranges. The power of redstone makes it possible to set the gun to auto load and activate the rapid fire mode. Choose your projectile from a broad spectrum of cannonballs and smash the enemy.
With Cannons 2.0 you are also able to design your own cannons using .schematic files and give each cannon their own settings, as well as different types of projectiles.

Features
- Build a cannon out blocks
- Design your own cannon and save it as .schematic
- Design and fire different projectiles to smash your enemy
- Use redstone to fire guns from distance
- Rapid fire with auto-load possible
- Destroyed blocks can be restored with CreeperHeal (if 'custom' option is true)
- Cannons will stay load and aligned due to the database
- Movement plugins (e.g. Movecraft) are supported if a cannon has a sign to store a tag
- API for ships plugins (e.g. iSails) to use cannons on ships without signs.
Videos
by ServerMiner
by wickedbrother
Out-dated showcase 1
Out-dated showcase 2
Recommended plugins
- ObsidianDestroyer
- WorldGuard (flag protection: '/region flag NAME other-explosion deny')
- CreeperHeal (set 'custom explosion' for your world to repair cannon damage)
Installation
- Install WorldEdit first (don't forget this)
- Copy the cannons.jar into your Bukkit's "plugins" directory, then run the server.
Dependencies
This plugin requires:
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version If you wish to disable this feature (/me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
Information for Cannons 2.x
Tutorial:
Additional information:
Cannon Designs
- Share your designs with other people: Cannon Designs
Known Bugs
- The cannon ball (snowball) becomes invisible after 60 blocks but hits the target.
- Voxelsniper will delete Buttons/Torches when you load the gun (be careful when you click the barrel)
Need Help?
Credits
- Raser4000
- DreTax
- JlJlJl
- and many more

-
View User Profile
-
Send Message
Posted Dec 27, 2012@DerPavlov
Grow, Grow, Grow!
-
View User Profile
-
Send Message
Posted Dec 26, 2012@Seoxiwleto See superbreaker more like an armor piercing weapon. I makes a small hole on impact and a big blast in the inside.
-
View User Profile
-
Send Message
Posted Dec 25, 2012@DerPavlov
I see, so obsidian will ALWAYS heavily dampen explosions, even with super breaker?
-
View User Profile
-
Send Message
Posted Dec 25, 2012@Seoxiwleto Ok, the penetrations is intended in that way. So it penetrates a few blocks and explodes with a small explosion. The explosion power does not change anything here.
@ambedrake I am kind of busy at the moment, but you can send me contact infos.
@jdawgerj515
Check if you use the right server version. If you us an older version than 1.4.5 R0.2 than use Cannons 1.9.3 R0.2
-
View User Profile
-
Send Message
Posted Dec 24, 2012how come every time i try to shoot the cannons i build it shoots to the left automatically with out me even turning the cannon.. how do i fix this?
-
View User Profile
-
Send Message
Posted Dec 24, 2012Ever since I updated to 1.4.6 the cannon goes like 90 degrees to the left of what it is set at. So if it is at 0, 0 degrees then it shoots exactly to the left.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@DerPavlov
You may not be a server admin, but we have a handful over here that LOVE to experiment (we even have a map for admins to experiment specifically lol) you are more then welcome to come hang out and ask us to test what ever you little programming heart desires =D We use teamspeak 3 and actually have a dev room (since we program other things as a community) ^_^
-
View User Profile
-
Send Message
Posted Dec 23, 2012@DerPavlov
Got it, I'll test that one in just a moment, thank you so much!
EDIT: Cannons are shooting straight again, perfect!
I'm still experiencing strange penetration. Blocks that are super breaker enabled break obsidian, but only the first few blocks. For instance, diamonds break a plus shape where the center goes two blocks in and the other parts are only one deep, but only with a max length max powder cannon. This seems far weaker than it should be.
Diamond is set up with 4 penetration. Obsidian will break two or three deep with 5 penetration. The numbers just seem off a bit.
In addition, a block with penetration six only enters about four blocks and explodes. It has an explosion radius of 20 but only explodes like one with an explosion radius of 2 would inside the obsidian. If I shoot the same block at a cube of stone, it does have a large explosion radius fitting the 20.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Seoxiwleto I am not a server admin so it is difficult for me to judge how good the latest build is. But I believe worldguard makes problems with the latest version. You can also use this version:
https://dl.dropbox.com/u/16404245/Cannons%201.9.3/R0.2/Cannons.jar
EDIT: Build a cannons with maximum length and load as much gunpowder as possible. Penetration depends on the projectile speed and decreases rapidly.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@DerPavlov
Gotcha, then I've deleted obsidian destroyer as there's no need to use it and it further complicates matters.
Cannons are still firing 90 degrees to the right and only blowing up the first few blocks of obsidian regardless of penetration; any ideas on those two issues? :S
EDIT: We're running 1.4.5 and are using the latest version of cannons in the list. Should we update to 1.4.6?
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Seoxiwleto I have tested ObsidianDestroyer, but it is a little bit odd at the moment. One shot destroyed my complete wall. Penetration seems not to work with ObsidianDestroyer, but Cannons can also destroy obsidian without it.
EDIT: You are using 1.4.6 R0.2? Maybe you can update to R1.0.
-
View User Profile
-
Send Message
Posted Dec 23, 2012(Edited my last post again, basically I figured it out, the shot is traveling 90 degrees to the right of where I shoot it)
Also, I thought obsidiandestroyer was required in order to use superbreaker o.o
This is so strange, now it looks like the shots are exploding on the surface of the obsidian. They used to vanish on the surface and go through it, doing nothing along the way. Now it doesn't even do that O.o
I take that back, it seems like it's penetrating ok, gotta test it more. The main issue atm is 90 degree misses.
Penetration seems to be working and I am indeed getting exploding obsidian, but no matter how high the penetration is set, it only blows out the first block or two.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@DerPavlov
Nono, now it doesn't destroy anything at all - the shot hits the wall and then...nothing. No blocks are destroyed at all. We're running 1.4.5 with the following plugins:
- RedstoneJukeboxTrig -RealMail -PorteCoulissante -BOSEconomy -EpicGlass -Vault -Dynmap -ObsidianDestroyer -Spectate -MidiBanks -RealShopping -AuthMe -DragonTravel -UpsideDown -Marriage -ControllerBlockWE -Cannons (The best plugin ever :D ) -SecretSwitch -Bookshelf -BlocksOnGlass -Runecraft -VariableTriggers -MoveCraft -MoneyDrop -CCTV Cameras -ShowCaseStandAlone -LagMeter -WorldEdit -MondoChest -WorldGuard -Craftbook
I'm expecting to fire the cannon and watch it punch out a line of blocks until it explodes and knocks out a bunch of obsidian, but instead I fire the cannon and the shot hits the obsidian and does nothing at all. I'd gotten it working last night after fixing the config for obsidiandestroyer, but now it's back to no damage :S
Ah....no....I figured it out, the shot isn't going through the obsidian....it's flying 90 degrees to the right of where I aim it O.o
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Seoxiwleto You mean its completely destroyed now? Can you send me your server version with plugins, its so odd because it works for me.
EDIT: Ok, you use ObsidianDestroyer. I haven't tested with that.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@DerPavlov
No luck; with the current .jar that you've got up I at least get some penetration/an explosion, but with the fix you sent I'm not seeing any of that - I test it by shooting at a cube of obsidian and then doing a
replace obsidian glass with worldedit. Not seeing any kind of damage at all with the one :s
EDIT: Well, I say that. Even with the one I used last night penetration now isn't working anymore; weird. Lemme mess with it some.
That's so strange, last night it wasn't effecting obsidian at all, then I changed obsidiandestroyer's config to allow for it and it suddenly started working. All of a sudden, neither version of cannons works this morning and has reverted to the old behavior :(
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Seoxiwleto So a quick fix. Can't let you wait until christmas for this fix. Please give me response if it works. The penetration should work now better.
https://dl.dropbox.com/u/16404245/Cannons%201.9.3/R0.3/Cannons.jar
-
View User Profile
-
Send Message
Posted Dec 23, 2012@tomrouse and Cannons 1.9.3 R0.3? One version should work at least.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@derpavlov no i am using the 1.4.6 R0.1
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Dacrazykilla Is tnt working in these regions? If not, cannons can't do also. I definitely going to rewrite the whole stuff again. So many problems with this code piece.
Penetration is a little bit off, but I will rewrite this also. Basically adapting and adjusting the minecraft code. Give me a few days, to get it working. I am kind of busy today, because I have to wrap my presents :D
-
View User Profile
-
Send Message
Posted Dec 22, 2012Simplified my post down to this:
This marks two separate issues for me:
1. Penetration values cause a shot to just ignore the blocks it penetrates. As I understand it, those blocks should be broken on the way to the destination too. EDIT: After testing this, it seems like the shot is indeed breaking most of the blocks on the way, but it "skips" the first block . On a solid cube, this make it look like it is "ghosting" through as the surface remains seemingly unharmed. Am I doing something wrong, or is this intended?
2. Super breaker tags seem to not be saving for blocks that don't default to super breaker according to the default config. For instance, obsidian is not set to superbreaker by default, and if I set it to true myself then it still won't pierce obsidian.
If you can help to fix my issues, I'd be more than willing to donate; I really have appreciated your plugin!