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 26, 2013@DerPavlov
It still allowed them to build their own cannons :(
-
View User Profile
-
Send Message
Posted Apr 26, 2013@Msell22 You can set the build limit to zero.
cannons.player.limit.0 will not work, because I didn't thought about that. But I fixed it for the next version. Thx for the input. Contact me if it does not work.
-
View User Profile
-
Send Message
Posted Apr 26, 2013Hey How do I deny access to players building cannons??
I use permissionsex and none of the permissions are working, I just want them to be able to load, aim and fire them.
Thanks! :)
-
View User Profile
-
Send Message
Posted Apr 26, 2013@Msell22 Thats a problem with the database. You can ignore the message or manually delete the entry in the database.
-
View User Profile
-
Send Message
Posted Apr 26, 2013Hey I love the plugin but what does it mean when it says this in the console, I checked the location and there is no cannon there.
[Server] SEVERE Unable to find cannon at Location{world=CraftWorld{name=World},x=393.0,y=69.0,z=1298.0,pitch=0.0,yaw=0.0}
Thanks a lot!!! :)
-
View User Profile
-
Send Message
Posted Apr 25, 2013@DerPavlov
Awesome to hear, writing something as big as a thesis paper is definitely a big feat! Cant wait to test the new version of cannons as well, i probably have 15 types of cannons already and even more projectiles.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@robotnikthingy Nice work. If I wait a few more hours I will get a new versions of cannons from you guys :)
But I can declare that I have finished my diploma thesis today, so I have now more time for cannons.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@Tsugaga
Here is a config where i made some notes indicating what each thing does. If anything is wrong hopefully DerPavlov can point it out
http://pastebin.com/NVLa6XU2
ill post one for the projectile files and main config shortly
Edit:
Configuration notes on projectiles
http://pastebin.com/5aPfnwC7
Configuration notes for the main config file
http://pastebin.com/Dr2UJ3tH
-
View User Profile
-
Send Message
Posted Apr 25, 2013@DerPavlov thats fine, if there is anything i can do to try and test things myself let me know
@Tsugaga ill answer what i can seeing how DerPavlov is a bit busy. As he has said, the new version of cannons is an alpha version, but in my experience is still quite useable.
The setting for barrel length, ect are missing because this version allows you to create your very own canons by using schematic files created in worldedit or MCedit, meaning cannons are no longer restricted to a black wool tube, but can be anything from mortars to guns shaped like a duck, and they can be given a whole range of different stats, projectiles, ect.
The propeties that projectiles can use seem to be superbreaker and incendiary for now, but you can also use any of the potion-effects supported by bukkit if you want more variety or projectiles similar to the ones used by the old version of cannons
As for a verbose setting, there is one already. Open the main config file in the cannons plugin folder and set the option "debugMode" to false\
As for an updated config explaination, i might go ahead and make one myself
-
View User Profile
-
Send Message
Posted Apr 24, 2013@Tsugaga First it is only a alpha version of the upcoming cannons 2.0. I run out of time so I published this version for you to test and report some feedback. I also report that I have in 2h the oral exam for my diploma thesis. I will give you an overview of all options and features of cannons as soon I have time.
@TrevorST18 Do you use any other plugins, that might cause problems. The only problem I can think of is the muzzle fire, because it is a explosion it might affect other blocks. Try to turn it off.
@robotnikthingy A rapid fire gun, would be a very nice idea. I can implement it, but it might not work for moving cannons. I have to test the chest reloading thing, I simple run out of time.
-
View User Profile
-
Send Message
Posted Apr 24, 2013I installed V2.0 A2 and the config is missing a few things, mainly the settings for barrel materials, min length, and max length.
It would also be nice if you could update the config page, seems a bit outdated.
Also are the possible cannonball properties? The only projectile by default is cobble and it has the "superbreaker" and "incendiary" properties. Are there more than those 2?
EDIT: Forgot to say, every time a block is broken this shows in the console: "[Server] INFO check cannon". Please remove this or add a verbose setting.
-
View User Profile
-
Send Message
Posted Apr 24, 2013This plugin is not working for me i make the cannons but the blocks around it become glitchy and It doesnt work like it should at all it doesnt shoot
-
View User Profile
-
Send Message
Posted Apr 24, 2013Also, is it possible to add an a time between bullets option? By this i mean if someone fires a cannonball which fires 5 little ones using the (numberOfBullets option), it would be nice if there was an option to add a delay between each one of those bullets.
This would make things like machine guns and autocannons possible, without having to rely on redstone clocks (which can cause server lag)
Edit:
It does not seem like the autoload function of cannons works for cannons 2.0 A2
The cannon will fire a projectile when using a redstone switch, but it wont autoload from a chest. I put the signs on the sides of the cannon schematic so im not sure whats wrong, and there are no errors in the console either
-
View User Profile
-
Send Message
Posted Apr 23, 2013@robotnikthingy All of them are listed in the Bukkit API. Simply type in the name like: blindness.
http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html
@CommodoreAlpha Nobody said that there is a type in my config file. You guys have to notify me if you find such a misspelling :)
-
View User Profile
-
Send Message
Posted Apr 23, 2013I had the same "error in language file" as richturd did, and it turns out the original config file had this, "BarreltoHot" while the newer config file you posted has this, "BarrelTooHot". Just wanted to point this out if you didn't already know.
-
View User Profile
-
Send Message
Posted Apr 23, 2013Also, what kind of potion effects can be used under the PotionEffects option?
-
View User Profile
-
Send Message
Posted Apr 23, 2013@robotnikthingy Thats true, if the '' are missing the yml reader output is very odd. I will change the reading sequence so it makes a log entry and removes this invalid value.
-
View User Profile
-
Send Message
Posted Apr 23, 2013Ah ok i see what i did wrong. For anyone else who has the same problem, my config was like this
placeBlock:
radius: 7
amount: 12
material:
- 35:1
when it should have been like this
placeBlock:
radius: 7
amount: 12
material:
- '35:1'
-
View User Profile
-
Send Message
Posted Apr 23, 2013@robotnikthingy Which version are you using? Maybe the amount of projectiles is zero or you are not allowed to place blocks in that area. Any errors in the log?
-
View User Profile
-
Send Message
Posted Apr 22, 2013I think i found another bug
The PlaceBlock option for the projectiles does not seem to do anything. I set it to 35:1 to try and make it place orange wool, but it did not place anything.
Also, setting it to just plain 35 will crash the minecraft client