Inactive [MECH] LightningRod v1.2 - anything iron or gold is dangerous [1.2.5R2-1.2.5-R4]

Discussion in 'Inactive/Unsupported Plugins' started by halley, Oct 26, 2011.

     
  1. Offline

    halley

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    LightningRod

    Rain isn't just a pretty sound or a dreary sky anymore. If you hear the rumblings of thunder on the horizon, watch out! Make sure not to hold that iron bucket, or tromp around in those gold boots... or you'll get zapped. Any iron or gold items exposed to the sky are vulnerable to the elements. Whether it's in your hand, or worn on your body, built onto your house, or even those poor minecarts and rails... BOOM!

    Now in Release status, tested on CB 1.2.5-R2, on the dev.bukkit.org site.

    Bukkit Project Page link: LightningRod
    Bukkit Download: LightningRod.jar



    Permissions

    lightningrod.immune - your ops' only defense
    Configuration

    Code:
    enabled: true
     
    lightning:
        redstone: true    # powers wire next to base block of attractor
        damage: true      # not fake lightning effect, but the real deal
     
    weather:
        attraction: 75    # 0-100 - percent of natural bolts hitting rods
                          # 100-200 - additional lightning during rain
     
    worlds:
        all: true        # or name individual worlds here
     
    attract:
        hand: true        # iron or gold held in active inventory slot
        minecarts: true  # empty or laden carts, on tracks or not
        armor: true      # all four armor slots, any metal is dangerous
        blocks: true      # all tracks, iron fences, gold blocks, etc.
    

    This post has been edited 3 times. It was last edited by halley Jul 10, 2012.
    AnJ95, SomeoneLeoR and gamemaster1494 like this.
  2.  
  3. Offline

    MonsieurApple

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Approved
    Anthony13 likes this.
  4. Offline

    EliteMouse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    maybe you add configurable list of blocks?
  5. Offline

    halley

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    EliteMouse, have considered it, and the code is set up so it's easy for me to add that when I get some time. Right now, it's ALL blocks made of gold or iron that is both grounded and exposed to sky-- including the extension half of a piston if the piston is activated. Likewise with things that a player holds in hand, or wears. Chainmail, iron, gold armor; compasses, buckets, etc.

    This post has been edited 1 time. It was last edited by halley Oct 29, 2011.
  6. Offline

    Minecraft_OWNAGE

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's pretty fun, but not very good for standard use. I had some fun with it, I admit.
  7. Offline

    halley

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Maintenance release. No functionality changes, just tested on the 1.0.1-R2 release of CraftBukkit.
  8. Offline

    Austin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Very cool! I am using this!

    Perhaps add a height variable as well? Higher metal blocks take priority over lower metal blocks.

    how exactly does the percentage work? Is that 75% for all the blocks in the server? Only what is loaded?

    This post has been edited 1 time. It was last edited by Austin Dec 25, 2011.
  9. Offline

    Wiinick

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its you people that make minecraft awesome.
  10. Offline

    Mista Epic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ugh. I've been waiting for something like this. Thanks!
  11. Online

    gabizou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Would it be possible to allow damage done to players and mobs but not make a fire per say?

    This post has been edited 1 time. It was last edited by gabizou Dec 30, 2011.
  12. Offline

    medede

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    what if you are flying and your wearin and/or holding iron/gold will it hit you?
  13. Offline

    ZeratulsDownfall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can I set the "attraction" to a value above 200 to have more lightning?
  14. Offline

    RaiTeDDy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    pls update
  15. Offline

    Hero683752

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    won't load....:(
  16. Offline

    Hero683752

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Look what happens:
    19:22:20 [SEVERE] Could not load 'plugins/LightningRod.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.VerifyError: class cc.halley.bukkit.CommonPlugin overrides final method getName.()Ljava/lang/String;
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:541)
    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.VerifyError: class cc.halley.bukkit.CommonPlugin overrides final method getName.()Ljava/lang/String;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139)
    ... 13 more
  17. Offline

    aldege30

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if you have the time id "Love" to see this plugin updated.
  18. Offline

    halley

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    planning to update in time for 1.3 release
  19. Offline

    halley

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have an update of the plugin for 1.2.5, and have worked out a number of API changes to bring it in line with the latest out there. If someone could give it a whirl, I'd appreciate it. I haven't checked the pre-release 1.3 API changes yet, but wanted to get close.
  20. Offline

    OrangeCrush

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What I don't like is how it makes diamond more and more OP :/.
  21. Offline

    stickreid

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Glorious, wonderful, superb!

    three out of of the thousands of compliments this plugin deserves..

    amazing idea.. well thought out..

    going to make a skyscraper's lights flicker on and off everytime there is thunder

Share This Page