[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

    Hohahihehu

    Oh... oh crap. Run away... RUN AWAY!

    Does anyone remember at what radius the Ion Cannon crashes the server?

    (Thanks for porting this over!)
     
  3. Offline

    Kegan187

    It would be nice if this could be updated.
     
  4. Offline

    Xesxen

    It should already work with build 458, so there is no need to at the moment. I will update the plugin myself it it is needed :).
     
  5. Offline

    Kegan187

    I don't know if it is working, I am updating my Craftbukkit to build 456, as that is the highest, and I will tell you if it is okay.

    Yea, I am sorry to sat this, but the plugin needs to be updated.

    Accually, I think the build might be bad.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  6. Offline

    Juze

    OH SHI- NOT THIS PLUGIN, RUN FAR FAR AWAY!

    I think it's 7+.
     
  7. Offline

    Kegan187

    You do know there is no Craftbukkit Build 458, right?
     
  8. Offline

    M1sT3rM4n

    FINALLY. Someone ported the best plugin over!
     
  9. Offline

    Xesxen

    I will look at my serverversion tomorrow. A typo can be easily made. I'm sorry if it causes confusion.
     
  10. Offline

    Kegan187

    I get this error when trying to load it.
    Code:
    2011-02-27 01:43:22 [SEVERE] Could not load plugins/ioncannon.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:199)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:189)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:177)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:649)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:612)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:606)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: nl.xesxen.IonCannon.IonCannon.<init>()
        at java.lang.Class.getConstructor0(Class.java:2723)
        at java.lang.Class.getConstructor(Class.java:1674)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
        ... 17 more
     
  11. Offline

    Xesxen

    What version of craftbukkit do you have? Please make sure that you have the latest version.
     
  12. Offline

    Waffletastic

    The link isn't working.
     
  13. Offline

    mrgreaper

    i want this...i shouldnt want this ....i shouldnt use this...but i want this... ..

    hmmm maybe i can justerfy it as an admin only ummm peacekeeping weapon for errr making mine shafts for players (might have to change the moon graphic to a square deathstar and only use at night....
     
    clash likes this.
  14. Offline

    Xesxen

    You need to save the link. Tomorrow, i will make it so that the file is regonised as a download
     
  15. Offline

    M1sT3rM4n

    2-26-2011 5-48-15 PM.png

    So here I am, nagging you :D
     
  16. Offline

    Xesxen

    If you didn't notice, i removed the Long constructor thing.
     
  17. Offline

    NordicBlue

    2011-02-27 14:15:07 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ioncannon' in plugin IonCannon v1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at nl.xesxen.IonCannon.IonCannon.onCommand(IonCannon.java:117)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
     
  18. Offline

    Xesxen

    What version of craftbukkit do you have and do you have Permissions installed?
     
  19. Offline

    Mmm Octopie

    it works for me is it suppose to shoot a big tower in the air
     
  20. Offline

    Xesxen

    It's an Ion Cannon. The 'big tower' which comes out of the sky, explodes, so is creates a 'laser'. Result: Big craters and MASSIVE Destruction :D
     
  21. Offline

    PrivateAlpha

    you need place active tnt not just tnt... because it does not explode... also... this Conflicts with WorldGuard - tnt protection
     
  22. Offline

    Xesxen

    It places active tnt. When it's places, it explodes. Make sure that you don't place it near water. Of coure it conflicts with worldguard. But, who has premission to use IonCannon, when they don't have the right to place TNT? (Ioncannon is far more destructive than TNT)
     
  23. Offline

    NordicBlue

    Can you please make this plugin work with recommed builds instead of latest builds?
    Like 90% of the plugins are broken on the newest ones but do fine with the latest recommed one.
     
  24. Offline

    M1sT3rM4n

    Hello, the cannon doesn't auto detonate the TNT. I even went to the opening of the beam and checked. Christian usually put a block of fire on the very top to activate it.
     
  25. Offline

    TheDaddyPeanut

    OMG men this plugin is cool, but heres what you need to add:

    1. Re-do of the effect, i tryed this at my house and theres a hole now to the bedrock, my hole gardens and so on are gone. i thought it would only make a hole in the roof with some damage around it.

    2. Warn the ppl before using this plugin to their server, like me :D Now my creation of 1 week is gone coz i didnt know how powerfull the cannon was..... :(

    3. You should fix the bug so it would detonate itself and not by me.
     
    efstajas likes this.
  26. Offline

    NordicBlue

    @TheDaddyPeanut
    There is an easy solution for that.
    Make damn backups.
     
    Noppoly and M1sT3rM4n like this.
  27. Offline

    user_2408

    Youtube what it does! Or a screenshot would help :D
     
  28. Offline

    M1sT3rM4n

    Lazy people are lazy:

    javaw 2011-02-28 22-53-28-44.png javaw 2011-02-28 22-54-00-86.png javaw 2011-02-28 22-54-03-69.png javaw 2011-02-28 22-57-08-94.png javaw 2011-02-28 22-57-27-44.png
    --- merged: Mar 1, 2011 7:40 PM ---
    Dumb people are dumb too :p

    Lastly, the bug with auto-detonation's still there :)
     
    Noppoly likes this.
  29. Offline

    user_2408

    @M1sT3rM4n : while the screenshots are appreciated, there is no need to be a sarcastic jerk about it. overdone meme is overdone.
     
  30. Offline

    M1sT3rM4n

    Doesn't change the fact that you're still lazy as hell :)
     

Share This Page