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 13, 2013@der12panzer You have to load your .schematic (plugins/cannons/designs) with worldedit. Edit it and store it again with a different name. Make sure you copy also the .yml file for this file.
http://dev.bukkit.org/bukkit-plugins/cannons/pages/installation-and-configuration/cannons-2-0-and-up/creating/
-
View User Profile
-
Send Message
Posted Dec 12, 2013with wich formel ?
-
View User Profile
-
Send Message
Posted Dec 12, 2013I can t find a option, that change the cannons long.....
mhhh... pls help me
-
View User Profile
-
Send Message
Posted Dec 12, 2013Sry, I m new, and how I can do this?
-
View User Profile
-
Send Message
Posted Dec 11, 2013you have to modify the .schematic file of your cannon.
-
View User Profile
-
Send Message
Posted Dec 11, 2013How can I make the Cannon longer?, with wich option?
-
View User Profile
-
Send Message
Posted Dec 9, 2013@naomorii Place a chest next to the barrel (more specific to the sign/chest port which is given do to a sign in the default schematic). Fill it with gunpowder and projectiles and activate the cannon with redstone. Redstone firing is possible with a wire/repeater to the button or a torch underneath the barrel.
-
View User Profile
-
Send Message
Posted Dec 9, 2013Can you explain how to autoload cannons with a chest?
-
View User Profile
-
Send Message
Posted Dec 9, 2013@naomorii Feel free to test and report the errors. I have added a new feature which teleports the player behind the cannonball. This will replace the old teleport feature. It is pretty nice to launch yourself over a forest :)
-
View User Profile
-
Send Message
Posted Dec 9, 2013It seems to work for the main functionnalities, I will tell you later if I have any problem. I'm your tester. ^^
-
View User Profile
-
Send Message
Posted Dec 9, 2013@naomorii The latest version should work with the new bukkit version. Please inform me if ther is a problem.
-
View User Profile
-
Send Message
Posted Dec 9, 2013Thanks a lot, I want to use it in a 1.7.2 server.
-
View User Profile
-
Send Message
Posted Dec 9, 2013@Ajaxan I checked the code and it seems there useLimits node is not used. I will fix that today when I am back from work.
EDIT: After testing it seems to work fine. So no missing part in the code. Do you still have this problem?
@HaltsLongBow I will release something today.
-
View User Profile
-
Send Message
Posted Dec 3, 2013When will this update for 1.7.2?
-
View User Profile
-
Send Message
Posted Dec 2, 2013I'm getting an error where, although limits are disabled, players are unable to build cannons. The message "You are unable to build 0 guns." comes up whenever a non-admin tried to build one. I have given players permission to build, load, adjust, and fire the cannon but that is it. Is this a permissions problem or is there something else going on?
Thanks for making this awesome plugin!
-
View User Profile
-
Send Message
Posted Nov 28, 2013@Typical_Name For exploding projectiles I recommend the place block section in the projectile. Use as material '383:20' to spawn primed tnt which explodes after 3s.
http://dev.bukkit.org/bukkit-plugins/cannons/pages/installation-and-configuration/cannons-2-0-and-up/projectile/
@drtshock I changed it now. I have to figure out how to make the interface between Cannons and ObsidianDestroyer. I think the best way is to write a custom explosion event.
Edit: I removed the snowball thing because the event bypassed some block protection plugins.
-
View User Profile
-
Send Message
Posted Nov 27, 2013@DerPavlov
I still have the function and support for snowball in ObsidianDestroyer. I can work with you to get it working properly. :)
-
View User Profile
-
Send Message
Posted Nov 27, 2013@DerPavlov
You'll need to use our new namespace. I changed it for 4.x because we completely broke our API. You'll want to grab io.snw.obsidiandestroyer.
-
View User Profile
-
Send Message
Posted Nov 27, 2013I has feature request: Projectile that can explode in midair and split into more projectiles. This could be used, for example, for flak cannons - you would shoot the cannonball into the air, and then it would explode and split into smaller cannonballs, which in turn explode in a larger radius.
-
View User Profile
-
Send Message
Posted Nov 27, 2013@Typical_Name It is broken since a while. At the moment cannons can't pass it penetration explosion to ObsidianDestroyer. Normal explosions work fine.