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:

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)

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 DerPavlov DerPavlov Jun 27, 2016 at 16:52 UTC - 0 likes

    @GodsDead: Go I tried to implement the minecraft '/summon' command. It works just for 1 world, and I have no clue if this can be fixed. Otherwise you can spawn everything. Maybe I have a good idea in the next few days.

  • Avatar of GodsDead GodsDead Jun 20, 2016 at 10:25 UTC - 0 likes

    Request: Lingering potions on impact.

  • Avatar of DerPavlov DerPavlov Jun 19, 2016 at 11:55 UTC - 0 likes

    @robotnikthingy: Go Good point. Somehow I forgot to make the interface, since the code already exists. The cannon distinguished between three types: Players (can be whitelisted), Mob, Cannons (whitelist the owner). I think will add an command, but I can also add an item if you want.

  • Avatar of robotnikthingy robotnikthingy Jun 18, 2016 at 21:58 UTC - 0 likes

    Is it possible to add an option to sentry cannons so that they only fire at mobs? I placed some around my spawn to try and make it look cool, but they they fired at the players lol

    Probably best way to do it is to allow players to toggle it by clicking on the cannon while holding a certain item

    Last edited Jun 18, 2016 by robotnikthingy

    BFAK:90691927,07571dc2c72cb17766fe413c26d50bbbee919222c04d99b88bcb407f992b3c11

  • Avatar of DerPavlov DerPavlov May 27, 2016 at 19:20 UTC - 0 likes

    @JaffaMC: Go Try setting 'relayExplosionEvent: True' in the cannons config. Spigot added a new event which is not supported by all plugins. With this you just relay it to the old event. Report back if this did not work.

  • Avatar of JaffaMC JaffaMC May 25, 2016 at 01:59 UTC - 0 likes

    Hey, Recently the plugin has been having issues; cannons won't damage block within any zone, no matter if it has other-explosion allowed or not. I have 1.7 versions of Cannons and WorldGuard. Any advice would be appreciated. Thanks!

  • Avatar of kosta2102 kosta2102 May 23, 2016 at 04:41 UTC - 0 likes

    hello, I am really enjoying this plugin but an issue with Forseth's feudal plugin and this cannons plugin has come up. The issue is that claimed land is not supposed to be able to get destroyed, the cannons plugin works around it and for this, it has been removed. I truly enjoy the experience this plugin gives, but if its possible, both the owner, many other people, and I were wondering if you could make it so the cannons plugin is compatible with Forseth's feudal plugin by not being able to destroy claimed land.

    A message sent by forseth11: http://feudal.coremod.com/Main_Page

  • Avatar of DerPavlov DerPavlov May 21, 2016 at 23:22 UTC - 0 likes

    @TheZerok666: Go 1.9 did change a lot of things and I am too busy at the moment to test every feature. But fixing the Fireballs should be no problem.

    @robotnikthingy: Go At the moment I recommend editing or deleting the "Cannons.db". If the problem persists contact me again.

  • Avatar of robotnikthingy robotnikthingy May 21, 2016 at 21:49 UTC - 0 likes

    Hi, im getting an error that says '[Error] ?c[Cannons] Cannon has no owner. Contact the plugin developer'

    and im guessing that because of it, when I fire my cannons it makes the firing sound, but doesnt fire a projectile

    http://dev.bukkit.org/bukkit-plugins/cannons/tickets/68-error-c-cannons-cannon-has-no-owner-contact-the-plugin/

  • Avatar of TheZerok666 TheZerok666 May 20, 2016 at 03:22 UTC - 0 likes

    Hello there! I just updated this piece of awesomeness (no sarcasm, this plugin is awesome) to 1.9 and noticed a problem: using FIREBALL (ghast fireball) or DRAGON_FIREBALL as the cannonball entity either makes an explosion right at the tip of the cannon (ghast fireball) or fires normally, but creates a dragon breath AoE on impact (dragon fireball, obviously).

    It seems to me that the plugin does not cancel the natural effects these entities have, like if it'd actually summon a real ghast fireball, it'd impact the button at the end of the cannon and blow the whole thing up.

    Would be nice to see this fixed :P

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments

Facts

Date created
Mar 04, 2012
Category
Last update
May 15, 2016
Development stage
Release
Language
  • deDE
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Cannons
Reverse relationships
1
Downloads
84,109
Recent files

Authors