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 DerPavlov DerPavlov Jan 23, 2015 at 23:01 UTC - 0 likes

    @CNCcamon1: Go I looked up the value and it saves the database every 6000ticks (5min). Actually it should not affect your minecraft server since it saves it asynchronous. It would be possible to shorten the interval and/or put it in the config.

    However if you want to synchronize it with cannons I recommend signs on a cannon (since they have unique cannon name - just put it on the side of a cannon). There is also a Cannons API where you can move cannons with your ship. I will ask the developer of Movecraft how they want to solve this.

    EDIT: I asked the Movecraft developer and he is planning to implement Cannons. Lets see.

    Last edited Jan 25, 2015 by DerPavlov
  • Avatar of CNCcamon1 CNCcamon1 Jan 23, 2015 at 22:20 UTC - 0 likes

    @DerPavlov: Go

    Could I possibly set the config to make it update more often? And if so, how badly would that lag the server?

  • Avatar of DerPavlov DerPavlov Jan 23, 2015 at 17:25 UTC - 0 likes

    @GodsDead: Go @CNCcamon1: Go You can put a sign on a cannon and you are fine. Cannons does not update the database all the time (just every 5mins and when you shut down the server).

    @HoustonDouglas: Go I will test cauldron as soon as possible. Do you have an error log?

  • Avatar of GodsDead GodsDead Jan 23, 2015 at 13:50 UTC - 0 likes

    Same question as @CNCcamon1 below, From a technical standpoint It would have to monitor any active movecraft crafts and update the cannons location every time the craft moves? With fast ships this could get quite spammy to the MYSQL database, It is a bit mad trying to have a battle if you need to re-make the canons each time.

    Thanks for the v2.2.4 update I will update mine now!

    Im having issues with a custom design, I have created a H shaped cannon out of iron, thats suppose to be a double barrel cannon, I have 2 issues, the first is sometimes it wont actually be created, this seems to be random, and the second thing is, I want to be able to create & fire it from a stone button at the back (The same as the default black wool cannon) But it wont work unless you use a lever at present, I have the stone-button setup in the configs. Here's links to all files to test; https://www.dropbox.com/sh/xof54plxus6u5iv/AADQ0JigU6F6G1UhvDTXwX1Wa?dl=0 There is an extra projectile for it called doubleshot

    Last edited Jan 23, 2015 by GodsDead
  • Avatar of HoustonDouglas HoustonDouglas Jan 23, 2015 at 09:52 UTC - 0 likes

    when it runs on cauldron 1.7.10 it seems didn't work,is there any solution?

  • Avatar of CNCcamon1 CNCcamon1 Jan 22, 2015 at 23:13 UTC - 2 likes

    Does this support movecraft? Cannons have to be remade whennever they move on a ship

  • Avatar of DerPavlov DerPavlov Jan 22, 2015 at 19:01 UTC - 0 likes

    @CNCcamon1: Go For redstone you usually place a torch underneath the barrel or wire the button on the back. Look for the repeaters and redstone torches in the default design.
    With redstone I meant the button, because it fires a redstone signal which is evaluated. However it is the same thing as the right click trigger, so don't care about it :).

    EDIT: To get your config running, just edit '77:1' to '77:-1' and it will accept all orientation of the button. Maybe you should place snowblock closer to the cannon, else you can build a 4 block cannon or a 3 block cannon, and he will not check the block between snowblock and barrel.

    Last edited Jan 22, 2015 by DerPavlov
  • Avatar of CNCcamon1 CNCcamon1 Jan 22, 2015 at 11:23 UTC - 0 likes

    @DerPavlov: Go

    So it isn't possible to have a cannon work with redstone and manual? And by using a lever do you mean to make the button a lever in the schematic, but still a button in game?

  • Avatar of DerPavlov DerPavlov Jan 22, 2015 at 11:12 UTC - 0 likes

    @CNCcamon1: Go Hi, I am at work so I can't correct your config file. But I think the error is the following:

    1. The data of a button is his orientation. Depending which direction your cannon looks you have to adjust the data value of your button. I recommend a small plugin to read out the id:data ingame.
    2. I use a lever in the default design to get one firing button even if there are more buttons facing in the same direction. In game it will still be a stone button (set in the config).
    3. I recommend to use either the firing or red firing. But not both at the same time. Just set the right click trigger to a torch. If there is no torch in your design, it does not matter.

    Tonight I will have a closer look.

  • Avatar of CNCcamon1 CNCcamon1 Jan 21, 2015 at 23:45 UTC - 0 likes

    Hello, its me again. I am still having an issue with the plugin where I have set my firing block to abe the button instead of the torch, but when I try to fire it using the button it just sets the vertical cannon. Config file can be downloaded here: (the one that isnt working is the one called "cannon") https://www.mediafire.com/?tutl99do34f1by7

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments

Facts

Date created
Mar 04, 2012
Category
Last update
Jan 21, 2015
Development stage
Release
Language
  • deDE
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Cannons
Downloads
71,627
Recent files

Authors