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 Apr 14, 2013@Dwarfsosi For windows I recommend notepad+ +.
http://notepad-plus-plus.org/
But I converted the old cannons version language files.
https://dl.dropboxusercontent.com/u/16404245/CustomLanguage%20ANSI.yml
https://dl.dropboxusercontent.com/u/16404245/CustomLanguage%20UTF8%20Bom.yml
https://dl.dropboxusercontent.com/u/16404245/CustomLanguage%20UTF8.yml
I hope one of these files works.
-
View User Profile
-
Send Message
Posted Apr 14, 2013Hmm..So one question.. Ha sorry man, Whats the customlanguage file, and How do I convert it? If it helps, I run the server on a mac.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@Dwarfsosi Many guys reported this problem. I think the problem might be the language file, because I converted it to UTF8. So this might the reason why you don't get any message.
However try the following: Open your customlanguage with notepad+ + and convert it to ansi or to utf8. Maybe you can find a encoding that works. Please let me know if this solves the problem.
-
View User Profile
-
Send Message
Posted Apr 14, 2013Hi, I run a server, and wayy back in 1.2.5, we used to use this awesome plugin, took it off, and recently we are wanting it back. So I installed the plugin and everything, but its not working really. I mean, it says its in the server, but when I do /cannons it says "An internal server error has occured." And this is with both cannons 1.9.4 and 2.0. Also, when I build a cannon (3 wool, 2 buttons and a torch) it doesn't say iv'e created a cannon. It doesn't say I have loaded the gunpowder or cannon balls, but the server is reading the plugin somehow, because its in the HELP menu. So I texted my friend who owns a different server, he had the same exact problem. He told me, I have to go to the file, find the locked jar, and put it in the servers bin. Ha now I don't really know what he means by that. Sorry for all the details, but I do need help getting this plugin working. Anyone else having this problem?
-
View User Profile
-
Send Message
Posted Apr 14, 2013@DerPavlov
Spouty Spout features here i come!
Time for spreading my spout knowledge to cannons! :D
-
View User Profile
-
Send Message
Posted Apr 13, 2013I uploaded the first alpha version of cannons 2.0. for you to play around. Feel free to test and please tell me via comment or pm what you think about the update. I put really much effort into this, so I hope you like it. Like mentioned before, now it is easier for me to implement new features - therefore please give me suggestions.
What is new? Basically I scrapped the old config and restructured the whole plugin (not much old code left). Now you have 4 configs: one for each cannon you want to build, one for each projectile, one for all the messages, and one for general purpose. Everything should be adjustable. However if I have missed something, please inform me.
At the moment I have only one cannon design. It is 3 wool long and stored separately as .schematic. Feel free to modify the .schematic and the .yml. The only projectile available on startup is cobblestone. However it should be no problem to change that.
Please don't use this version on your live server, because I tested only the main features (load, fire, adjust). Everything else can crash your server.
-
View User Profile
-
Send Message
Posted Apr 11, 2013WOO! Dude, used this since 1.1, just want to say that it continues to be truly awesome!!!!!
-
View User Profile
-
Send Message
Posted Apr 8, 2013@killerx243 It will work with the present version. However essential does not work for explosion if no entity is provided, which is a big problem for the new version. I am going to make a ticket for this, so they can improve their code. I posted the essential code below.
https://github.com/essentials/Essentials/blob/master/EssentialsProtect/src/net/ess3/protect/EssentialsProtectEntityListener.java
-
View User Profile
-
Send Message
Posted Apr 8, 2013@DerPavlov
So if I have essentials set to not allow tnt and creeper block damage it will prevent block damage?
-
View User Profile
-
Send Message
Posted Apr 8, 2013@killerx243 Wait one week for Cannons 2.0 - it will be much better.
All good protectionplugins are capable to cancel the block damage done by cannonballs.
-
View User Profile
-
Send Message
Posted Apr 8, 2013I'm looking to suggest this plugin to my admin but I am unsure if you can completely disable block damage or not.
-
View User Profile
-
Send Message
Posted Apr 8, 2013@AlphaHarrius It is planned to make the cannon turnable. In the new version this is easy to implement. However I don't know how to make the user interface. There are thre possibilities, turning on command, turning with an item (configurable in the config) or turning the cannon automatically if the angle is >45°. Let me know what you like more.
-
View User Profile
-
Send Message
Posted Apr 8, 2013why not make it turnable
-
View User Profile
-
Send Message
Posted Apr 7, 2013@woodsnake420 Betatester are alway welcome. The features of the plugin get more and more and I don't have enough time to test everything.
A cannon without an owner is a sort of free cannon everyone can use without impact on his cannon limit. But it will not influence your server. I have rewritten the cannon detection, so this problem with hopefully disappear in the future.
I tested a new projectile type today - a dragon egg fallingBlock. Works great for flat surfaces but not for walls. Since it hits the wall and falls down. Maybe I can find a solution for this. However I set the player as a passenger of the projectile and this is in my mind the best way to travel. I am also thinking about a projectile cam. So you follow the projectile to the impact and after that you are teleported back to the cannon.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@DerPavlov
What you're coming up with is EXACTLY what I was hoping for in the future. I'm setting up cannon arena's now, and its working awesome except for a few bugs. The bug I was receiving was the same "ownership" related one that smashboxgamin was. After reading through the comment list here, I tried your version you uploaded to dropbox. It's working fine now. No java error in console, just this when the cannon is created:
"2013-04-07 10:12:18 [SEVERE] [Cannons] Cannon has no owner. Contact the plugin developer"
But the cannons themselves still work, unlike previous version. Would love to be a Guinea Pig... I mean beta tester for 2.0 if you need any help.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@woodsnake420 Copy the error on pastebin.com and link it here. At the moment I am working on cannons 2.0. In the new version you can create your own cannon, mortar or whatever you want. Build the cannon in minecraft, make a .schematic with worldedit and create a config for this cannon. Each cannon has its own config file, so you can make a highly accurate diamond barrel cannon or a cheap wood cannon.
Since I am restructuring the code, it is easier for me to implement new features now. Please post your ideas for future versions as comment.
-
View User Profile
-
Send Message
Posted Apr 6, 2013Just started messing around with your plugin in the last 2 weeks. LOVING it so far. I'm suddenly getting a weird error in the console when trying to create cannons. Should I post a ticket?
-
View User Profile
-
Send Message
Posted Apr 4, 2013@PiratesUprising change it to 'id: 42' and 'data: 0' then it should work.
-
View User Profile
-
Send Message
Posted Apr 4, 2013What would i put in the config to change the cannon material to iron blocks? i have tried this: construction: cannon material name: IRON BLOCK cannon material ID: 42:0 cannon material data: 15 and it does not work
-
View User Profile
-
Send Message
Posted Apr 2, 2013@matze135 The uft8 Config seems to make problems. Try this version:
https://dl.dropbox.com/u/16404245/CustomLanguage.yml