Inactive [MECH] TeslaCoil v2.6.2 - Keep mobs at bay - the futuristic way! [CB 1.4.5-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by darklust, May 5, 2011.

  1. Offline

    darklust

    TeslaCoil - Tesla Coil mob control:
    Version: v2.6.2

    Usage: the player must construct a tower of no less than 3 iron(configurable) blocks, and connect this directly to a redstone current. While the current is active, all mobs within a radius proportionate to the height of the coil (3 blocks high = 3 block radius), above or below ground, will be fried. The towers ping every second, so mobs chasing you will quickly regret it

    Moved to BukkitDev: http://dev.bukkit.org/server-mods/teslacoil
     
  2. Offline

    DeadEye1200

    Thanks for pointing it out! I had the answer right under my nose the whole time! LOL!
     
  3. Offline

    kaasinees

    the error i was having might be due to a different plugin... but still the openjdk should throw an exception instead of crashing.
     
  4. Offline

    darklust

    Updated to version 2.5.3
    Now you can configure a warning radius and coil restrictions so your players don't spam the world with unsightly towers!

    Shoutout to jakimfett for encouraging this update.
     
  5. Offline

    Wishmaster

    SO I'm having some trouble getting this plugin to work. A buddy of mine and I were testing it out, and I had gotten mine to work, and he had not. Sign's are places and the towers are 3 blocks high, but mobs can walk right up to it, with no consequence. I have us both in the permissions.yml with "teslacoil.use: true" but still nothing. Can anyone shed some light on this subject.
     
  6. Offline

    darklust

    Are you both using the same permission plugin? Also, was his coil hooked up to a direct current, and have a commendable radius setup in his configuration?
     
  7. Offline

    Wishmaster

    Yes we both have teslacoil.use and thats it. both on different power sources, (2 different area's of the map, although not far from eachother) and what do you mean by commendable radius setup in his cfg.?
     
  8. Offline

    darklust

    Do you have a server I can join to assess this?
     
  9. Offline

    Wishmaster

    yep, server IP is: 96.39.90.24

    also, the permission file is not working, but we're both opped...
     
  10. Offline

    darklust

    New update, added an 'ignite mode' which, along with the fireball mode, widen the payload arsenal of TeslaCoils :]
     
  11. Offline

    mahari3

    EDIT 1: great plugin, could you add something that would stop items that the mobs drop from being vaporized? :p
     
  12. Offline

    Thomas9666

    Holy SHIT! This plugin is amazing!!! I've now set up a few to keep dem pesky creepers out my city xD

    Only one fault... Sometimes it doesn't activate with a redstone wire with me...
     
  13. Offline

    darklust

    Updated for 1.2.3, fixed some bugs and added a damage: property that adds additional damage to targets.
     
  14. Offline

    Darkintellect

    Running into issues currently. I'm using default config and the building worked but it never attacked mobs. I then used a sign which then worked but I started getting this error...
    Code:
    2012-03-09 23:11:58 [SEVERE] Could not pass event PlayerMoveEvent to TeslaCoil
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:208)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onPlayerMove(TeslaCoil.java:149)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 10 more
    I then reloaded the server and recieved this error...
    Code:
    Permissions API.
    2012-03-09 23:11:51 [INFO] [TeslaCoil] Enabling TeslaCoil v2.5.5
    2012-03-09 23:11:51 [INFO] [TeslaCoil] version 2.5.5 <EMM3 by [Darklust] Loaded
    2012-03-09 23:11:51 [SEVERE] Error occurred while enabling TeslaCoil v2.5.5 (Is it up to date?)
    java.lang.NullPointerException
        at net.louderthanthunder.darklust.TeslaCoil.PingRunner.<init>(PingRunner.java:42)
        at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onEnable(TeslaCoil.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    I'm using...
    -GroupManager
    -McMMO
    -LWC
    -Catacombs
    -Essentials
    -Worldedit
    -SafeCreeper
     
  15. Offline

    darklust

    Are you using craftbukkit beta 1.2.3-R0.1?

    Additionally, you can try delete your coils.yml in the TeslaCoil folder, as it may be corrupted with invalid coil location data.
     
  16. Offline

    Darkintellect

    That would be it, I'm still using the Beta version. I'll update and run tests. Thanks much.

    Issue fixed and it works but I'm still running into this error which spams the console. I know nothing about this but it looks like the ping of trying to aquire a target that isn't either in range or obstructed. That's my guess, of course I could be way off.
    Code:
    2012-03-10 15:34:41 [SEVERE] Could not pass event PlayerMoveEvent to TeslaCoil
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:208)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
        at net.louderthanthunder.darklust.TeslaCoil.TeslaCoil.onPlayerMove(TeslaCoil.java:149)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
        ... 10 more
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  17. Offline

    darklust

    Did you try deleting the coils.yml?
     
  18. Offline

    Darkintellect

    Problem fixed, I appreciate the help. I normally wouldn't bother but this is probably my favorite plugin ever. Takes me back to my Command & Conquer days.
    Know of anyway to remove lightning from setting fire to the countryside? I rather Lightning than to use the flashfire using a glass block. Fire doesn't want to go out so my land is covered in small fires.
     
  19. Offline

    Chaznuts

    Any way you could add limitations for people without the correct permissions? What I would like is a limitation on how many coils the normal players could make.

    Thanks either way! Looks like a great plugin :)
     
  20. Offline

    glenno101

    yeah i love this but when i reload my server it completely resets every thing i have to go back around turn them all off then back on
     
  21. Offline

    funky man

    Ageed, that would be a good addition +1
     
  22. Offline

    nigel561

    This setup could be an anti-griefer measure but the way its setup now that you have to specify targets makes it very difficult if you don't want random people to grief you house. if you change the signs so that you can "whitelist" players instead of just inputing every single target so that if there are no "whitelist" signs then it just attacks everyone and everything but the owner.
     
  23. Offline

    martindf7

    Can you make it so it will do PVP damage to people wearing iron armor (Any) or holding iron.
     
  24. Offline

    ChillierNsx94

  25. Offline

    Typical_Name

    Hmm, sorry if this has already been asked, but does it attack players, or just mobs?
     
  26. Offline

    jakimfett

    It can do both. Did you read through how to configure it with signs? The full instructions are on the bukkitdev page.
     
  27. Offline

    Typical_Name

    Oh, my bad, I didn't notice that there was a bukkitdev page XD.

    Impressive work.
     
  28. Offline

    jakimfett

    eh, no problem. I've posted my share of "Where's the any key?!?!" comments...it happens to everyone. Now I just need to get on Dark about updating this thing for 1.2.5
     
  29. Offline

    light_jak

    im just wondering is there anyway that it can only aim at certan mobs????
     
  30. Offline

    Moonridden

    dotdotdotdot
    HRMMM, let's do some reading....
    *Clicks BukkitDev Link, then scrolls down*
    Ah-hah.
    *Copies then pastes*
    To Filter Mobs:
    Place a sign above the block where the power is input (doesn't matter which direction it faces), where the first line is [mobs] and the second line contains a list of all mobs that should be targeted by the coil. Alternatively, by including 'ex' on the top of any sign (like [players]ex) will put the coil in Exclusion mode, avoided the specified mobs and hitting all others. The characters are as follows:
    c - Creeper
    s - Spider
    k - Skeleton
    z - Zombie
    h - Chicken
    o - Cow
    e - Sheep
    w - Angry wolf
    p - Cave Spider
    b - Blaze
    m - Magma Cube
    v - Villager
    d - Ender Dragon
    i - Pig Zombie
    n - Enderman
    And if that dosent help. [​IMG]Enjoy.
    You mean like it only fires on players wearing iron?​
     
  31. Offline

    LadyRayvyn1

    I downloaded this as it sounded great..however,now it sais I don't have permission to use it..huh?
     

Share This Page