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 Jun 5, 2013Hey sorry i have another problem. In the classic.yml config it says that owner only is false, but no one can use them but me. Here is the file. http://pastebin.com/3SebSsTm
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Crysillion Everythings looks good. A few things you can try:
-
View User Profile
-
Send Message
Posted Jun 5, 2013I cannot seem to get blockSpawn to work. I tried with web, then enderpearl. Web was an ID of 30:0. The current Enderpearl setup can be found here: http://pastebin.com/R2aaVfVs
It doesn't seem to ever actually do anything. Is this feature currently working, or?
EDIT: OK, I got Web to work, but the Enderpearl does not. Is there any way to load it up with an Enderpearl that would actually take you to where the cannonball hits?
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Crysillion I hope it is nothing critical. At least what I know you have to enable cannons.player.build. by your self. Cannons.* will not work. I have already fixed this issue.
-
View User Profile
-
Send Message
Posted Jun 4, 2013@DerPavlov
So there was indeed some bugs with permissions? I'm guessing that .jar you linked to fixes it?
-
View User Profile
-
Send Message
Posted Jun 4, 2013@DerPavlov
No worries, I understand as I am lazy myself too. :D
-
View User Profile
-
Send Message
Posted Jun 4, 2013@ezybuddy I have to write a better description. I don't remember feature I have implemented :)
-
View User Profile
-
Send Message
Posted Jun 4, 2013Thank you sooooo much! Your right you have to add the block to the list of projectiles in the cannon design! THANK YOU!
-
View User Profile
-
Send Message
Posted Jun 4, 2013@ezybuddy I tested your file and it seems your are using the wrong quotation marks(' 57:0'). Because it says, can't convert 22480 or something. And you have to add the projectile to the cannon, else you can't load it (which took me a while to figure that out).
-
View User Profile
-
Send Message
Posted Jun 4, 2013I have been working on trying to make new projectiles for the cannon. But when I create a new file, and name it after the block i want to fire, then copy and paste the cobblestone.yml into the new file, then edit it, it doesnt work!
Can you help me? Here is the link to my files. Cobblestone.yml: http://pastebin.com/by1xnngs diamondblock.yml: http://pastebin.com/DzXq6svX emeraldblock.yml http://pastebin.com/gExq1M6s obsidian.yml http://pastebin.com/0Vx3Vs9B tnt.yml http://pastebin.com/xwv9nAd9
Help ME!
-
View User Profile
-
Send Message
Posted Jun 4, 2013-
View User Profile
-
Send Message
Posted Jun 3, 2013Apparently, "/cannons reload" cannot be executed by console.
-
View User Profile
-
Send Message
Posted Jun 3, 2013My permissions are bugged too.
-
View User Profile
-
Send Message
Posted Jun 3, 2013@DerPavlov
I am opped, This is a test server, Does being OP not automatically give me all the permissions to build a cannon?
-
View User Profile
-
Send Message
Posted Jun 3, 2013@DerPavlov
Would it be possible to put in an upgrade system for cannons?
What i was thinking was in that in the config file there would be an option to define a block type, and if that block type is placed on the cannon then it received certain modifiers
something like
upgrade blocks
stone
- spread multiplier = 0.5
- velocity multiplier = 2
- explosion power = 5
and maybe where the upgrade blocks can be placed can be determined in the schematic the same the placement of chests and stuff are determined
@Crysillion
here is how i have the permission for cannons in my permissions.yml (using permissionsbukkit)
http://dev.bukkit.org/paste/7881/
and here is how i have the permissions set up in the config files of all my cannons
http://dev.bukkit.org/paste/7882/
@Greenturds
The bukkit staff probably need to approve of the update first before it becomes available for download
-
View User Profile
-
Send Message
Posted Jun 3, 2013Can anyone upload their Cannons permissions? Mine are still not working, and there's really no reason for it.
-
View User Profile
-
Send Message
Posted Jun 3, 2013I see you fixed it but how do I get the fixed .jar?
-
View User Profile
-
Send Message
Posted Jun 3, 2013@PiratesUprising The cannons are protected and only a direct hit can destroy them. However it looks very odd if the cannon floats in the air. So I changed it in cannons 2.0 to protected blocks. Buttons will be protected, but the barrel not. So the barrel represents the durability of the cannon.
-
View User Profile
-
Send Message
Posted Jun 3, 2013Im using version 1.9.4 and cannons do not blow up whenever they are fired at by another cannon, I have looked through the config and changelogs and it does not say how to make the cannons explode
-
View User Profile
-
Send Message
Posted Jun 3, 2013@marafca2 The cannon looks good, if there is a button at the front, it should work. I guess you need a permission to build the cannon. So please look into your design/classic.yml for the right permission.
@Greenturds Ok, I added it to the bug list.
EDIT: Now fixed.