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 Sep 2, 2019In reply to DerPavlov:
its almost like the cannon doers not realize the chest is there
-
View User Profile
-
Send Message
Posted Sep 3, 2019In reply to the157thlegion:
Which minecraft/server version are you using?
Do you have any mods running?
Do you use a special chest or inventory?
Worst case you can send me a small version of you server and I will test it.
-
View User Profile
-
Send Message
Posted Mar 2, 2020In reply to DerPavlov:
no and no
-
View User Profile
-
Send Message
Posted Jun 19, 2019The mortar won't fire. I right click the torch on the mortar when fully loaded and it responds as if i just was adjusting it's angle.
-
View User Profile
-
Send Message
Posted Jun 19, 2019In reply to XenoSyncXD:
Indeed I missed that one. Go to designs/mortar.yml and replace 'minecraft:torch' with 'minecraft:wall_torch' in the constructionBlocks.
-
View User Profile
-
Send Message
Posted Jun 9, 2019https://pastebin.com/W1qQVfvD
This projectile I made isn't being removed from inventory on usage. All of my other projectiles are subtracted, but this one is virtually infinite.
Any ideas on why?
-
View User Profile
-
Send Message
Posted Jun 10, 2019In reply to MithrandirMage:
For me your projectile is loading and subtracting ammo from the chest correctly. Please make sure there are no errors in the log.
Also check if your if the cannon you are using has enabled ammo consumption
-
View User Profile
-
Send Message
Posted Jun 16, 2019In reply to DerPavlov:
I don't use a chest, all I do is load it in manually. But it doesn't take the emeralds from me... I'll keep trying with some diferent cannons and maybe a diferent item ID since this one doesn't seem to want to be substracted.
Just using a normal wool cannon with presumably default ammunition configuration:
https://hastebin.com/ibovetasuy.bash
-
View User Profile
-
Send Message
Posted Jun 17, 2019In reply to MithrandirMage:
I uploaded a new version. Let me know if it solves the problem.
-
View User Profile
-
Send Message
Posted Jul 8, 2019In reply to DerPavlov:
If it's 2.5.5, the issue is still present.
-
View User Profile
-
Send Message
Posted Jul 9, 2019In reply to MithrandirMage:
I found the problem in your design file. Please replace "ENTITY_IRONGOLEM_ATTACK" with "ENTITY_IRON_GOLEM_ATTACK" and it will work.
Also enable the debugMode in the config.yml to display more details in case of a problem.
-
View User Profile
-
Send Message
Posted Jun 4, 2019Mortars didn't work at 1.14.2
they cannot shoot
-
View User Profile
-
Send Message
Posted Jun 5, 2019In reply to Forge_User_93076632:
There seem to be some changes in 1.14 which requires some changes in my code. I will try to update it as soon as possible.
-
View User Profile
-
Send Message
Posted Jun 10, 2019In reply to DerPavlov:
Please try to replace "wall_sign" with "oak_wall_sign" in your cannon design files
-
View User Profile
-
Send Message
Posted May 29, 2019Hey there DerPavlov, it seems Cannons 2.5.3 is incompatible with the latest version of FastAsyncWorldedit for 1.13.2. The plugin loads correctly, but nothing happens when you create a cannon - its as if the plugin isn't installed. There are no errors whatsoever at any stage of the process. However, it functions perfectly when FAWE is replaced with the latest version of the regular WorldEdit.
Normally I would simply downgrade to regular WorldEdit, but FAWE has quickly become a standard and essential plugin for most servers. I wish I could provide more details as I understand it would be difficult to debug this issue without them, but there aren't any - my personal hunch is that it has something to do with FAWE's API not being exactly the same as WE's. Is it possible to investigate this
-
View User Profile
-
Send Message
Posted May 29, 2019In reply to galacticwarrior9:
I was just about to report this myself, the isse I reported on my previous message has 100% to do with this issue.
Luckily I can just remove FAWE on my Factions server, so I can workaround this.
-
View User Profile
-
Send Message
Posted May 30, 2019In reply to MithrandirMage:
It seems the latest version of FAWE still does not use the new BlockVectors of Worldedit. There is actually not much I can do about it.
They claim they fixed the issue 10 days ago, lets wait for the next release.
https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13/issues/62
However, when I import FAWE in my project it claims BlockVector3 does not exist.
You could try Async WorldEdit as an alternative:
https://www.spigotmc.org/resources/asyncworldedit.327/
-
View User Profile
-
Send Message
Posted May 2, 2019Having a sudden issue where cannons are apparently uninteractable.
The plugin loads fine, everything seems fine. Even premade automatic cannons are working, you just can't select cannons for purchase or inspection.
I activated the debugging and no interesting info is being shown on click. My suspicion is that some other plugin may be interfering somehow, but I just removed all plugins except LuckPerms, WorldEdit and Fawe, and the issue still persists.
Cannons v.2.5.3
-
View User Profile
-
Send Message
Posted May 3, 2019In reply to MasterMithrandir:
Can you send me a version of you server with config and the plugins you suspect? I will try to find the issue.
-
View User Profile
-
Send Message
Posted May 3, 2019In reply to DerPavlov:
Thanks a lot for that. Will do some localhost testing before I actually send you anything, just for issue confirmations.