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 Aug 6, 2012so, for limitA/B you put a number? or what
-
View User Profile
-
Send Message
Posted Jul 31, 2012@DrBreadgun Use the latest factions beta version or use the cannons beta.
https://dl.dropbox.com/u/16404245/Beta/Cannons.jar
-
View User Profile
-
Send Message
Posted Jul 31, 2012When i shoot a cannon, it doesn't make a hole when it blows up, I get this:
31.07 10:03:41 [Server] INFO ... 10 more 31.07 10:03:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) 31.07 10:03:41 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:601) 31.07 10:03:41 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 31.07 10:03:41 [Server] INFO at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source) 31.07 10:03:41 [Server] INFO at at.pavlov.Cannons.MyListener.ProjectileHit(MyListener.java:373) 31.07 10:03:41 [Server] INFO at at.pavlov.Cannons.CreateExplosion.create_explosion(CreateExplosion.java:292) 31.07 10:03:41 [Server] INFO at at.pavlov.Cannons.CreateExplosion.blockBreaker(CreateExplosion.java:89) 31.07 10:03:41 [Server] INFO at at.pavlov.Cannons.CreateExplosion.breakBlock(CreateExplosion.java:47) 31.07 10:03:41 [Server] INFO at at.pavlov.Cannons.CannonPlugin.checkPermission(CannonPlugin.java:286) 31.07 10:03:41 [Server] INFO Caused by: java.lang.NoClassDefFoundError: com/massivecraft/factions/struct/FFlag
-
View User Profile
-
Send Message
Posted Jul 20, 2012@laclongquan
To use Cannons Autoload you have to do the following things. First place a redstone-torch underneath the barrel and wire the torch so you can turn it of and on. Then load the cannon with gunpowder and a projectile. Place a chest next to the block with the torch and fill the chest with gunpowder and projectiles (example). If you fire the cannon now with redstone the cannon will reload itself and removes the stuff from the chest. Is the chest empty it will stop firing.
-
View User Profile
-
Send Message
Posted Jul 20, 2012Hey! Been a while since I visited here! Still can't get redstone autoload. :(
-
View User Profile
-
Send Message
Posted Jul 19, 2012@robotnikthingy If you are running creeperheal < v1.5 than delete the config (very important because it makes problems if you don't do it). Put the latest version of Creeperheal and Cannons to your plugin folder. Set the Creeperheal config for your world to 'magical:true'. So it will heal damage done by cannons. Restart your server and it should work.
-
View User Profile
-
Send Message
Posted Jul 19, 2012how do you make creeperheal work with cannons?
-
View User Profile
-
Send Message
Posted Jul 18, 2012@watdidyusaey So every time you turn the cannon you melt it because you cast a fireball :) I am going to a node in the config so this can be edited.
-
View User Profile
-
Send Message
Posted Jul 17, 2012@DerPavlov
Thanks! We use magicspells and use fists as our wand.
-
View User Profile
-
Send Message
Posted Jul 17, 2012@watdidyusaey Clock feature is already implemented. I know MCMMO uses also fists but I don't know any other plugin. I don't know how much I need to change in code, but it should not be that complicated.
-
View User Profile
-
Send Message
Posted Jul 17, 2012@DerPavlov
Any item really. ITs just that our rpg plugin uses fists so it interferes with cannons.
Ah, it would be great to add the clock feature to help.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@PotatoBadmaash upload it to mediafire, dropbox or somehow else and send me the link per pm.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@PotatoBadmaash I think the best is you make a .zip of your server folder and send it to me. So it is easier for me to debug the problem.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@DerPavlov
yep it says World Guard hook loaded:
I made the cannon arena region flag allow tnt, and i denied tnt flag in global, and I have followed what you had said in the previous post, however i have the same result, could it be that another plugin is interfering with this plugin?
I dont know much about plugins and how they work but is it possible that you make the nature of the blocks being placed as the cannon balls be treated the same way as a ghast fireball so that it can be allowed or denied easily in regions for people using worldguard? If there is no other way to fix this problem could you possibly make it that way in the future development of the plugin? Since I have tried almost everything there is that I can do unless there is another possible way to fix my problem.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@PotatoBadmaash Ok, thats strange. If you deny 'tnt' there should be no block damage. So check the config if there is 'enable protection hook: true' and 'blockdamage in regions: false'. You can also set 'playerdamage in regions: false' to protect the player.
No only snowball can be fired. Sorry about that, but the protection hook should be working. If tnt does not do any block damage, cannons should do either.
EDIT: Check the log if it says on startup: Worldguard hook loaded.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@DerPavlov
Hi , sorry for the late reply, I tried that but it doesnt seem to be working is there any other way i could possibly do what I had asked earlier, and thanks once again.
Edit: Is there a way to make all the projectiles or weapons that you load into the cannon, come under the classification of a ghast fireball and not as an individual explosion, since whatever I have been trying hasnt been working to disable block damage at all without it either doing no block damage or block damage everywhere on my server.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@PotatoBadmaash Should be possible if you set the 'tnt' flag for gloabal region to deny and enable it in local regions.
-
View User Profile
-
Send Message
Posted Jul 15, 2012Hi I was wondering if it is possible for the cannon plugin to not make any damage in certain zones with the use of worldguard plugin, f.e there is no blockdamage in global region, however there is way to make block damage in certain specified zones or regions.
If there is way please help me asap since I cant find a way to log explosions( well who made the explosion happen) on my server and this will stop the idiots that fire it on other factions buildings and cause whole a lot of griefing.
Thank you. and sorry for the long request.
Edit: and I am kinda new to the server stuff I just recently launched my server, so I have limited knowledge on how alot of plugins work.
-
View User Profile
-
Send Message
Posted Jul 15, 2012@watdidyusaey What item do you want to use to adjust the cannon? It is also possible to aim with a clock. Select the clock and right click on the cannon. Right click again to leave the aiming mode.
Sry, there is no possibility to the set the player damage to zero, because the default minecraft explosion code causes also player damage. Only player damage without block damage is possible. But effects apply on the player when her receives damage due player damage. This reduces with the square of the distance.
-
View User Profile
-
Send Message
Posted Jul 14, 2012Also I'm having an issue where the blast power is affecting the damage of the blast. I was wondering if u can specifically make it so the radius of the blast is larger, but the damage is not. IE I want to try firing a cannon that does zero damage and has a large radius but applies effects to players.