Note: It seems that i can't edit the title at the moment. It IS compatible with build 1185! Ioncannon Version: v1.4 Since I had some free time, i decided to port this amazing hMod plugin to Bukkit. This amazing plugin fires a sort of lazer, which will explode. (This is called an Ion Cannon) Requirements: Permissions. Players need to have the permission 'ioncannon.fire' to be able to load and fire the cannon. If you don't have Permissions, then you must have OP rights in order to be able to fire the cannon. How to use it: Use /ioncannon to load your cannon, then use your left mouse button to select a block and fire the cannon. You specify the width by using: /ioncannon <width> Make sure that another plugin doesn't stop TNT from exploding. It will fail. You can reload the config with /ionreload. The configfile is located at /plugins/IonCannon/config.yml. On the first load of this plugin, it'll make a config file itself, so there's no need to do that yourself. The configfile looks like this: ioncannon: bordertype: 57 logBlockType: false Bordertype is the type of block which is used to cover the ioncannon. Currently, it's diamond, like in this sample. logBlockType logs the current borderType to the player if they do /ioncannon. That output will look like this: "Warning: Ion Cannon Primed. [....] Ioncannon fires with borderblock [borderType]" If you set this to true, then it'll display this line. It's default off. Features: Fires an Ioncannon Download the Ioncannon Plugin: Zip (Normal click) | Jar (Note: Right mouseclick -> Save as. If you don't do that, then you'll get a lot of crap) Changelog: Version '1.4' Introduced the config file with nodes: ioncannon.borderType and ioncannon.logBlockType Made sure that it's compatible with build 1185 Version '1.3.1' Made it possible to use the cannon without Permissions (fallback) Cleanup of the code You get a nice "Access Denied" message when you don't have access to the command. Version '1.3' Renamed the permission to 'ioncannon.fire' Updated the plugin to build 953 Version '1.2' Added the creation of a fire block inside the TNT portion of the beam. This means the "beam" will explode. Changed the " :: WARNING :: ION CANNON LOADED" and the like to nice colourful messages. Also, I made these messages broadcast to the entire server, not just you. Compiled against a bundle of newer versions of things, if that even does anything. Nothing else. Thanks to Crazyoldman Version 1.1 Fixed long constructor Removed some debug code Version 1.0 Public Release To Do: Make diamond disappear after it blew up. <-- Now you can setup the borderType (block id). This can also help this, but it still needs to be done.
when i try to run /ioncannon it says that there was a internal error with the command what do i do and when you type /ioncannon is the thing just supose to appear?
Instead of a cannon made of diamond... how about obsidian or adminium? So that it only shoots down, and not everything on the top?
when i try to run /ioncannon it says that there was a internal error with the command what do i do and when i write ioncannon 10 the same comes ):...what to do ? o:
you should update this to CB#544!! i used this un till i updated CB LOVED IT, id IONCANNON a thiefs house!!
Ladies and Gentlemen, I have updated this plugin to work. In more detail, I did the following small things: Added the creation of a fire block inside the TNT portion of the beam. This means the "beam" will explode. Changed the " :: WARNING :: ION CANNON LOADED" and the like to nice colourful messages. Also, I made these messages broadcast to the entire server, not just you. Compiled against a bundle of newer versions of things, if that even does anything. Nothing else. I have tested this using Craftbukkit build 556, with no problems. You can use this link to download it: http://dl.dropbox.com/u/4463901/IonCannon.jar Thanks.
Seems there was something going on while i was away. Also, my old downloadlinks don't work anymore (blame my hoster). I will update the first post with the update of crazyoldman. If there's something broken again, then post it here.
I wouldn't be surprised if it doesn't work anymore. I have a vacation next week, so maybe i can look at it.
Having a vertical version would be fantastic, like shooting a bigass laser through a mountain, leaving a hole. You could make it with adjustable width and max depth/length
A vertical version of IonCannon isn't going to happen. This would mean that you shoot trough the whole world, which can be hundreds of blocks long. That would crash the server.
You could hardlimit it, or make it adjustable like the radius something like /ioncannon v <width> <depth>
Even if i hardlimit it or something like that, it wouldn't be an ioncannon anymore. You can better use something else for that. (seriously, who fires an ioncannon on the ground?)
It's a Low Orbit Ion Cannon. Of course it can only fire vertically down. Duh! Edit: Xesxen, you should ask a moderator to move this plugin back into the main plugin area, seeing as it works again and everything.
I don't know. You can try it yourself if you want to know. (I have several tests this week, so i don't have the time for that...)
Fair enough, yeah I'm in exams currently too. I'll probably try soon Unfortunatly it doesn't, not too unexpected. 21:07:02 [SEVERE] Error occurred while enabling IonCannon v1.1 (Is it up to date ?): Plugin attempted to register PLAYER_ANIMATION while not enabled Not to worry, good luck in your tests. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Even with Updated Version and Previous one from other user... 22:35:52 [INFO] [IonCannon] Enabling Ioncannon V1.0 ... 22:35:52 [INFO] [IonCannon] Permission system not enabled. Disabling plugin. 22:35:52 [INFO] [IonCannon] Quitting... 22:35:52 [SEVERE] Error occurred while enabling IonCannon v1.1 (Is it up to date ?): Plugin attempted to register PLAYER_ANIMATION while not enabled org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA YER_ANIMATION while not enabled at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag er.java:357) at nl.xesxen.IonCannon.IonCannon.registerEvents(IonCannon.java:50) at nl.xesxen.IonCannon.IonCannon.onEnable(IonCannon.java:39) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:857) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:264) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136 ) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
While watching the video, I noticed that the Diamond blocks DO drop. They will most likely get blown up by another tnt but could you make it where they despawn?