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 Jun 10, 2012@laclongquan Ok. More infos. What does not work? Any error when starting the server or clicking the cannon?
-
View User Profile
-
Send Message
Posted Jun 10, 2012Plugin doesn't work. I used the instructions exactly. Currently using latest version of bukkit.
-
View User Profile
-
Send Message
Posted Jun 10, 2012In the version 1.9 are only a few new feature. The one I like most is aim by looking. Click the barrel with a clock and you will enter aiming mode. Right click again to leave it.
I have also worked with a friend of mine to count the amount of monster/player you have killed with a cannon. GuildAwards gives you points for each monster kill depending on the distance. If you are a plugin developer and want to use this interface contact me for more informations.
Also the messages have now color. It can be set in the customLanguage.yml by using keywords GREEN, RED, YELLOW, GOLD.
-
View User Profile
-
Send Message
Posted Jun 4, 2012@Megadj2000 Thats interesting. You have the latest version of cannons? I use also the 1.2.5 R3.0 without any problem. If you like you can send me your server file without the world to test. Maybe some other plugins are interfering. The delay which simulates the fuse seems to make problems.
EDIT: Problem occurs when snowballs are fired in unloaded chunks. I am going to make further tests.
-
View User Profile
-
Send Message
Posted Jun 4, 2012Since i updated to 1.2.5 R3 i'm getting an error (see below) everytime someone tries to fire a cannon. Is this gonna be fixed in a later update or could it be me? I'm using version 1.8.
Error: 17:52:17 [WARNING] Task of 'Cannons' generated an exception java.lang.NullPointerException at at.pavlov.Cannons.FireCannon$2.run(FireCannon.java:245)
-
View User Profile
-
Send Message
Posted May 29, 2012@DerPavlov
I sent you my server info, im waiting on you to join.
-
View User Profile
-
Send Message
Posted May 25, 2012@DerPavlov
Thanks works a treat :)
-
View User Profile
-
Send Message
Posted May 25, 2012@HansenXD Faction has a new API in the newest alpha. So please use this version:
http://dl.dropbox.com/u/16404245/Beta/Cannons.jar
@jhs232 I think you can allow all explosion in factions by setting the flag. But 'allow blockdamage to regions' should be false so worldguard regions are not destroyed.
-
View User Profile
-
Send Message
Posted May 25, 2012@DerPavlov Hey, I have just updated my factions plugin and now when people try to fire cannons to break blocks I get loads of errors, I have explosion enabled so am not sure what to do could you please help?
-
View User Profile
-
Send Message
Posted May 25, 2012Hey, I have just updated my factions plugin and now when people try to fire cannons to break blocks I get loads of errors, I have explosion enabled so am not sure what to do could you please help? :)
-
View User Profile
-
Send Message
Posted May 25, 2012@DerPavlov
Will check it. I really wanna use this for an alternative way to blow up faction land, but I don't want my players blowing up my spawn and such.
-
View User Profile
-
Send Message
Posted May 24, 2012@jhs232 I have not tested the latest version of worldguard but in the previous the explosion was not blocked by worldguard. For this I have implemented a hook to set the explosion power to zero if a projectile hits protected regions. You can set it in the config.
-
View User Profile
-
Send Message
Posted May 24, 2012Can this blow holes in worldguard protected land?
-
View User Profile
-
Send Message
Posted May 23, 2012@Damiatenjin I can visit your server but test first the version you have received by pm. I am pretty sure you use the alpha version of factions and it has a different API then the old one.
-
View User Profile
-
Send Message
Posted May 22, 2012@DerPavlov
Im back, sorry ive been gone, can you come on my server and see what the problem is?
-
View User Profile
-
Send Message
Posted May 22, 2012@LongThumb You can wire cannons by placing a torch under the barrel. If you set a chest a chest next to the barrel block with the torch the cannon will reload automatically.
http://dl.dropbox.com/u/16404245/2012-05-17_19.46.26.png
-
View User Profile
-
Send Message
Posted May 22, 2012Any chance you could add an option so I could have # cannons fire at once with redstone and a lever/pressure plate?
Or if It's already in, how does one do this?
-
View User Profile
-
Send Message
Posted May 22, 2012@Frydhamstr This is a towny feature maybe there is a options to allows explosions in towns.
-
View User Profile
-
Send Message
Posted May 22, 2012Can i disable grief in towny, yet still allow cannon damage? I want to make a raid server where cannons are the only way to break defenses.
-
View User Profile
-
Send Message
Posted May 19, 2012Forgot to add it to the projectiles list :P thanks!