[FUN] IonCannon V1.3.1 [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Xesxen, Feb 26, 2011.

  1. Offline

    Xesxen

    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.
     
    melis256 and Guest like this.
  2. Offline

    Sondre Berntsen

    eh... never use size 50.......... got a bit of lag on my server : /
     
  3. Offline

    infty

    I've entered the permission, still it says i dont have permission to use the plugin =/
     
  4. Offline

    stevenchang

    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?
     
  5. Offline

    Jon-Thig

    Instead of a cannon made of diamond... how about obsidian or adminium? So that it only shoots down, and not everything on the top?
     
  6. Offline

    Zuroza

    im a noob yes where do i get the permissions plugin?
     
  7. for some reason when i download this it isnt' coming with a jarfile?
     
  8. Offline

    Lunar Delta

    The tnt doesn't auto-ignite. D:
     
  9. Offline

    meep

    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:
     
  10. Offline

    woodzy

    you should update this to CB#544!! i used this un till i updated CB LOVED IT, id IONCANNON a thiefs house!!
     
  11. Offline

    crazyoldman

    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.
     
  12. Offline

    NordicBlue

    My hero!
     
  13. Offline

    user_2408

    Works like a champ still!!!
     
  14. Offline

    Xesxen

    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.
     
  15. Offline

    Bjourk

    Do you have this working on 733?
     
  16. Offline

    Xesxen

    I wouldn't be surprised if it doesn't work anymore. I have a vacation next week, so maybe i can look at it.
     
  17. Offline

    Afotai

    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
     
  18. Offline

    Xesxen

    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.
     
  19. Offline

    Afotai

    You could hardlimit it, or make it adjustable like the radius :D something like /ioncannon v <width> <depth>
     
  20. Offline

    Xesxen

    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?)
     
  21. Offline

    crazyoldman

    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.
     
  22. Offline

    Xesxen

    I forgot to bring my files while i was away on vacation... So the update will have to wait, sorry.
     
  23. Offline

    Sean5861

    Any idea if this works on 860?
     
  24. Offline

    Xesxen

    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...)
     
  25. Offline

    Sean5861

    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.
     
    Last edited by a moderator: May 10, 2016
  26. Offline

    Juze

    Unless I see latest RB in title (935), it will stay here. :)
     
  27. Offline

    Xesxen

    I updated the plugin to Craftbukkit 953. Maybe it could be moved to the main plugin area?
     
  28. Offline

    RageX.ca

    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)
     
  29. Offline

    Xesxen

    @RageX.ca The latest version fixed that. Please download it again.
     
  30. Offline

    crazyoldman

  31. Offline

    yourock129

    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?
     

Share This Page