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 2, 2013Sorry for my english. Its a great plugin.
jozefmery: Movecraft there is an update for 1.5.1.
But a other problem. I don`t now why, but the german language file is not work with cannons. "2013-04-02 12:22:56 [SEVERE] [Cannons] Wrong entry in the lanugagefile" After the Server start is the file empty.
-
View User Profile
-
Send Message
Posted Apr 1, 2013@PiratesUprising You can set the region 'tnt' flag of worldguard in the current version. Also for creeper heal you have to use the tnt option, because I remapped all explosions to TNT. Nevertheless for cannons v2.0 it is going to change again. If you have more problem, please contact me again.
-
View User Profile
-
Send Message
Posted Apr 1, 2013I have tried using creeper heal, the /ch magical true option comes up with /ch help and worldguard also does not stop explosions in protected regions from the cannons. I run a pirate rp server and people blowing up the map using cannons is really frustrating
-
View User Profile
-
Send Message
Posted Mar 31, 2013@jozefmery Ok, TNT didn't work because there was no id value in the config file. Typically copy&paste error. Blazepowder has the work id. Fixed both errors.
-
View User Profile
-
Send Message
Posted Mar 31, 2013@Ridley000 I am currently working on custom cannon designs. It allows you to make different cannon files for different cannon lengths. In the current version there is no way to adjust the multiplier. Maybe reducing the maximum length in the config file has an impact.
-
View User Profile
-
Send Message
Posted Mar 30, 2013@DerPavlov
Ahh, I see. Just tried the signs out! Wow, I had no idea you'd found a workaround for moving cannons. It works great!
Any way to disable cannon accuracy being dependent on its length? Our server has a few uses for really long cannons and it makes the short ones really funky. We'd like accuracy to depend on length, just not so drastically. Any way to at least reduce the multiplier?
-
View User Profile
-
Send Message
Posted Mar 30, 2013@Ridley000 SQL saves your cannon when you restart the server. This works for cannons with and without sign. The problem if the blocks of a cannon are moved, the plugin can't detect it. Therefore I used a sign which you put on the block with the torch to detect movement. There are a few bugs in the latest release, but I am going to release tomorrow a new one.
@jozefmery TNT should work, but I have to investigate it further. AND Movecraft has a new version.
-
View User Profile
-
Send Message
Posted Mar 30, 2013and for some reason blaze powder and tnt doesnt work, i have chcked the config, they are all good ! when i want to load tnt it just places it on cannon
-
View User Profile
-
Send Message
Posted Mar 30, 2013@DerPavlov
movecraft is outdated .. any currently working ?
-
View User Profile
-
Send Message
Posted Mar 30, 2013Wait, so does sign movement work right now or is it something that you're working on? That sounds cool!
Also, what are the advantages of using the sql functionality?
Thanks!
-
View User Profile
-
Send Message
Posted Mar 30, 2013I have finally started with the custom cannons project. So cannons (maybe mortars) will become even better and much more configurable. However there is much work to do.
-
View User Profile
-
Send Message
Posted Mar 30, 2013well nice mod it is really good
-
View User Profile
-
Send Message
Posted Mar 29, 2013@jozefmery You place a sign on a cannon (block with the torch on top) and the plugin stores information on this sign. If the cannon is moved it will retrieve information from that sign. Moving is done by other plugins, like Movecraft.
Autoload works only with a chest (ammunition storage - block with torch on top) and redstone wiring (Torch underneath the barrel).
-
View User Profile
-
Send Message
Posted Mar 29, 2013Hi, for some reason aiming works ! but i have some questions: how can the cannon be moved with a sign ? and I wanna know how the auto load works aswell. sorry if you anserwed to these questions !
-
View User Profile
-
Send Message
Posted Mar 26, 2013@SmashboxGaming I really need more time for testing. I am going to check this today.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@DerPavlov
I will post let you know if I find any issues with this one. However all the "/cannons reset" command does is bring me to the cannons menu. Doesn't seem to actually reset anything.
EDIT; I am having the same issue on this version.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Typical_Name Cannons spawns TNT, so it works with protection plugins. It is a little bit sloppy and I am going to change this a soon I have time.
@Pyro_Psycho You can place a chest next to the block with the torch above and load it with gunpowder and projectiles. Every time you fire the cannon with redstone (torch underneath the barrel) it will reload automatically.
@jozefmery RIGHT click and SHIFT+RIGHT click represent pushing and dragging the cannon. So when you RIGHT click the right side of the cannon will aim to the right. RIGHT clicking the left side will aim to the left. SHIFT+RIGHT click will do the opposite. The same applies for up and down. It can be that SHIFT does not work if it interferes with another plugin. Pleas contact me again if it does not work.
@SmashboxGaming Since cannons can be moved if they have a sign, it maybe possible that there are entries in the database for already destroyed cannons. If the player can only build a limited number of cannons, he needs a possibility to delete his non existing cannons. So the player can use the commend '/cannons reset' if he has the permission for this.
The error is a nasty null pointer error. Its a very short piece of code but I have no idea where the problem is. Can you give me some feedback on this version:
https://dl.dropbox.com/u/16404245/Beta/Cannons.jar
-
View User Profile
-
Send Message
Posted Mar 25, 2013@DerPavlov
"cannons.player.reset - Deletes all cannons of the player in the database"
Not sure what that means, a permission node to reset cannons? How does that work?
Also cannons 1.9.5 throwing errors when someone makes multiple cannons. http://paste.thezomg.com/8515/25652913/
-
View User Profile
-
Send Message
Posted Mar 25, 2013still waiting for the 1.5 update only issue i cant aim left and down, reseting files desnt help
-
View User Profile
-
Send Message
Posted Mar 25, 2013@DerPavlov
I love you (No Homo)
Also how do you Auto-Reload your cannons?