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
I think '/region flag __global__ tnt deny' will work also. \\
Not easy to get __ to work :)
@Dev thanks that worked fine :) I was wondering if there's a way to set it globally? Thanks
EDIT: It's okay now, I just changed the region to some extreme numbers so it covers most of the server, thanks for your time :) (However, if there is a command for the entire world that'd be even better! :) )
@DanJLloyd Mark a region with WorldEdit (wooden Axe). Create a region '/region define HereComesTheName'. Then set the TNT flag '/region flag RegionName tnt deny'. Then it should work. I hope this helps.
http://wiki.sk89q.com/wiki/WorldGuard/Regions/Commands
Hey there, awesome plugin! I just got it and I think it's great! However, I am unsure as to how I would protect my lands with worldguard, I have it already but, as I said, I don't know how to go about this. Any help would be appreciated! Thanks :)
Odd - I'm not getting the straight hole through walls not made of obsidian, shots just ghost through like they used to. Obsidian walls do end up with a straight channel, though. Any idea what kind of plugins might be preventing it from working this way?
I'm using 10kg per shot, too :p
@Seoxiwleto No Movecraft API in this version, but it will come. SuperBreaker should break every block. It registers the penetration trough the wall as TNT-Explosion. Maybe you have a plugin which prevents this. If TNT makes block damage this should work also. I used penetration of 10 and my projectile made a nice hole trough my test wall (my wall was too thin :) )
So my testing shows, at the moment all projectiles can break obsidian. This will be fixed in the next version which will be released in a few days.
EDIT: One thing I forgot to mention. If you load max gunpowder in your cannon you will get the max penetration. Less gunpowder will also has less penetration.
@Seoxiwleto
Movecraft API is not implemented in the released builds yet. While Cannons may have begun integrating with it, it will not be usable for a little while longer.
Is the movecraft API implemented in this version? Behavior seems a bit odd, like the cannon moves and remains loaded but fires from the position the vehicle was initialized in.
The super breakers work perfectly! Penetration values seem a bit odd - I thought they meant block depth, but 10 penetration only puts a hole 3 blocks deep in an obsidian wall. It's still totally what we were looking for! Thanks a ton!
EDIT: Alright, after some testing, super breakers appear to -ONLY- break obsidian and lava/water. Not sure if that's what you had intended, but it seems slightly counter-intuitive so I figured I'd mention it just in case :p It "ghosts" through other blocks as normal. If this is intended, do you plan on adding configuration to break all the other more conventional blocks like glass/stone?
Gut gemacht! :D
v1.6 is going up now. I took me more time than I had expected. If you find bugs or have a protection plugin which is not supported send me a pm or write a comment. Please be careful with lava, water and superbreaker because it can overwrite other plugins (when they use obsidian, lava, water blocks). And please please don't hurt yourself :)
@Seoxiwleto Sry only the dev build.
Oh, I hadn't realized it was up already. Great, looking forward to it :D
@Seoxiwleto The first part of the Movecraft API is now up and looks very good. But it will need some time to build the API.
Oh, I was referring to the fact that the new penetration will allow someone to SEE a hole get punched in a vehicle or something. That'll make it really easy to tell that we actually hit them and did real damage. What feature are you talking about, though? It sounds pretty interesting, too o.o
Here's hoping movecraft comes out with the API soon; can't wait for these two plugins to update. Thanks again!
@Seoxiwleto Something like: "You hit a block" :). But I can implement it in Movecraft when you hit a vessel. Also hitting a cannon or player is possible. This feature would be only available when you don't fire with redstone (I get no player name when you use redstone)
Awesome! The main appeal to that for us is that it'll look cool as hell and give some feedback as to what happened on hitting an enemy vehicle - it's sometimes difficulty to see the effects of penetration.
Excited to see it!
I have reworked the penetration so it will break blocks on its way. The new superBreaker will break obsidian, water and lava on its way and a few blocks around the impact.
What will the behavior be like for AP ammo? Really excited for that :D
Keep up the great work!
@Invicter I want to implement movecraft when the API is available. At the weekend there will be a new version maybe with movecraft hook. At the moment I have a problem that armor piercing ammunition destroys every block, no matter if it was protected or not. This must be fixed before I can release it.
When will be the next update?