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 Aug 1, 2015@DerPavlov
Could you also add a whitelist mode option for player targets? Like, it will target all of the players, except the ones in the list (i.e. admins or players who built the cannon & their friends/allies)
Also, did you have a good time during your vacation? :D
-
View User Profile
-
Send Message
Posted Aug 1, 2015Back from my 2 week vacation.
@TheZerok666 It is definitly planned to target players too, but it will take me some time to implement commands to add and remove players from the target list.
@JaffaMC And TNT is doing damage? There is the BlockExplodeEvent for spigot 1.8.3+ but it would prevent blocking of explosions, instead of blocking them all. Have you tried to set relayExplosionEvent: True?
https://github.com/DerPavlov/Cannons/blob/master/src/main/resources/config.yml
@GodsDead Just one type of gunpowder is possible, either named or unnamed. Mixing is not possible anymore. I can also add a list of gunpowders, but it will break all your design files. Maybe it is possible to test first if it is a list. How important is this for your server?
@joshfow Difficult to tell, you can send me your server than I can have a look. Make sure you have WorldEdit, since Cannons will not load without it.
@robotnikthingy I think you have a sentry in a no existing, or different world. Probably a bug on my side.
-
View User Profile
-
Send Message
Posted Jul 29, 2015Is there any way to make the sentry cannon target players too? I'd love to make some sentry cannons for my fort so that players can try to destroy it
-
View User Profile
-
Send Message
Posted Jul 29, 2015Hey, cannons aren't doing any damage in WorldGuard regions. other-explosion is not DENY. The regions do not even have the other-explosion flag. Even if I set it to ALLOW, cannons do not do damage.
-
View User Profile
-
Send Message
Posted Jul 28, 2015Im falling behind on my updates, sorry.
How do I set multiple gunpowders? I want to use normal SULPHUR & named SULPHUR. Do I separate them with a commer? gunpowderType: 'SULPHUR:0'
-
View User Profile
-
Send Message
Posted Jul 24, 2015I'm running Spigot 1.8.7 (2015-07-21a) with Cannons 2.3.3. Whenever you do anything that should create a message, no message comes up. Such as when you create a cannon, the older versions popped up a message that said "Your cannon was created successfully" or something like that. There is nothing in the console or logs. I have tried Spigot 1.8.5 and an older version of 1.8.7 but neither produces a message. Was this taken out of the newer cannon versions? It's hard to tell if you need to clean it or if it needs ammo and such when you are trying to fire them.
-
View User Profile
-
Send Message
Posted Jul 21, 2015@DerPavlov
Thanks, seems to work fine.
-
View User Profile
-
Send Message
Posted Jul 21, 2015Cannons keeps spamming the console with this message
http://pastebin.com/fRKr2FMv
-
View User Profile
-
Send Message
Posted Jul 20, 2015@DerPavlov
There isnt a 2.3.3 it only goes upto 2.3.1, I can't update my java as im on a shared host. I will message the host if you are 100% certain that they are still using the long outdated Java 6, Im sure the latest WE needs a newer Java and that works?
-
View User Profile
-
Send Message
Posted Jul 20, 2015@GodsDead You have Java 6. For this you need 2.3.3 where this problem is fixed. Or just update your Java.
-
View User Profile
-
Send Message
Posted Jul 20, 2015Updated Spigot as well as cannons just now, and latest cannons wont work :(
-
View User Profile
-
Send Message
Posted Jul 20, 2015@Rulerish That no error, just a warning that the plugin creates a new table in the database. Next restart it should be gone.
-
View User Profile
-
Send Message
Posted Jul 18, 2015Hello, getting this error on start up
http://pastebin.com/PuwyDTqM
-
View User Profile
-
Send Message
Posted Jul 17, 2015@Heliostorm I can make a version for the latest Bukkit.
-
View User Profile
-
Send Message
Posted Jul 17, 2015Is the new version for 1.8 only? Doesn't work on my 1.7.10 server.
-
View User Profile
-
Send Message
Posted Jul 17, 2015lol who is using Java 6 still? (Im on a mac and Im playing minecraft on Java 8 so mac users should not be using java 6 still)
-
View User Profile
-
Send Message
Posted Jul 15, 2015@Termite117 Now it should be compatible with Java 6
-
View User Profile
-
Send Message
Posted Jul 14, 2015@DerPavlov
http://pastebin.com/XhCAYT4i Ignore all my other not up to date files i gotta update those once I fix cannons. Also yes if you could send me a older version that would be very helpful thank you!
-
View User Profile
-
Send Message
Posted Jul 14, 2015@Termite117 Can you send me the part of the log file with the error. Just post it on Pastebin.com and give me the link.
Can you also check the following:
-
View User Profile
-
Send Message
Posted Jul 13, 2015Hi cannons wont load on my server. The console keeps asking if its up to date and when i type /cannons in the chat it wont even load any commands but when i type it in console it tells me its running.