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 May 13, 2013@robotnikthingy: Thank you
-
View User Profile
-
Send Message
Posted May 12, 2013@richturd
you can make custom cannons while in game. make the cannon you want and the export it to a schematic using worldedits schematic save command
then just make a config file for ot and reload the plugin using the cannons reload command
-
View User Profile
-
Send Message
Posted May 12, 2013Can you please make it possible for server administraters to be able to make custom cannon designs while ingame? PLEASE!
-
View User Profile
-
Send Message
Posted May 12, 2013Can custom cannon designs work with custom blocks
-
View User Profile
-
Send Message
Posted May 12, 2013@richturd You have to use a block with has a certain direction, like a dispenser. It works also with normal blocks but then you can't rotate the cannon. To make a new design use Worldedit to load and save schematics. Like mentioned before
@noobm It should work.
@Bannanas12 I will make new projectiles, but first I have to implement the old features again. If I update something I only need to update one projectile, not 10 :)
-
View User Profile
-
Send Message
Posted May 12, 2013Could you upload pre-made projectiles, like the exact same projectiles from 1.9.4? This would be incredibly helpful.
-
View User Profile
-
Send Message
Posted May 11, 2013@Jagblade47
you have to look in the cannon config and check excepted projectiles, names are important!
ex: diamond_block.yml
general: projectileName: diamond_block itemName: diamond_block loadingItem: '57:0' alternativeId: - '1:0'
keep alternativeId: - '1:0' the same
-
View User Profile
-
Send Message
Posted May 11, 2013im wondering if this will still work with 1.5.2 or does it need to be updated thank u very much
-
View User Profile
-
Send Message
Posted May 11, 2013@robotnikthingy
Thank you, it works perfectly now.
-
View User Profile
-
Send Message
Posted May 11, 2013@jagdblade
The name of the file does not matter, you could name the projectile "balloon_cake" and it would still use cobblestone
If you want that projectile to use TNT, change
to
the "loadingItem" property determines what a player needs to load into the cannon for that projectile
@richturd
can you maybe upload a picture of what you want the cannons to look like? you mean a cannon that is 1 block long?
-
View User Profile
-
Send Message
Posted May 11, 2013I want to make a custom cannon design with just 1 block and nothing on the block. How do you do that? HELP PLEASE.
-
View User Profile
-
Send Message
Posted May 11, 2013I can't seem to figure out the custom projectiles either. I simply copy and pasted the cobblestone file, changed the item name to tnt (for the in game item name section) raised a few of the numbers, changed the permission from cobblestone to tnt, and saved it as tnt.yml to match the allowed projectiles in the cannon config file.
Yet it will not allow me to load a tnt block, still only cobblestone. Is it formatted wrong perhaps? Below is an example of how it's formatted.
Cobblestone:http://pastebin.com/ZYMSL81Z (This is the default projectile, unchanged)
tnt: http://pastebin.com/5g2AhPvV (This is the original file with a few changes.)
-
View User Profile
-
Send Message
Posted May 9, 2013@Ora_unit_SR388 Only if you place a sign on a cannon. However this feature is not working for cannons 2.0 at the moment.
@PiratesUprising Actually, no. Maybe your cannon is firing in the wrong direction and kills itself.
@Jagblade47 Like already mention you can build your own cannon with cannons 2.0. Look into the designs folder and you find .schematics which you can load and edit with worldedit.
-
View User Profile
-
Send Message
Posted May 8, 2013Is this mod compatible with the ships mod?
-
View User Profile
-
Send Message
Posted May 8, 2013@PiratesUprising
If you are using cannons 2.0 then try adjusting the "defaultHorizonatalFacing" property in the cannon config file
@Jagblade47
Cannons 2.0 allows you to build cannons of any shape and size defined by a schematic file, so the barrel length property is no longer used. Ill make a tutorial with a detailed explanation on this hopefully tomorrow
-
View User Profile
-
Send Message
Posted May 8, 2013Is there any reason why my cannons are exploding when i fire them?
-
View User Profile
-
Send Message
Posted May 7, 2013Since the 2.0 updates I have been unable to find a place to adjust the barrel length in the config files. Am I overlooking it or has this feature been removed?
-
View User Profile
-
Send Message
Posted May 6, 2013@dmaskell92 Bad news on my side. For me the explosion event for bukkit does not fire at all. I don't know if this is a problem of my plugin or bukkit.
EDIT: It was my fault. The @Eventhandler was missing, so the event didn't work. I implemented now a list of protected blocks in the cannon schematic for e.g. buttons and torches. Only if a unprotected block is destroyed the cannon will break. Therefore it makes a difference if you use a wool or a iron cannon, because the first one will be destroyed a sec.
-
View User Profile
-
Send Message
Posted May 6, 2013Great news, I look forward to it!
-
View User Profile
-
Send Message
Posted May 6, 2013@Ajaxan There was also an update for ObsidianDestroyer. So the latest versions will only work with the upcoming cannons version.
@dmaskell92 I will implement that today. Prepare to test it at 18:00 UTC :)