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 12, 2013@robmcdonald5 I added a permission node for build a cannon. However there no message if this permission is missing. Check your cannon config for cannon(s).player.build and add it as permission.
-
View User Profile
-
Send Message
Posted Jun 12, 2013I don't understand why my cannon is working.. I havn't edited anything in the plugin at all and I can't seem to make any sort of cannon. I placed 3 black wool with buttons on eachside with a torch on one side.. What am I doing wrong??
-
View User Profile
-
Send Message
Posted Jun 11, 2013@Crysillion This complete lockdown off the cannon was unintentional. I will change it, so you can use a command to make the cannon private or public. Maybe add a list of people which can use it.
EDIT: I have tried to fixed the bug that only the owner can use a cannon. However I have no time to test it. Can you please verify if it works?
https://dl.dropboxusercontent.com/u/16404245/Beta/Cannons.jar
-
View User Profile
-
Send Message
Posted Jun 10, 2013Excellent work, DerPavlov. I will investigate using this method soon.
Is there any way I make it so all cannons are not locked by default and they can't be locked, by the way?
-
View User Profile
-
Send Message
Posted Jun 9, 2013@noobm Can send me the error message from the log?
-
View User Profile
-
Send Message
Posted Jun 8, 2013This doesn't work for me it crashed half of my plugins Including essentials and factions it also didn't allow tping Once I removed it all the plugins worked
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Crysillion Ok, finally weekend I managed to test the spawning thing. Cannons can spawn blocks as falling block. Every block should be possible here. The second method to spawn things is via spawn egg id and the entity id. 383:20 would spawn a bunch of primed tnt. However enderpearl can't be spawned that way, because bukkit does not allow it. If you want to teleport to the impact use:
cannonball:
properties:
-teleport
EDIT: Maybe I will make a separate spawn config for cannon in the future. I tried to spawn fireworks, however only plain rockets are possible. Maybe I can make a config with something more fancy.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Crysillion At the moment I am sitting in front of a 20.000€ mikroskope which is not working. But soon as it is fixed I will test it out.
-
View User Profile
-
Send Message
Posted Jun 7, 2013@DerPavlov
I anxiously await the results of your test. I am planning a server maintenance in about 11 hours and would like to ideally enable an Enderpearl ammunition of some kind within that maintenance.
Much appreciated, friend.
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Jarrett78 Dou you have worldedit in your plugin list, because else it would not restart. But you can send me a .zip of your plugins and I will have a look.
@Crysillion At the moment I have no time, but I will test it in a few hours.
-
View User Profile
-
Send Message
Posted Jun 6, 2013@DerPavlov
Did some more testing. I also made sure I was not in Creative mode (because enderpearls don't work when you're in Creative). Tested with just throwing an enderpearl and it worked. I then proceeded to test adjusting the numbers to various variants, ended up with something like this: http://pastebin.com/W1Mgm5iz
But it ultimately still does not work. I adjusted the radius from 0, 1, 10, 20, as well as the amount - 1, 10, and then 20. Nothing works at all.
You say everything looks good - if you have a working config for enderpearls, could you perhaps pastebin it? It does not seem to work for me at all.
Thanks!
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Jarrett78 I hope I understand you right. It first loads the designs and projectiles, when finished it says cannons load. Thats correct behaviour.
You probably need the cannons.player.build permission. But watch out, there is a typo in the classic.yml (cannon.player.build)
-
View User Profile
-
Send Message
Posted Jun 5, 2013@schmidti1999 I think there is a type in the config of classic.yml. It is cannon.player.build instead of cannons.player.build. So please correct that in your config.
-
View User Profile
-
Send Message
Posted Jun 5, 2013i gave me all permission, but it don't work yet. If you do nen plugins folder you where everything goes and also the. Jar, then you can provide it time to download?
-
View User Profile
-
Send Message
Posted Jun 5, 2013@schmidti1999 Worldedit is required and it would not work without it. However being OP is not enough at the moment. You need the permissions in the design files of your cannon. I don't know if it is a good idea to give all permissions to an OP.
@hoorigan The teleport feature was moved to cannonball:
properties:
- TELEPORT
I need a wiki :)
-
View User Profile
-
Send Message
Posted Jun 5, 2013Can a projectile (enderpearl for example) still be set to teleport a player to the point of impact? If so, what is the name for this effect and where in the projectile config should it be placed?
Edit: This question is for Cannons 2.0, not 1.X.
-
View User Profile
-
Send Message
Posted Jun 5, 2013No, it doesn't gone there is no message. and i'm op so i must build a cannon. is that plugin incompatible with other plugins? Worldedit is in my plugins folder too.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@schmidti1999 You probably have no permission for building a cannon. Please add permissions for
All permissions can be edited in your cannon or projectile design.
-
View User Profile
-
Send Message
Posted Jun 5, 2013I install the plugin, but it don't work: the help and introduction in the chat is there, but when i right click the torch, there isn't a massage and i can't reload the cannon. Help pls <:-/
-
View User Profile
-
Send Message
Posted Jun 5, 2013@ezybuddy And if you set ownerOnly to true? Does this change anything?