Cannons

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.

http://dev.bukkit.org/media/images/55/103/cannons_650.png

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 Wukkit

by wickedbrother

out-dated video

Alternatvie plugin showcase

Installation

  1. Install WorldEdit first (don't forget this)
  2. 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:

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)

ToDo

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

Credits

  • Raser4000
  • DreTax
  • JlJlJl
  • and many more

Donate

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

  • Avatar of RexzyV2 RexzyV2 Oct 21, 2014 at 02:00 UTC - 0 likes

    THE BEST CANNON PLUGIN EVER. RECOMMENDED ON ANY SERVER THIS IS AMAZING

  • Avatar of DerPavlov DerPavlov Sep 29, 2014 at 17:26 UTC - 0 likes

    @FlOppythp: Go I think movecraft does not support the Cannons API at the moment. The only way is placing signs on your cannon to find the cannon again if it has been moved.
    As long you don't touch the cannon, there is no load. However finding the cannon again, may take a while (<<10ms).

    @GodsDead: Go Ok, I have to admit I am no database expert at all. How I thought it should work is, loading all cannons on start up and saving them from time to time. I would really like to understand that.
    Maybe it is because it tries to save each cannon one by one in the database. Do you have additional information here?

  • Avatar of GodsDead GodsDead Sep 29, 2014 at 09:47 UTC - 0 likes

    Major mysql optimization needed; My server has been crashing from loosing connection to our separate mysql server a lot, this is an error with the way GriefPrevention handles its mysql connection killing the server, Doing some research to why there is such high load coming from my server it turned out Cannons has the most open mysql connections, it has 25 upon a fresh boot with 1 player online!

  • Avatar of DerPavlov DerPavlov Sep 26, 2014 at 19:19 UTC - 0 likes

    @DanSpedey: Go First, UUID support of what? Second, for new features it will depend on the future of bukkit.

  • Avatar of DanSpedey DanSpedey Sep 22, 2014 at 18:00 UTC - 0 likes

    Anychance of UUID support?

    http://i.imgur.com/UjXiBGT.gif

  • Avatar of inxiya inxiya Sep 22, 2014 at 07:34 UTC - 0 likes

    @DerPavlov: Go

    I was able to get them to work. I think there was just a problem while saving the schematic since when I made a new schematic, it worked perfectly. Thank you :)

  • Avatar of DerPavlov DerPavlov Sep 20, 2014 at 13:58 UTC - 0 likes

    @ursak: Go Hitting the water stuff was implement by JIJIJI, because it is useful for his ships.

    @Scarpa18: Go The superbreaker ability in the projectile will destroy obsidian if you work without obsidian destroyer. It will break all the blocks on its 'penetration path'. I didn't test obsidian destroyer for a while, but it should work.

    @inxiya: Go Can you send me your files? I will verify them.

  • Avatar of inxiya inxiya Sep 19, 2014 at 10:04 UTC - 0 likes

    Is there anything wrong with the tutorial? I have been trying to create a cannon but I can't seem to get it to detect the cannon when I build it. So I made a "cannon2.yml" and a "cannon2.schematic" with all the necessary parts in the tutorial. When I build the cannon in the actual game, nothing happens. Can anyone share a clearer tutorial of how to create a custom cannon from the classic.yml?

  • Avatar of Scarpa18 Scarpa18 Sep 15, 2014 at 15:07 UTC - 0 likes

    @DerPavlov: Go

    thanks , but how can i deny the destroy of a obsidian? I want only the projectil Diamond can destroy obsidian (I have Obsidian Destroyer).

    So , explotions normal can destroy the obsidian with 3 explotions and Diamonds (cannon) 1 explotion

    sorry bad english :C

  • Avatar of ursak ursak Sep 15, 2014 at 01:39 UTC - 0 likes

    @DerPavlov: Go

    Now that I figured out it needed specifik color it wasn't hard to figure out the rest. If I would like the cannon to work with each color all I really need to do is copy the files for the classic cannon, make sure to give the files new names and and change the config for each to use one of the other colors. Right? (and changing the names in the config as well)
    Was really enough just to read the config for classic to figure that out and if I just put some time to checking the config more before I prob wouldn't have had to ask.

    Sand is ignored if I figured this right so that it can be used when cutting out the cannon for the schematic?

    I miss all the different ammo thought. Loved the old ones. Guess I'll figure out how to copy them over to the new way.

    All is well and you sure have an awesome plugin here.

    I did notice one thing thought. I tested the plugin with a friend. We just made a small boat each in one a different end of a lake and used the mortar to try to hit each other. I hit him, destroying his mortar and it said "cannon destroyed" or something like that.
    The problem I ran into is that everytime we stoped and then started the server it gave errors in the console because of some prob with a cannon. Removed the .db file and restarted the server and it was fine again. But just letting you know.

    I love, love, love the sound when you hit the water btw....

    Last edited Sep 15, 2014 by ursak

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments

Facts

Date created
Mar 04, 2012
Category
Last update
Jun 22, 2014
Development stage
Release
Language
  • deDE
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Cannons
Downloads
68,239
Recent files

Authors