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 joshfow joshfow Jul 24, 2015 at 15:16 UTC - 0 likes

    I'm running Spigot 1.8.7 (2015-07-21a) with Cannons 2.3.3. Whenever you do anything that should create a message, no message comes up. Such as when you create a cannon, the older versions popped up a message that said "Your cannon was created successfully" or something like that. There is nothing in the console or logs. I have tried Spigot 1.8.5 and an older version of 1.8.7 but neither produces a message. Was this taken out of the newer cannon versions? It's hard to tell if you need to clean it or if it needs ammo and such when you are trying to fire them.

  • Avatar of Heliostorm Heliostorm Jul 22, 2015 at 04:36 UTC - 0 likes

    @DerPavlov: Go

    Thanks, seems to work fine.

  • Avatar of robotnikthingy robotnikthingy Jul 21, 2015 at 22:39 UTC - 0 likes

    Cannons keeps spamming the console with this message

    http://pastebin.com/fRKr2FMv

    BFAK:90691927,07571dc2c72cb17766fe413c26d50bbbee919222c04d99b88bcb407f992b3c11

  • Avatar of GodsDead GodsDead Jul 20, 2015 at 19:15 UTC - 0 likes

    @DerPavlov: Go

    There isnt a 2.3.3 it only goes upto 2.3.1, I can't update my java as im on a shared host. I will message the host if you are 100% certain that they are still using the long outdated Java 6, Im sure the latest WE needs a newer Java and that works?

  • Avatar of DerPavlov DerPavlov Jul 20, 2015 at 17:32 UTC - 0 likes

    @GodsDead: Go You have Java 6. For this you need 2.3.3 where this problem is fixed. Or just update your Java.

  • Avatar of GodsDead GodsDead Jul 20, 2015 at 17:26 UTC - 0 likes

    Updated Spigot as well as cannons just now, and latest cannons wont work :(

    [19:20:33] [Server thread/ERROR]: Error occurred while enabling Cannons v2.3.1 (Is it up to date?)
    java.lang.NoSuchMethodError: java.lang.String.join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
    	at at.pavlov.cannons.container.MaterialHolder.toString(MaterialHolder.java:221) ~[?:?]
    	at at.pavlov.cannons.projectile.ProjectileStorage.loadProjectiles(ProjectileStorage.java:107) ~[?:?]
    	at at.pavlov.cannons.config.Config.loadConfig(Config.java:175) ~[?:?]
    	at at.pavlov.cannons.Cannons.onEnable(Cannons.java:140) ~[?:?]
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) [craftbukkit.jar:git-Spigot-6d16e64-3e9b5c9]
    	at java.lang.Thread.run(Thread.java:722) [?:1.7.0_03]
    
  • Avatar of DerPavlov DerPavlov Jul 20, 2015 at 07:58 UTC - 0 likes

    @Rulerish: Go That no error, just a warning that the plugin creates a new table in the database. Next restart it should be gone.

  • Avatar of Rulerish Rulerish Jul 19, 2015 at 06:48 UTC - 0 likes

    Hello, getting this error on start up

    http://pastebin.com/PuwyDTqM

  • Avatar of DerPavlov DerPavlov Jul 18, 2015 at 06:05 UTC - 0 likes

    @Heliostorm: Go I can make a version for the latest Bukkit.

  • Avatar of Heliostorm Heliostorm Jul 17, 2015 at 20:56 UTC - 0 likes

    Is the new version for 1.8 only? Doesn't work on my 1.7.10 server.

What RPG features should be implemented for cannons

  1. Choices:

  1. Results
  2. 4 comments

Facts

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

Authors