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.


  • 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, iSail) are supported if a cannon has a sign to store a tag

How to use it

This plugin was created to make cannons which can really be fired. Build the barrel with 3 wool blocks (can be changed in the config) and attach a button on both ends. Put a torch on the first block of the barrel and the system will recognize the cannon. The cannon must be loaded with sulfur and a cannonball (e.g. cobblestone) by right clicking on the barrel with the item selected in your hand. The more gunpowder you load in the barrel the farther the cannon ball will fly and the more penetration it will have.
To increase the vertical firing angle, right click the upper or lower side of the barrel with empty hands. By right clicking on the side of the barrel the horizontal firing angle can be increased. Shift+right click will decrease the angle. You can also aim by using the aiming mode. Click with the clock on the barrel and look in the direction you want to fire. If you have loaded and adjusted the gun right click the torch to fire.
The cannon can also be fired with a redstone torch underneath the barrel. For the 'autofire' mode you need to place a chest next to the block with the torch above (how it should look like). Load gunpowder and the projectile into it and the cannon will reload automatically. You have to wear a helmet to protect yourself else the noise of the gun blast will confuse you.

out-dated video

out-dated video

Alternatvie plugin showcase


  1. Install WorldEdit first (don't forget this)
  2. Copy the cannons.jar into your Bukkit's "plugins" directory, then run the server.


This plugin requires:


This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to

  • 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

Cannons Turorial

Additional information:
Main Config
Projectile Config
Creating Custom Cannons
Cannon Config

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)


  • Additional events/methods for seamless operation with movement plugins e.g. Movecraft, iSail


  • Raser4000
  • DreTax
  • JlJlJl
  • and many more


Version 2.0

  • custom cannon design
  • custom projectile design

Older Changelog


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of DerPavlov DerPavlov Apr 20, 2014 at 21:42 UTC - 0 likes

    @FlOppythp: Go Minecraft stops updating projectiles after a while. I made a function that updates the projectile to keep it alive.

    @twetwetwetwe: Go JIJIJI helped a lot in bugfixing. The upcoming version has several improvements.

    @LordDarkSkull88: Go Per command or sign, and the shape is not important? Can you explain how you would build and operate the cannon? Might be a new feature for the next version.

    @Lepoty: Go I think the problem is that cannon sign is an unloaded area. I hope this bug is fixed in the upcoming version.

  • Avatar of Lepoty Lepoty Apr 20, 2014 at 14:17 UTC - 0 likes
    [Cannons] Enabling Cannons v2.1-R3
    [16:12:30] [Server thread/INFO]: [Cannons] Loading projectile configs
    [16:12:30] [Server thread/INFO]: [Cannons] Loading cannon designs
    [16:12:30] [Server thread/ERROR]: [Cannons] [Cannons v2.1-R3] could not be enabled!
    [16:12:30] [Server thread/ERROR]: [Cannons] [Cannons v2.1-R3] exception:
    [16:12:30] [Server thread/WARN]: java.lang.NullPointerException
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.Location.getBlock(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.cannon.Cannon.isCannonSign(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.cannon.Cannon.updateCannonSigns(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.cannon.CannonManager.createCannon(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.Cannons.createCannon(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.dao.PersistenceDatabase.loadCannons(
    [16:12:30] [Server thread/WARN]: 	at at.pavlov.cannons.Cannons.onEnable(
    [16:12:30] [Server thread/WARN]: 	at
    [16:12:30] [Server thread/WARN]: 	at
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.reload(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.Bukkit.reload(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.command.defaults.ReloadCommand.execute(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.command.SimpleCommandMap.dispatch(
    [16:12:30] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.PlayerConnection.handleCommand(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.PlayerConnection.a(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.PacketPlayInChat.a(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.PacketPlayInChat.handle(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.NetworkManager.a(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.ServerConnection.c(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.MinecraftServer.v(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.DedicatedServer.v(
    [16:12:30] [Server thread/WARN]: 	at net.minecraft.server.v1_7_R2.MinecraftServer.u(
    [16:12:30] [Server thread/WARN]: 	at
    [16:12:30] [Server thread/WARN]: 	at
    Last edited Apr 20, 2014 by Lepoty
  • Avatar of LordDarkSkull88 LordDarkSkull88 Apr 20, 2014 at 00:11 UTC - 0 likes

    This is not working for me. It wont make it into a cannon after I set it up.

  • Avatar of JlJlJl JlJlJl Apr 19, 2014 at 09:37 UTC - 0 likes

    @FlOppythp: Go

    I think, you set big speed and projectile just flies away from players and don't updates by server. In next update it will be fixed.

    @twetwetwetwe: Go

    Where is problem? This plugins works correctly as I know

  • Avatar of twetwetwetwe twetwetwetwe Apr 15, 2014 at 21:25 UTC - 0 likes

    good plugin but lately it has been VERY glitchy, as in it broke as in it doesn't work =(

  • Avatar of FlOppythp FlOppythp Apr 14, 2014 at 15:06 UTC - 0 likes

    @DerPavlov: Go

    Man The mortar does not work, not matter what i try, the canonball does not go like i want it to, i can put any angle i want does not go in the air and fall back, some time i don't even receive the impact message like the canonball just disapear... in the air.

    How can i do a working mortar please ?

    Magestia Private Server. The freedom has never been so real.

  • Avatar of GodsDead GodsDead Apr 10, 2014 at 09:43 UTC - 0 likes

    @DerPavlov: Go

    Setting piercing damage (penetration ) to 10 does no damage, flys straight through upto 10 blocks as expected, so I presume the problem is with the actual explosion itself.

    PirateCraft - Pirate Themed minecraft server

  • Avatar of DerPavlov DerPavlov Apr 06, 2014 at 20:48 UTC - 0 likes

    @GodsDead: Go There was a problem with the piercing damage, that it can't be canceled. But that should be fixed in 2.1R3. Can you try to set the penetration of the cannonball to 10 and see if the problem occurs more often?

  • Avatar of GodsDead GodsDead Apr 06, 2014 at 17:35 UTC - 0 likes

    @DerPavlov: Go

    I run GriefPrevention 7.8, Other Explosions is protected, alas no fix. It only does part damage over a period of quite a few cannonballs.

  • Avatar of DerPavlov DerPavlov Apr 06, 2014 at 08:33 UTC - 0 likes

    @redeven: Go Any ideas how to reproduce the problem? I will keep an eye on it.

    @JlJlJl: Go Big updates, take some time :)

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments


Date created
Mar 04, 2012
Last update
Jan 23, 2014
Development stage
  • deDE
  • enUS
GNU General Public License version 3 (GPLv3)
Curse link
Recent files