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
Hey DerPavlov,
wir hatten vor, dein Plugin zu benutzen, das klappt aber nur so semi gut. Das Plugin wird auf einem Spigot Server der Version 1.13 erkannt und ausgeführt, jedoch kann man die gabaute Kanone nicht nachladen. Außerdem ist beim zielen das Glas, welches einem die Schussrichtung anzeigt, 1 Block rechts von der Kanone. Permissions sind alle gegeben.
Bitte um Hilfe!
Auf einem vorherigen Server (frühere Version) hat uns das Plugin immer viel Freude bereitet!
In reply to Forge_User_21023781:
In reply to DerPavlov:
Hey DerPavlov,
I'm working on a plugin similar to CreeperHeal, but I find that although I intercept the EntityExplodeEvent and setYield to 0, the blocks are still dropped on the ground. This is mostly notable when using the TNT projectile.
Also: the ExplodeEvent doesn't include blocks that are destroyed by penetration, do you have any advice on how I should be accessing those blocks?
Thank you for the great work you do on maintaining this plugin!
In reply to harryoui:
I think you have to remove the blocks in the list, to protect the blocks and than manually replace them with air. The Block Piercing should also fire an EnitityExplodeEvent. Don't forget to listen to BlockExplodeEvent too.
Piercing Event Line 200:
https://github.com/DerPavlov/Cannons/blob/942a7013c74afea38f5622bc80c0c03d7048275b/src/main/java/at/pavlov/cannons/CreateExplosion.java
Hey DerPavlov, can I get this to work on 1.13?
In reply to MasterMithrandir:
Yes, Cannons did survive the "flattening" of the data values in 1.13. It took me a few weeks but it is up and running.
Make sure you download Cannons v.2.5.0 and the latest worldedit version. Please rename your config files, because I had to change all the block names. If you use custom cannons, please edit you files manually later.
Let me know if there is a problem.
Pavlov
In reply to DerPavlov:
I'll try again asap unless you say otherwise.
In reply to MasterMithrandir:
I'm running the latest version of PaperSpigot and Im getting this error at boot
https://pastebin.com/f2srkc2K
In reply to GodsDead:
Hey!
I dont know how to enable free use of the cannon.
I have to claim a cannon for 100$ before using it but i would rather like it if everyone could use the cannon for free.
Thank You very much
In reply to LucianDevran:
Set the costs in the economic section for every cannons in the .yml cannon design files (plugins/Cannons/designs/) to zero. That should do the trick.
In reply to DerPavlov:
Hey DerPavlov
Long, Long, loooong time user here, PirateCraft. We have been experimenting with new projectiles recently and the insne amoutn of customisation we have is amazing, so just wanted to say thanks again.
Do you have a project page on Spigotmc.org too? Most of the community is over there now. Did we find a good way to share projectiles and cannons? we have a bunch of custom cannons and projectiles now I wouldn't mind sharing.
In reply to GodsDead:
Hello, great plugin, been using it for years. Is there any chance or estimate on if or when issue #79 will be fixed?
https://dev.bukkit.org/projects/cannons/issues/79
I'd like to use the pillar blocks as cannons because they orient like log blocks and can be re-textured to look like real good cannons.
In reply to WolfeBersahd:
In reply to DerPavlov:
https://dev.enginehub.org/youtrack/issue/WORLDEDIT-3587
Thanks for the assistance, keep up the good work.
Is there a way to disable the need to ramrod as well as the buy cannons feature?