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. Thanks for the update! last time I used this plugin, It was horribly CPU and RAM intensive! Now it seems fine :)
     
  3. Offline

    stinwin

    video with darklust
     
    darklust likes this.
  4. Offline

    darklust

    Doesn't have to be sponge but yeah awesome xD

    Are there any errors in the console? If so, can you paste the stack trace here?

    Glad that obstacle is out of the way xD

    ALSO I've added permission nodes to it for activation and using the /teslareload in the newest update.
     
  5. Offline

    Pilaf

    hi!

    first of all, its a very funny plugin. But im kinda confused. I tried to setup Pigs or Players as target but it wont work.
    Could you please post a common config example where pigs or players targeted as well. I got no problems with that Signcomands but strings like "targetpigs=true; targetplayers=true" or somethin close to aren`t working for me.

    Other thing is, that drops are nearly impossible, even if the "fried" mobs inside a waterpool, there are no regular drops of em left after extinction. Is there a way to fix this ?

    regards and thanks
     
  6. Offline

    darklust

    You must be using an ancient version of the plugin because the config format doesn't even support that anymore :p Check the main post for how to configure mobs correctly. Players will be supported later and lightning tends to kill mob drops.
     
  7. Offline

    QWW

    My problem is fixed, now are you going to make nether support? The war has taken its tolls. :p
     
  8. Offline

    darklust

    Yes, I will add all mobs.
     
  9. Offline

    dockter

    Version 2.1 doesn't seem to work at all.

    Upgraded since I was having a issue with vertical configuration, now none of my previous built coils work, any suggestions?

    I did some more testing and it appears that its not writing the new lines in coils.yml.

    If I delete them all, start a new one, I can get 1 or 2 working, then for some reason it overwrites the coils.yml with the 3rd location, causing the 1st two to stop working.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  10. How do you stop it targeting players
     
  11. Offline

    jdietz43

    Hmmm... I like it!

    I do have one suggestion: it would be nice to have a way to control the amount of targets hit. I.e. 10 zombies walk into the coil area, and it's set to have "enough electricity" to zap 3 every 4 seconds. I'd very much like to use this to create some sort of survival custom map with a "safe" area, but automatically hitting every target, even if I slow down the strike rate, is a bit powerful (and slightly unrealistic for how tesla coils function... but that's just me being nerdy lol).
     
  12. Offline

    darklust

    The plugin activates the coils and writes the data into the coils.yml. If the data is accidently deleted while the server is running, it doesn't affect the coils that are active. I don't really know why that would happen to you.
     
  13. Hi there, every time when i switch a lever attached to a 3 blocks high coil i get an error message (below) in my server console. am i doing something wrong ?

    Code:
    2011-08-29 02:43:40 [SEVERE] Could not pass event PLAYER_INTERACT to TeslaCoil
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at net.louderthanthunder.darklust.TeslaCoil.d.onPlayerInteract(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  14. Offline

    darklust

    The plugin didn't find Permissions/GroupManager.
     
  15. Offline

    darklust

    I've added your radius multiplier suggestion in the newest update, with the config property
    Code:
    radiusmultiplier: 1
    Which is only used if the tesla radius is set to 0, or height-based.
     
  16. Offline

    dockter

    Can you add the ability for the mod to display a chat message when a tesla coil comes online or if one goes off line?

    Can you make these function underground?

    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

    Yes, that's planned.
    They do, the vradius in the config affects how many blocks above and below the base of the coil are checked for entities.
     
  18. Offline

    L24D

    @darklust
    Woo woo, i've got a bit of a bug for you!
    Not sure what's triggering it, it just randomly happened:

    Code:
    2011-08-29 01:41:13 [SEVERE] Could not pass event PLAYER_INTERACT to TeslaCoil
    java.lang.NullPointerException
        at net.louderthanthunder.darklust.TeslaCoil.d.onPlayerInteract(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:805)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:128)
        at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    It might (possibly) be conflicting with spout..
    that's just a random assumption though.
    bukkit 1060, and latest build of teslacoil.

    [Edit]: I'm using groupmanager.
    (just had a look at the above posts)
     
  19. Offline

    darklust

    Yes, I've seen this error too on a server running Spout. I'm not sure why, but I don't think it hinders the functionality of the tesla coil, I'll look into it now though.

    I believe I have fixed the above error in this bugfix update, simple logic error.

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

    Ethneldryt

    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT to TeslaCoil
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at net.louderthanthunder.darklust.TeslaCoil.d.onPlayerInteract(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Hello, can you add in config file "permission-use=" true or false please ?
    i dont use permission

    edit : can you make thunder strike only mobs, not in zone for no damage player?
     
  21. Offline

    darklust

    I've just updated the plugin to include a useperms: true option in the config, setting this to false will not use permissions and have the coil useable by anyone. I will add a player-harmless lightning option in the future.
     
  22. Offline

    Ethneldryt

    useperms: false
    not effect, error :(

    suggestion for the futur :

    Line 1 [player]
    Line 2 player
    Line 3 player
    Line 4 player

    Line 1 [group]
    Line 2 groupname


    in group.yml

    groupname:
    -player1
    -other player
    -ect....
    groupename2:
    -....
     
  23. Offline

    darklust

    I've removed the useperms: property as that was inefficient in my opinion, I've uploaded a version that will automatically allow all users to use the coil if permissions isn't found.
     
  24. Offline

    dockter

    I cannot make them work underground, regardless of vradius setting.
     
  25. Offline

    Phoenix1450

    This is an awesome pluggin :). My sugggestion is to make it so that the radius differs depending on the block its made out of (ie Iron block= a radius of 5, Diamond block= a radius of 10 and Gold block= a radius of 20) if that would be possibly ;) thx
     
  26. Offline

    dockter

    I've noticed that this plugin create a tremendous amount of CPU usage on the server.

    More than 2-3 coils at a 10-15 radius will create 100% CPU usage on the java.exe core.
     
  27. Offline

    darklust

    If you're using the multiplier in the config (with radius 0 for height-based), make sure it isn't too large because it's better to have multiple coils cover a large diameter than one large coil with a high radius multiplier. You can also increase the ping frequency in seconds via the config.
     
  28. Why does it kill players ?
     
  29. Offline

    Homzar

    for some reason this plugin isn't working
     
  30. Offline

    darklust

    Yeah, can't really help you without more information.
     
  31. Offline

    L24D

    Haha, super.
    you are awesome, my friend... I'm giving it a shot now. :)
    I'll keep you updated on it.. sorry i took so long to respond.. Been busy.
     

Share This Page