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 Sep 6, 2012@Seoxiwleto Glad to hear that you like my plugin. The API interface with Movecraft is still not available, but I am in contact with the developer.
To reduce the effect of maximum gunpowder, set the maximum barrel length to a lower value. The bigger difference between max and min length the more influence. So if you set min/max length to the same value you will have no length effect.
At the moment I am programming another plugin. This time something less destructive. It is going to be something with minecarts, rails and path finding. More about this mysterious plugin in a few days :)
-
View User Profile
-
Send Message
Posted Sep 5, 2012Hello, Pavlov! Came back to minecraft and this was the second mod I downloaded. I still love what you've done!
My cannons aren't staying loaded with movecraft; did something happen to the API? o.o
Also, cannons now seem to take gunpowder proportional to how long they are; Are you planning on adding an option to make this optional? It really makes it hard to make cannons that aren't long impractical unless I set the max length really low ><
Thanks again, and keep up the awesome work - I'll keep blowing things up in the meantime.
-
View User Profile
-
Send Message
Posted Sep 5, 2012@99soren You have to load the cannon by clicking on the barrel with gunpowder and a projectile (e.g. stone, cobblestone, ...) Look into the config for more infos about projectile.
-
View User Profile
-
Send Message
Posted Sep 5, 2012When I make a cannon it does say 'cannon created', but when I try to fire, it says that I need Sulphur. I have putted in gunpowder!?
-
View User Profile
-
Send Message
Posted Sep 4, 2012@DerPavlov
I will try this out Thank you so much sir ;)
-
View User Profile
-
Send Message
Posted Sep 4, 2012@Curtis4321 I think you have a different plugin to destroy obsidian. I really recommend ObsidianDestroyer (I use a modified version with a small code piece for cannons). Please don't use ObsidianDestroyer and CreeperHeal in combination. To activate ObsidianDestroyer set Cannons: true, Durabilty: true and the amount of explosions necessary to blow up obsidian. Note further that the superbreaker ability is necessary to destroy obsidian. Use e.g. a diamond as projectile
The modified ObsidianDestroyer version by Squid:
https://dl.dropbox.com/u/16404245/ObsidianDestroyer.jar
-
View User Profile
-
Send Message
Posted Sep 3, 2012Hmm, for some reason Any block will blow up obsidian and it only takes 1 hit. Please tell me how to fix this, makes the use of obby useless at the momment
-
View User Profile
-
Send Message
Posted Sep 3, 2012@Curtis4321 I have contacted the new developer of ObsidianDestroyer but he has not responded.
-
View User Profile
-
Send Message
Posted Sep 3, 2012@DerPavlov
Dont think it works mate
-
View User Profile
-
Send Message
Posted Sep 2, 2012@Curtis4321 Use ObsidianDestroyer. I don't know if the latest official version works but the one below works. I have screwed up the compiling so it is little bit big :)
https://dl.dropbox.com/u/16404245/ObsidianDestroyer.jar
-
View User Profile
-
Send Message
Posted Sep 2, 2012How do i make it so i can change the amount of explosions needed to break Obsidian.
-
View User Profile
-
Send Message
Posted Sep 1, 2012@Sicarius531 You want to turn it off? Best set the min and max length of the cannon to the same size. I hope this works.
-
View User Profile
-
Send Message
Posted Aug 31, 2012@DevPavlov No, i mean the fact that if the barrel is longer the more gunpowder you can put into it. I've got a Skyblock server with DailyBonus and Autocraft, so i dont want my players to struggle for iron to increase their range.
-
View User Profile
-
Send Message
Posted Aug 30, 2012@Sicarius531 Is already implemented in the config.
construction:
cannon material: WOOL
max barrel length: 6
min barrel length: 2
general:
max gunpowder: 5
-
View User Profile
-
Send Message
Posted Aug 30, 2012Can you please add the barrel length / gunpowder thing in the config?
-
View User Profile
-
Send Message
Posted Aug 28, 2012@Zauber555 Cannons works with the worldguard 'tnt' flag. Regions that are protected by this flag will have zero explosion power. So allow the flag for global regions and deny it for special regions or the other way around. Look also in the config there is a protection hook entry.
-
View User Profile
-
Send Message
Posted Aug 28, 2012Hey great work, cannons can damage world guarded regions i wanted to protect these regions and canceled block damage but the it stopped damaging all blocks. how can i protect wg regions and damage blocks?
-
View User Profile
-
Send Message
Posted Aug 28, 2012@DerPavlov
Oh cool! Okay thanks!
-
View User Profile
-
Send Message
Posted Aug 26, 2012@bukkitdevJC If there is no player in the between the castles the snowball will stop flying. But I can give you no exact range. If you have a line of players between the castles you should be able to hit the other castle. Can be a little bit tricky to test.
This is a minecraft updating problem because chunks are not loaded and so on. There is a fix for minecarts but I was not able to solve the problem for snowballs.
-
View User Profile
-
Send Message
Posted Aug 24, 2012@DerPavlov
What if you have two castles that are far apart, there is no limit to how far the castles can be apart. The cannons can reach them no matter what distance?