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 May 06, 2015 at 19:17 UTC - 0 likes

    @coolMJW: Go You can replace messages you do not want with " " ("space") to suppress it. A sign on the barrel should give you the cannon angles, let me know if you need more.

  • Avatar of coolMJW coolMJW May 06, 2015 at 06:21 UTC - 0 likes

    I like the plugin, would there be a way to stop it from spamming your chat?

    For say by using the titles system or something similar?

    Mine Physics Doctors of Awesome

  • Avatar of DerPavlov DerPavlov Apr 13, 2015 at 22:58 UTC - 0 likes

    @GodsDead: Go Good point. Somehow the permissions.adjust was not read from the config. I fixed that and uploaded a new version 2.2.6.

  • Avatar of GodsDead GodsDead Apr 10, 2015 at 13:20 UTC - 0 likes

    @DerPavlov: Go

    Ok I managed to get my infinite cannons working! This is superb, although im having an issue with permissions and getting people to aim the "infinite cannons" as I have called them. I have created custom permissions for the new cannons: http://pastebin.com/bd9g1biv and I have given those permissions to my lowest base-group: http://pastebin.com/k4HP4pek But they are still getting the error message "You have no idea how to adjust the this QAR Cannon".

  • Avatar of DerPavlov DerPavlov Apr 04, 2015 at 17:57 UTC - 0 likes

    @GodsDead: Go You can use 'doesExplosionDamage: false' and 'doesPenetrationDamage: false' to prevent block damage. However players can be hurt. You can also turn off the player damage.

  • Avatar of GodsDead GodsDead Apr 04, 2015 at 10:28 UTC - 0 likes

    @DerPavlov: Go

    Superb! removeChargeAfterFiring wasnt in my configs! Must be an addition that I missed! I regenerated the configs on my dev environment to see if there were any more changes!

    Sadly the GriefPrevention developer has made another blunder in his recent update making cannons destroy claimed land, so Im gonig to have to put off testing these cannons so my spawn isnt blown up even more, Just been on to see a giant hole in my spawn.

    I'll give this a try once the GP developer fixes this hole on his plugin!

    Thank you.

  • Avatar of DerPavlov DerPavlov Apr 02, 2015 at 20:58 UTC - 1 like

    @GodsDead: Go I recommend 'removeChargeAfterFiring: false'. You load the cannon once with the projectile it should use and it will stay loaded until you break the barrel. Then disable soot (sootPerGunpowder) and pushing (projectilePushing) to keep it easy.

    In your case with the chest the new players are probably missing the permissions for the projectile.

  • Avatar of GodsDead GodsDead Apr 02, 2015 at 14:36 UTC - 0 likes

    Hey, I want to make infinite cannons at my spawn for display purposes only, so a new player can come on and press the button and it fires, I have got as far as it needing to someone load a projectile into it. (I don't want to use chests, these would just get looted and make the design ugly)

    needsGunpowder: false gunpowderConsumption: false projectileConsumption: false ammoInfiniteForPlayer: true ammoInfiniteForRedstone: true autoreloadRedstone: true

    allowedProjectiles: - spawncobblestone

    How can I do this?

    Edit: We hide the chest with a projectile in it, and gave all the needed permissions to the lowest rank, but when they Sneak + Right click it says there is no projectile in the chest, when I do it (admin role) it works fine, This isnt a good solution as they still need to Sneak+Click, how can I get around this?

    Last edited Apr 02, 2015 by GodsDead
  • Avatar of DerPavlov DerPavlov Apr 01, 2015 at 08:44 UTC - 0 likes

    @AlSanTiago: Go There is a folder localization, which has two files. Just rename localization.yml to localiziation_english.yml and localization_german.yml to localization.yml.

    @robotnikthingy: Go I have the implementation of this in my head for a while, but I didn't have time to implement it yet.

  • Avatar of AlSanTiago AlSanTiago Apr 01, 2015 at 08:07 UTC - 0 likes

    How do i set the language into german?

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments

Facts

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

Authors