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 Jan 7, 2014@gollumking Look in the direction your default cannon fires. Press F3 and search for the direction. The direction will be adapted if you build your cannon in a different direction.
Good point with the gunpowder. But you have to draw the bow - which might be similar. You can change change the id of the gunpowder, and also the amount. But you need at least 1 gunpowder to fire the cannon. Perhaps you can use a stick as gunpowder? You can also set 'ammoInfiniteForPlayer: true' which should not remove the gunpowder from the player inventory. So you can hit it with the stick until it is ready to use.
-
View User Profile
-
Send Message
Posted Jan 7, 2014wood slabs, and I forgot the buttons so it does work, however a new problem arose, it is not shooting forward it always shoots west :(. it says this in the cannon config "#used to adjust in what direction a projectile is fired from a cannon. adjust this if your cannon is firing sideways or at itself defaultHorizonatalFacing: west" what would I need to adjust for it to always point forward, turn it to forward?
also, how can I go about disabling gunpowder, a a ballista would only need to ammo which I have already working?
-
View User Profile
-
Send Message
Posted Jan 7, 2014@gollumking I tested stone slabs and they do work. Try to make a .schematic with the latest version of worldedit.
-
View User Profile
-
Send Message
Posted Jan 6, 2014Ok i can send pic 2morrow, and no i only speak english, just bad english...
Basicly the problem is that it seems to not reconize the slabs as the barrel, nor the torch as the launcher.
2mrrow i am going to retry the bista with no config edit to ammo ect, only to the needed ones.
I only need the snow/torch for the meaning items right, as im not allowing redstone/autoload, and movecraft is not enabled.
Psssp
-
View User Profile
-
Send Message
Posted Jan 6, 2014<<reply 1955761>> Do you speak german? I am a little bit confused by your english. Can you send me a picture of your ballista? Maybe we can figure something out.
-
View User Profile
-
Send Message
Posted Jan 6, 2014im working on configing a ballista/catapul. I would highly appreciate it if you could do that to the snowball.
also would anyone know how to set the barreal to wood slabs, as it seems to not work
-
View User Profile
-
Send Message
Posted Jan 6, 2014@FlOppythp
Dude. You can keep commenting here, and complain. He has life. Things to do. He got an IDEA where he was interested and he made it. Not everything can be perfect. Also, you won't find another plugin like this.
-
View User Profile
-
Send Message
Posted Jan 6, 2014<<reply 1955498>> You are not forced to use cannons. If you want a simple plugin use e.g. Pirate Cannon\\
http://dev.bukkit.org/bukkit-plugins/cannon/
Fireworks will be disable if you don't set any color for the fireworks. But I will add an enable option.
-
View User Profile
-
Send Message
Posted Jan 6, 2014@gollumking If you create a ballista you probably need an arrow instead of a snowball. Maybe I can fix that finally.
-
View User Profile
-
Send Message
Posted Jan 5, 2014Thank you very much, now its time to figure out a design that looks like a balista
-
View User Profile
-
Send Message
Posted Jan 5, 2014@gollumking Yes. Each cannon has a design. Check the Cannons/designs folder and you will find 6 files. For each design you have a .yml (cannon properties) and .schematic (how to build a cannon). To make your own design you can load .schematic with worldedit. Change the design and store it again with a different name. Add a new .yml file and restart the server.
You can delete the old designs which ship with cannons if you don't like them. Note that you need at least one design, else the plugin will copy the default designs to this folder.
More information you will find here:
http://dev.bukkit.org/bukkit-plugins/cannons/pages/installation-and-configuration/cannons-2-0-and-up/creating/
-
View User Profile
-
Send Message
Posted Jan 5, 2014I mean, can I prebuild a cannon, and set it so that only a cannon with that build works,
-
View User Profile
-
Send Message
Posted Jan 5, 2014@gollumking Classic cannon (Note there are button on both sides of the barrel):
https://dl.dropboxusercontent.com/u/16404245/Classic.png
The new iron cannon. Shorter, but more expensive to build.
https://dl.dropboxusercontent.com/u/16404245/IronCannon_1.png
https://dl.dropboxusercontent.com/u/16404245/IronCannon_2.png
The new mortar. Iron barrel with a iron pressure plate on top.
https://dl.dropboxusercontent.com/u/16404245/Mortar.png
Note that redstone torches/repeater/wires and also chests and signs are not needed for a cannon. But a chest allows to autoreload (shift+right click the torch) if there gunpowder and a projectile in the chest.
-
View User Profile
-
Send Message
Posted Jan 5, 2014cannon sry
-
View User Profile
-
Send Message
Posted Jan 5, 2014@gollumking A catapult or did you mean cannon?
-
View User Profile
-
Send Message
Posted Jan 5, 2014cab you preset how the catapult has to look, like say 1 specific build and that's all
-
View User Profile
-
Send Message
Posted Jan 3, 2014@CoasterCrazy If this message is fired then the bukkit event is canceled. My testing showed that everything works fine without CreeperHeal. But when CreeperHeal is running Worldguard can't cancel the impact event. I didn't check if I have the latest version, so maybe this is the issue with CreeperHeal. However Cannons should work with WorldGuard if you use the 'other-explosion' flag.
-
View User Profile
-
Send Message
Posted Jan 2, 2014Hi! I get this error show up often and its random:
Impact was at (coordinates) but the area is protected.
And there's no damage, and if there is it's only 1 block damaged. It happens randomly. One minute the cannons are working fine, another minute it doesn't work and gives that error. I have world guard, creeper heal, worldedit and more plugins but I don't see anything in console going off causing it to act like this. Can you shed light on this? The place where the exploisions occur aren't protected at all. I appreciate your support. Thanks!
-
View User Profile
-
Send Message
Posted Jan 2, 2014@samus1221 You are probably missing a permission. Try to turn on the debug option and check was it says. Usually the OP has permissions for everything, the others can't do anything. But a new video is definitely necessary.
-
View User Profile
-
Send Message
Posted Jan 2, 2014For some reason the default cannon, 3 wool, 2 buttons and one torch on top does not work, you need to put up a video on how to use this plugin. I am getting really stuck on how to use it.