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 25, 2015So no chance in having use this item OR this item for gunpowder? for named or normal gunpowder. Im setting up a trade sign in one of my citys at present to trade normal gunpowder for named one so people can still use cannons, but it would make much more sence to choose multiple items. Future development could implement additions to this, Like have different types of gunpowder for different strengths or quality of firepower.
-
View User Profile
-
Send Message
Posted Aug 22, 2015@robotnikthingy Anything that powers a block of the barrel (e.g redstone torches, levers..) should switch the cannon to manual mode. I think I will change that to a command based system in the next version.
-
View User Profile
-
Send Message
Posted Aug 21, 2015Cant seem to get switching sentry cannons into manual mode to work. I put a lever on the side of the barrel and switch it off, but it still remains in automatic mode
-
View User Profile
-
Send Message
Posted Aug 18, 2015@ebe0025 Java 6 should be enough. Can you first try to stop and start your server again? When there is no database present there is a warning that it created a new database.
EDIT: Can you send me the error log
-
View User Profile
-
Send Message
Posted Aug 17, 2015I do install WorldEdit and java 7 64bit but I see error.... this plugin need java 8??
-
View User Profile
-
Send Message
Posted Aug 16, 2015@oggehej Fixed the missing class.
I have a question about teams (scoreboard) in minecraft. Are these teams often in used, would that be interesting for cannons (access, sentry targets...)?
-
View User Profile
-
Send Message
Posted Aug 14, 2015It seems like you have forgotten to include the Metrics class in your latest releases. It means that if the server isn't running another plugin implementing Metrics, this plugin will crash.
-
View User Profile
-
Send Message
Posted Aug 9, 2015@DerPavlov
Okay PM me your email so I can send the .zip. Or tell me how to send it to you
-
View User Profile
-
Send Message
Posted Aug 8, 2015Really good plugin, been using it for some time now, and i really love it, so i don't want this to come across as complaining
\
EDIT: I just didn't look hard enough, whoops :D
-
View User Profile
-
Send Message
Posted Aug 8, 2015@JaffaMC I meant you server files. Make a zip of your server folder and send it to me. Delete everything I will not need. It makes testing for me much easier.
-
View User Profile
-
Send Message
Posted Aug 7, 2015@DerPavlov
What do you mean send you my server?
-
View User Profile
-
Send Message
Posted Aug 7, 2015@JaffaMC Ok, for 1.7.9 you will not have this. Can you send me your server with a few plugins. I will test it.
-
View User Profile
-
Send Message
Posted Aug 7, 2015@DerPavlov
I'm using 1.7.9 versions of all the plugins involved, so i don't have a relayExplosionEvent option
-
View User Profile
-
Send Message
Posted Aug 5, 2015@GodsDead I made several bug fixes for the sentry cannons in 2.3.4 (1 days old). If you still find error in the latest version, report back immediately.
You could make a crafting receipt with just one gunpowder that gives named cannons gunpowder on your server. That would save me some work :).
EDIT: Maybe I add crafting receipts to cannons. It seems to be easy to use.
-
View User Profile
-
Send Message
Posted Aug 5, 2015@DerPavlov
We have an abundance of Named Gunpowder as it came in a kit, Being in a kit it describes what its for, i.e Its used for cannons, But I also want players to be able to use normal gunpowder in game from creeper drops etc.
IN recent updated we have had TNT become infinite, its filling the barrel to fire and leaving the block there to be taken again! Could this be an issue with using a newer version of WorldEdit? I use the development versions.
We also just got a parade of errors in the console when trying to use the Sentry gun.
-
View User Profile
-
Send Message
Posted Aug 3, 2015@TheZerok666 I never thought Cannons would become so mighty. I just wanted something to fire my cannons on the castle wall. Everyone was pressing the button on the back, and expected them to fire. After the 10th time, "can this cannon fire when I press the button?", I snapped and searched for a way to make them fire.
Over time it began to grow and more features have been added. In my opinion it turned out quite good.
Cannons was my first large project, and only project in Java. Probably I made every possible mistake while coding, so thanks for your patience - I learned a lot. When Bukkit ceased to exist there was a time when I also wanted to stop developing. Luckily Spigot took over and not all of my work was lost.
Since I don't play actively anymore, I need more input from you. Share your ideas/visions with me and we can create something great.
-
View User Profile
-
Send Message
Posted Aug 2, 2015@DerPavlov
Thanks for developing this. It's a really great plugin :)
-
View User Profile
-
Send Message
Posted Aug 1, 2015@HunterGPlays Thank you for the tip. The problem is now fixed.
-
View User Profile
-
Send Message
Posted Aug 1, 2015Hey, I got a bug report. Shift-clicking with a projectile on the first block of a cannon makes the projectile get loaded without consuming it.
-
View User Profile
-
Send Message
Posted Aug 1, 2015@TheZerok666 I am currently working on that. It will be a whitelist mode where the owner is listed by default and you can add/remove players with commands.
The vacation was nice, but too short (like always) :)