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 Nov 26, 2013@DerPavlov
Erm, but ObsidianDestroyer was last updated less than 10 days ago, for 1.6.4-R2.0... has there been a new craftbukkit build since then?
-
View User Profile
-
Send Message
Posted Nov 26, 2013@OprichnikYConec3 The barrel should be 3 blocks long. But you can also load the default cannon (plugins/cannons/designs/classic.schematic) with worldedit to see how it should look like.
http://dev.bukkit.org/bukkit-plugins/cannons/images/9-default-cannon/
@Typical_Name ObsidianDestroyes seems to have a new developer, which changed the path. It should be compatible with this version.
Link removed
However ObsidianDestroyer is broken at the moment because the bukkit code has change. I maybe update the old code to get a new clean interface for ObsidianDestroyer. However it will also take a while for ObsiadianDestroyer to update.
-
View User Profile
-
Send Message
Posted Nov 23, 2013I have problem. The plugin seems not to start when it is used in combination with ObsidianDestroyer; I get the following error message: http://pastebin.com/aPjHxeYs
Works fine without ObsidianDestroyer. Is the problem with Cannons, or with ObsidianDestroyer? (Both are updated to latest version)
-
View User Profile
-
Send Message
Posted Nov 17, 2013@leoen2
set custom explosion healing to true in the creeperheal config file for the world in creeperheal
-
View User Profile
-
Send Message
Posted Nov 17, 2013HI, I need to know where is the setup to change the amount of black wool to create a cannon. Can anyone help me?!!!!
-
View User Profile
-
Send Message
Posted Nov 16, 2013how can i make creeper heal repair my cannon impacts because for some reason it doesnt :( ??
-
View User Profile
-
Send Message
Posted Nov 12, 2013@DerPavlov
Ill try to write a few pages/update the cannons documentation. I'm in school right now so i t may take a few days, but i am the documenter for this plugin
I do need to know what changes were made during the latest release though and what new things were added, or else i dont know what I should be documenting or looking for :P .
I you also want a place to test out cannons yourself, you can use my server to test out cannons, as I always make sure I am updated. PM me if your interested in that
-
View User Profile
-
Send Message
Posted Nov 11, 2013@FlOppythp I didn't want to insult you, so sorry for that misunderstanding. However I am not a support hotline. If you have problems with your server I can't help, because I don't have experience with that.
Troubleshooting for cannons is no problem (to a certain degree). But cannons is a fun project for me, so please understand that I have limited time.
Also I am willing to share the code with anybody.
-
View User Profile
-
Send Message
Posted Nov 10, 2013@TheBiscuitBoy I updated it to the latest Bukkit version. Can you give me some response if it is working now?
Also some important questions to all users of cannons. It was a little bit quiet on this page, because I was focused on other projects. If you are still interested in cannons and also some new features I will help you as much as I can. However I also need your help:
If you are interested send me a pm
-
View User Profile
-
Send Message
Posted Nov 7, 2013Been using this plugin for a while and like it. Tried the new version of it and get this whenever I try to fire the cannon.
20:26:02 [SEVERE] Could not pass event BlockRedstoneEvent to Cannons org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:482) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:467) at net.minecraft.server.BlockButton.a(BlockButton.java:232) at net.minecraft.server.World.a(World.java:2429) at net.minecraft.server.World.doTick(World.java:1776) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoClassDefFoundError: org/bukkit/Sound at at.pavlov.cannons.FireCannon.delayedFire(FireCannon.java:189) at at.pavlov.cannons.FireCannon.prepareFire(FireCannon.java:165) at at.pavlov.cannons.listener.PlayerListener.RedstoneEvent(PlayerListene r.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) ... 9 more
-
View User Profile
-
Send Message
Posted Nov 6, 2013@calebbfmv You can use redstone wires/repeaters or torches to fire a cannon. On default you have to wire the button on the end of the cannon for redstone wires/repeaters. Torches should be place underneath the barrel. Best you load the cannon shematic in cannons/design/ with worldedit.
https://dl.dropboxusercontent.com/u/16404245/2013-03-31_15.28.54.png
https://dl.dropboxusercontent.com/u/16404245/2012-03-20_22.44.44.png
-
View User Profile
-
Send Message
Posted Nov 5, 2013Is there a possibility to allow for redstone to be attached to the firing end, but when a button triggers the redstone, it fires?
-
View User Profile
-
Send Message
Posted Oct 31, 2013@SpacezG Can you send me your server + cannons plugin via pm. Then I can test this.
-
View User Profile
-
Send Message
Posted Oct 28, 2013Just wondering if this is a glitch but when I shoot my cannon the snow ball goes straight down and it doesn't do anything like no damage or explosion just falls. Is there a fix?
-
View User Profile
-
Send Message
Posted Oct 20, 2013@Jedimeatball Hm, what does not work? Try to type /cannons to get some response from the plugin. If that does work, your cannon might have a missing part, please send me a picture.
-
View User Profile
-
Send Message
Posted Oct 18, 2013my cannon wont work and im doing it right please help
-
View User Profile
-
Send Message
Posted Oct 17, 2013@mineshaft87 Give me a little time to recover from too much programming :)
@adamwbb Can you try this on a server only with cannons?
-
View User Profile
-
Send Message
Posted Oct 16, 2013area is protected in unprotected area what is going on?
cannon load 5 gunpowder
1 cobble
aimed at mountainside
cannon on opposite side same config
opposite cannon will fire but when i go to use the other it says area protected.
i got worldguard the region is set to allow explosions i also have creeperhear set to heal explosions
-
View User Profile
-
Send Message
Posted Oct 15, 2013@DerPavlov
Will it still work with upcoming updates? My server is going to rely on this plugin :/
-
View User Profile
-
Send Message
Posted Oct 14, 2013@GreenGrizzlyBear I need a small break on the bukkit stuff. But I will make a new version in the future.