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.
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 ServerMiner
by wickedbrother
Out-dated showcase 1
Out-dated showcase 2
Recommended plugins
- ObsidianDestroyer
- WorldGuard (flag protection: '/region flag NAME other-explosion deny')
- CreeperHeal (set 'custom explosion' for your world to repair cannon damage)
Installation
- Install WorldEdit first (don't forget this)
- 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
- Share your designs with other people: 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)
Need Help?
Credits
- Raser4000
- DreTax
- JlJlJl
- and many more
In reply to MasterMithrandir:
Sure. Just send me a link via PM when you are done.
How do I make it so everyone on the server can make a cannon whenever and wherever?
In reply to bradyykennyy:
Just add 'cannons.player.*' and 'cannons.projectile.*' to your permissions for every player. For admins you could use 'cannons.admin.*'. You can find some examples here:
https://pastebin.com/KAZzpL29
https://dev.bukkit.org/projects/cannons/pages/permissions
I still use PermissionsEx to manage my permissions but if you run a server you should try to find a better maintained plugin.
In reply to DerPavlov:
Thank you, I just need to find a permissions plugin to implement this.
Having issues enabling the plugin on a 1.13.2 server.
Log:
02.02 20:05:10 [Server] INFO Enabling Cannons v2.5.1
02.02 20:05:10 [Server] INFO Loading projectile configs
02.02 20:05:10 [Server] INFO No projectiles loaded - loading default projectiles
02.02 20:05:10 [Server] INFO Loading cannon designs
02.02 20:05:10 [Server] INFO No cannon designs loaded - loading default designs
02.02 20:05:10 [Server] ERROR Error occurred while enabling Cannons v2.5.1 (Is it up to date?)
I don't know what to do, please help me
In reply to Scarecrow0001:
In reply to DerPavlov:
In reply to Scarecrow0001:
In reply to DerPavlov:
cannon recoil when?
love the plugin < 3 it's one of the best ones out there
In reply to Forge_User_98078409:
The idea of cannon recoil is very old, but I never found time to implement it (although it is not that complicated when I think about it). At the moment I am busy in my real life. Please don't expect major feature updates in the next 6 months.
I also started a small movecraft clone based on the Cannons algorithm. I want to finish the performance test of Ironclad first and see if it is fast enough. So far I can only detect the crafts, the moving part is not tested.
EDIT: I could do the recoil thingy with fake blocks. Then I could implement this without problems and it would not interfere with the basic cannon functions. How do you want to move the cannon back, automatically or pushing?
In reply to DerPavlov:
so basically an option in config to either have it manual, automatic or disable it in case someone is unhappy with it
Hey DerPavlov,
das Problem, dass die Kanone auch mit Permissions nicht nachgeladen werden kann (Rechtsklick mit dem Stick hat keine Reaktion) besteht auch bei der neusten Version(2.5.1/1.13) weiter, sowohl auf unserem Hauptserver als auch auf einem meiner Testserver. WorldEdit ist auf dem neuesten Stand, nur die Interaktion mit den Kanonen ist unmöglich. Bitte um Hilfe!!!
Gruß Coannen
In reply to Forge_User_21023781:
In reply to DerPavlov:
In reply to Forge_User_21023781:
Aktiviere den Debug Modus (Config 'debugMode=true'). Näheres per PM.
Ich denke es ist ein Problem mit der Benennung der Ramrod.
how do i add people to the "do not target" list of my sentry cannons?
basically i want my sentires to not shoot my friends but still have them defend my faction base
In reply to Forge_User_98078409:
Try the '/cannons whitelist add <PLAYER>' command to add player to a sentry. You have to repeat it for every sentry. You can use '/cannons info' to check the people on the whitelist.
A list of all commands and permissions can be found here (let me know if I missed one):
https://dev.bukkit.org/projects/cannons/pages/commands
I've heard you dont get issue report notifications so i thought i'd link you my post here:
https://dev.bukkit.org/projects/cannons/issues/81
Thanks.
In reply to Forge_User_48896615:
Hi, sorry for the late replay. If it is a custom cannon design with your own schematic I would check the "defaultHorizontalFacing" in the design file. Make sure the barrel is pointing in the same direction as stated in the design.yml.
EDIT: There is also a problem with the muzzle location being in the wrong location. I will upload a new version soon.