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 Mar 3, 2013@JlJlJl After a few hours programming, I have implemented signs to cannons. The original idea is from Cowboy1919 and I have adopted it. You can now place a sign on a cannon and it will store the information on the sign. When the sign is moved, I can update the cannon location. Give me a few more hours, to finish the version.
Setting the penetration of a canistershot to 1 or 2 should destroy blocks. There are more cannon designs planed for the future, that allows completely custom designs. You build a cannon and define its properties.
-
View User Profile
-
Send Message
Posted Mar 3, 2013And would be great if you create different types of cannons (classic cannons, culevrins and mortars). By changing material or/and length. For example: culevrins is makes of 4 blocks of gray wool, classic cannons is makes of 3 block of dark wool, mortars is makes by 2 iron blocks. And different loading, cooldown, accuracy, range, progectiles which can be loaded into certain type(s) of cannon(s), minimal and maximal degrees (mortars is aiming from 45 to 90 degrees only (configurable)). If you will create it all with moving plugin, it would be great!!!))) I can help you with algoritm, programming and money)))
Sorry for bad English)))
-
View User Profile
-
Send Message
Posted Mar 3, 2013Hello, thank you for answer!!!))) Me need to correct any details:
1) Yes, I know when block of cannon moves it is resets.((( But if you create integration to moving plugin (or make your OWN), this bug will be solved)))
2) Can you to make config (for each projectile): opportunity cannistershots to break block=(true or false)?
4) Do you have facebook, skype, ICQ? (to pm)
:)
-
View User Profile
-
Send Message
Posted Mar 3, 2013@JlJlJl Hello, I am going to try to answer your questions:
I am going to look into the code now, maybe I send you a test version in a few minutes - be prepared :)
EDIT: Cannistershot and every projectile with penetration <= 0 will no longer break blocks.
https://dl.dropbox.com/u/16404245/Beta/Cannons.jar
EDIT2: Penetration behaviour is also updated. It should work better if the projectile hits with an angle of incidence of more than 10°. Also the amount of penetrated blocks is now calculated probably.
-
View User Profile
-
Send Message
Posted Mar 2, 2013Hello, author! I love your plugin, but I have some problems:
1) If I load gunpowder with projectile and move ship сannon (gunpowder, projectile and aim) becomes reset. Can you make an integration to plugin "ships"? (Do you can create plugin which makes ships move? I can to tell you algoritm of this mechanism.)
2) How to make cannistershot don't break any blocks?
3) Do you speak russian?
4) Can I help you?
-
View User Profile
-
Send Message
Posted Mar 1, 2013ok,then it works!!! it works!!!! thank you what ever you did it works!!! thank you
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe Can I have the link to your posting?
EDIT: Please don't post so long unformatted comments, use pastebin. But for me the config looks ok.
-
View User Profile
-
Send Message
Posted Mar 1, 2013respond.....
-
View User Profile
-
Send Message
Posted Mar 1, 2013i pasted
-
View User Profile
-
Send Message
Posted Mar 1, 2013-
View User Profile
-
Send Message
Posted Mar 1, 2013yes i have tried i have also tried going under config to see what was wrong and i noticed most of the cannon balls where on false
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe Have you tried to delete the config. Stop and restart the server. If you can only load cobblestone, the plugin has problems to read the config. But I can't verify this problem.
-
View User Profile
-
Send Message
Posted Mar 1, 2013i not going to send you a copie of my server for safety resons if your wondering i have not changed anything in the config file
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe Compress your server folder with WinZip, WinRAR,.... Then upload it and send me the link via pm. I am going to run you server and try to find the problem.
-
View User Profile
-
Send Message
Posted Mar 1, 2013which file
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe Can you send me your server folder as a .zip file. Upload it to dropbox or mediafire. Your world is not required.
-
View User Profile
-
Send Message
Posted Mar 1, 2013still does'nt work
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe delete the old cannons config in plugin folder of your server. Then restart the server and the plugin will create a new config.
-
View User Profile
-
Send Message
Posted Mar 1, 2013how do i update the config??
-
View User Profile
-
Send Message
Posted Mar 1, 2013@twetwetwetwe Hm, so many comments. Lets do it step by step.
I believe your config is outdated, so it can't find any projectile. So the plugin allows only cobblestone. I hope this helps.