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 Jul 13, 2015@ColdFirePower A log file would be helpful (just post it on pastebin.com and post the link). When you get ebean.properties not found then you can ignore it or create a ebean.properties file.
EDIT: Make sure you have worldedit.
-
View User Profile
-
Send Message
Posted Jul 13, 2015The Cannons plugin doesnt work on my server it says missing help.txt or files.
-
View User Profile
-
Send Message
Posted Jul 13, 2015@robotnikthingy Can be done. I am not sure if the should be completely disabled, set it to manual fire (you have to assign targets), or just stops reloading. I think I will go for the manual fire option.
-
View User Profile
-
Send Message
Posted Jul 11, 2015Also, is it possible to make it so that when sentry cannons are receiving a redstone signal that they stop firing (when using autoloading)?
-
View User Profile
-
Send Message
Posted Jul 11, 2015@TheZerok666 Like the iron cannon, just with gold blocks instead of the iron blocks.
-
View User Profile
-
Send Message
Posted Jul 11, 2015@robotnikthingy I wondering how this error occurred. One of your cannons has no owner, can you check this?
-
View User Profile
-
Send Message
Posted Jul 10, 2015@DerPavlov
it looks like in your most recent version I get the following error when trying to load a sentry cannon with gunpowder. it loaded and fired fine the first time, but second time it wouldnt load or fire and gave this error in the console
http://pastebin.com/RyGuhAjN http://pastebin.com/SZbMi9Se
-
View User Profile
-
Send Message
Posted Jul 10, 2015@DerPavlov
And how does one make a sentry cannon?
-
View User Profile
-
Send Message
Posted Jul 10, 2015@robotnikthingy It took me more time than I expected, but the basic algorithm for aiming is now working. New features would be:
-
View User Profile
-
Send Message
Posted Jul 9, 2015Thanks for adding sentry cannons!
-
View User Profile
-
Send Message
Posted Jul 9, 2015@TheZerok666 I will upload the new version today
-
View User Profile
-
Send Message
Posted Jul 8, 2015@DerPavlov
Is there any kind of dev version that we could use for now? I'm getting the same error and this is disappointing
-
View User Profile
-
Send Message
Posted Jul 2, 2015@Heliostorm I currently working on the next version. This problem should be fixed.
-
View User Profile
-
Send Message
Posted Jul 1, 2015Every time I fire a cannon I get this error: 2015-07-01 15:00:05 [WARN] [Cannons] Task #49 for Cannons v2.2.6 generated an exception java.lang.IllegalStateException at java.util.ArrayList$Itr.remove(ArrayList.java:844) [?:1.7.0_79] at at.pavlov.cannons.scheduler.FakeBlockHandler.removeOldBlocks(FakeBlockHandler.java:83) [?:?] at at.pavlov.cannons.scheduler.FakeBlockHandler.access$000(FakeBlockHandler.java:23) [?:?] at at.pavlov.cannons.scheduler.FakeBlockHandler$1.run(FakeBlockHandler.java:50) [?:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:71) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:641) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot-20141001a.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
I've tried disabling all the fake block indicators in the config but the error still persists. The cannon itself fires just fine though.
-
View User Profile
-
Send Message
Posted Jun 30, 2015@T_X_T Since 1.8.3 there is a new BlockExplodeEvent, make sure your protection plugin is compatible. However, a fixed problem is fine for me :)
-
View User Profile
-
Send Message
Posted Jun 29, 2015@T_X_T
i believe i may have fixed the error just by re-closing the server , i believe the issue is fixed.
-
View User Profile
-
Send Message
Posted Jun 29, 2015@T_X_T
Oh and im about 100% (99.99999) sure that it was caused by that plugin.
-
View User Profile
-
Send Message
Posted Jun 29, 2015@DerPavlov
Please help, so i've had cannons for a while now recently installed movecraft...
but then also recently installed obsidian breaker -_- ( http://dev.bukkit.org/bukkit-plugins/obsidianbreaker/ ) now my cannons the regular type not the TNT create no damage
and i dont know how to fix it, (yes i removed the obsidian breaker .jar file and the folder it created.
-
View User Profile
-
Send Message
Posted Jun 28, 2015@GodsDead It should be saved in the database inside the Cannons folder. Are there any error in the log? What settings did you use? I will try to verify the problem.
-
View User Profile
-
Send Message
Posted Jun 28, 2015Hey DerPavlov I have some demo infinite cannons at my spawn for new players to experience what cannons can do/are, one issue is that they keep resetting to not having a projectile in them, its setup so once a projectile is added they are infinite, I can only assume this happens after a restart, is this information not saved? Or is this a bug/something I have done wrong?