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
@DerPavlov
Not a full snow block, the flat block that forms on the ground when it snows.
@dretax Can I visit your test server? I need to test it out.
@DerPavlov
i saw that i was getting still 0.5 damage
@watdidyusaey Thanks. If you have suggestions or something like this write a comment and we can talk about it :)
@JoshzPruitt You place a torch on a snowblock (crafted out of snowballs)? Is the cannon made out of snowblocks? I get the wrong attached face for torches, maybe it interacts with something on the left or right. If it tries to attach a torch to a layer of snow or something like this.
Really awesome plugin!
Definitely adds a new dimension of warfare in minecraft.
@DerPavlov
Just tested in 1.2.5-R1.2 and I get the same error when placing a torch on a snow-block. I remove the cannons plugin and I no longer get the error. Same with 1.2.5-R1.3. With the plugin I receive the error, without the plugin I don't. I still think its something to do with Forge.
@titen96 It is possible to implement something like a durability and decreases it with every shot randomly.
@JoshzPruitt Torches seems to be bugged in 1.2.5 R1.3
@DerPavlov
This particular bug only seems to happen when I place a torch that replaces a snow block. Strange...
you think that after a set amount of uses the cannon can break, destroying the blocks it was built with?
@JoshzPruitt There is a bug when you place a torch as last element no cannon is created but this cause no error. I am going to have a look into Forge.
EDIT: There seems to be an bug in 1.2.5 R1.3 when you place torches the attached face of the torch is wrong. Maybe this has caused the error. I the 1.2.5 R1.0 everything runs smooth.
@DerPavlov
I believe my error may be due to the fact that Mo Creatures requires a server version of Forge. Forge handles a lot of player/block interactions and is probably conflicting somehow. I've been getting a few strange errors with mcMMO as well and I believe Forge is to blame for that as well. I didn't have any problems with either your mod or mcMMO before I got Mo' Creatures and Forge.
@dretax That are both really strange errors. I will test out the 1.2.5-R1.3 and see what happens.
About the 0.5 heart playerdamage. Try to wear a helmet and check if you still get damage. If not it can be that you set both 'cannonball' and 'canister_shot' to false.
Had an error when placing a torch: http://pastie.org/3906788
I think it might have something to do with the Mo' Creatures mod I recently got, or the fact that I'm using Craftbukkit 1.2.5-R1.3
@DerPavlov look
pastbin link: http://pastie.org/3905927
@DerPavlov Hey your plugin is awesome! But i have a problem.First time i installed it on the server,it worked.Then i modified some things then it only do 0.5 damage.No block just player.Then i tried to put the default condfig back by removing the edited configs.Still not working :( I was firing outside of a worldguard region.TNT is allowed.Whats the problem? :S
So the new version 1.8 is now under review.
Now you have to store ammunition for autoload in chests left or/and right to the block with the torch. Also the cannon will need some time to fire because of the fuse. I have decreased the spread for long cannons to get more difference for long and short cannons.
@DerPavlov
Cheers
I will let you know how it goes.
Thanks.
@fjutte right upper edge :D
seriously, where's the donate button?
:D