[MECH] Zeus v0.8 - Manual lightning strikes (can cause explosions) - now thunder Multi-Strike [740]

Discussion in 'Inactive/Unsupported Plugins' started by to3000, Apr 26, 2011.

  1. Offline

    to3000

    Zeus - Summon the power of the gods
    Version 0.8

    Zeus is a fairly simple plugin that harnesses the power of the gods to cause lightning strikes in whatever location you choose (in other words, look at blocks, right click with the tool defined in the config file, causes lightning. Left click, cause lightning + explosions)

    Zeus is different from other plugins that have lightning item capabilities because Zeus has the option to make lightning cause tnt-like explosions.

    Features:
    • Right click to cause lightning strikes
    • Left click to cause lightning strikes + explosion
    • Fully configurable! Choose what item you use to summon the power of the gods and how large the explosion radius is!
    • Permissions support! Configure if you want users to only be able to use the right click and/or left click features!
    • Multi Strike and Fire Strike
    • Cool down support
    • You no longer need permissions, in the config file you can now chose OP only or everyone
    Download:

    Click here to download!

    Permissions Nodes:
    Code:
    to3.zeus.strike
    (only lightning)
    
    to3.zeus.multiStrike
    (multipule strikes at once)
    
    to3.zeus.strikeandexplode
    (lightning + explosions)
    
    to3.zeus.thunderStrike
    (permission to use thunder strike)
    Commands:
    Code:
    /ms <number of strikes>
    set the number of strikes at once
    
    /ms again to disable
    
    /ts <radius>
    set the radius of the thunder strike
    
    /ts again to disable
    
    Warning: The explosion feature has not been tested with plugins that block explosions like WorldGuard, use at your own risk!

    Changelog:
    Version 0.8
    • fix for cool down bug, add feature "thunder strike"
    Version 0.7
    • simple bug fix, got my BEDMAS wrong
    Version 0.6
    • added Op only feature and Cool-down feature customizable in the config file!
    Version 0.5
    • fix to a bug when not using permissions and right clicking with other blocks
    Version 0.4
    • Added multi Strike and Fire Strike
    Version 0.3
    • Fixed and error when using the plugin without permissions
    Version 0.2
    • Null pointer exception fixed no longer spams console
    Version 0.1
    • First release
    Plugin developed by @to3000 and @Platypus
     
  2. Offline

    Brvtvs

    Could you add a configurable minimum height or "belowsealevel=true/false"? Players casting lightning underground doesn't quite make sense and is really exploitable.
     
  3. Offline

    to3000

    as i think i mentioned earlyer, i will be working on an update as soon as i get home, in the update will be thundersrike and a fix for this glitch that i now realise how to fix with ease.

    thanks
    tom
     
  4. Offline

    Brvtvs

    Awesome, thanks.
     
  5. Offline

    to3000

    ok then, after a large amount of work i release 0.8, unfortunately i have not yet fixed it for my other plug-in Exploding Electrons. this should be out by 1.0, on another note, 0.9 will include a max and min for thunder strike and multi strike.
    enjoy
    tom
     
  6. Offline

    TankFox

    What exactly does Thunder Strike do? I'm at work or I'd just try it and see! Is that the explosions upon left click striking? I already use that and love the heck out of it for making easy tunnels
     
  7. Offline

    KiloWhiskey

    @to3000 Any chance you can throw out a version that uses the new bukkit build's no injury strike? I'd like to give this to some of my players without them being able to hurt each other with it. Just a permission for no damage strike would be outstanding.
     
  8. Offline

    to3000

    that sounds like a great addition to the plugin, will be released in 0.9, daym already at 0.9 didnt think that it would get past 0.2. no damage will be a toggleable feture just like thunder-strike and multi-strike.
     
  9. Offline

    KiloWhiskey

    Does that mean that only people with permissions "to3.zeus.damage"or some such thing would then be able to deal damage while all others with "to3.zeus.strike" will just throw the effect around? That sounds great. Just as long as I don't have to give them the dmg dealing version and expect them to do the command to turn it off the damage. Congrats on 0.9...next stop, 1.0 :D
     
  10. Offline

    Flenix

    "So what does this Thunder Strike do.."
    "/ts 10" *Right clicks* HOLY F*CK!!! SHADOW COME LOOK AT THIS!
    *Shadow teleports, Flenix does the strike again*
    "HOLY SH*T THATS EPIC"

    Get the feeling people like this new feature... :p

    Any chance of getting it a seperate cooldown? we use lightning in our battle mage race, want this to be another upgrade... with a 15 minute cooldown :p Lets be honest, it would kill a whole army on this game...
     
  11. Offline

    ACTruncale

    Is there away to make explosions NOT destroy blocks?
     
  12. Offline

    batlham

    Ok my first post on the forum :)

    I downloaded and used zeus...works but needs a command to keep it turned off. I thought I could turn it off....but thats ok. I had thought of using it to punish those that need to go bye bye. It would be cool if it could run other commands on strike...then I could jail someone with a lightning strike. :D
    Don't worry yourself about doing that. I just thought it would be fun.

    Funny thing is I was playing with /ms 500. I had heard of the pig to pigmen but never saw it before. I hit a pig with 500 lightning strikes and about 500 pigmen fountained out of that pig, flooding the area. :D
    I am very amused!! :)
    I don't recommend setting it to 2000....caused mass caos with the laptop..had to pull the battery to get a reboot LOL
    So I made a pigman grinder....
    Using a pyramid trap in the ground with a very deep hole in the center they would fall and die.
    I had a floating island with a bunch of torches over it.
    At night animals would spawn there and when I saw a pig...bam!
    Then using minecartmania and a teleport sign collected the cooked pork chops.

    Again...I am very amused by this plugin :D

    Personally I will be watching this plugin for updates....I hope it comes into its own.
     
  13. Offline

    Flenix

    use the standard strike instead of the explosive one. The only difference is the block destruction as far as I know?


    @to3000
    A few suggestions I've been thinking up:
    1. Could you make it so each time you zap something, it consumes an item? For example, each time I use standard lightning it uses an iron bar, and every time explosive lightning it uses an iron bar and two sulpher?
    2. Is there anyway at all (not sure if possible) to make it so lightning doesn't destroy uncollected items, or at least so the standard one doesn't? At the moment if you kill someone via lightning, all their stuff is obliterated too...
     
  14. Offline

    nIkbot

    lightning strike a pig = creates a bunch of INVINCIBLE BIG ZOMBIES

    they take/give no damage... they just swarm and push you around.
     
  15. Offline

    Joegabe

    just so you know, the /ts command with this plugin interferes with anyone using the Turnstiles Plugin (like me :p)
     
  16. Offline

    dreadiscool

    Can you make it so that whenever you use lightning, it gives a configurable message (but random)

    Like in a file, you have these values

    Line1: A god got really mad, and hurled a lightning bolt at the earth!
    Line2: <username>'s rage manifested itself into a lightning bolt, rocketing towards the earth!

    So that whenever somebody uses it, one of the messages shows up (but completley random as to which one)
     
  17. Offline

    Kemonomimi

    Similar issue to Joegabe but with the /ms command interfering with mobSpawner.

    I'd love to know how to change the /commands on this(else I have no pigs to bolt).
     
  18. Offline

    TheSmith

    Whats the default lightning tool? I don't see the config file
     
  19. Offline

    BlueJayofEvil

    Gold sword
     
  20. Offline

    Lasse Jensen

    I can't seem to figure out exactly what thunderstrike is. This plugin behaves the exact same way whether i /ts 10 or turn /ts off. I can however configure the number of strikes at once with /ms.

    Edit:
    Also, i got an error once when issuing the /ts, heres what's in the log:
    Code:
    2011-05-24 09:00:26 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ts' in plugin Zeus v0.8
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        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:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
        at zeus.ZeusCommandThunderHit.onCommand(ZeusCommandThunderHit.java:52)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  21. Offline

    to3000

    sorry i have not been on much, i have been very busy with school work, all fetures requested will be avalibale in 1.0 which will be compatable with MC1.6 it will be released shortly after bukkit for 1.6 is out.

    thanks for being pacient,
    Tom
     
  22. Offline

    Pheenixm

    FYI, I have the same problem, but if you do /thunderstrike [radius] it works fine
     
  23. Offline

    Flenix

    Does that include the seperate cooldown for thunderstrike? :)

    Also rb 818 is out
     
  24. Offline

    ThreeDGuy I steal plugins as my own

    Can u share the source code of this plugin?
     
  25. Offline

    Richardw9

    You should make an option to decrease the about of blocks drop by the explosion, it's a real lag factor. Beside that this is a great mod, good work.
     
  26. Offline

    compgurusteve

    You should come back soon and make all Lightning have explosions like your other plugin, toggleable preferences of course. :)
     
  27. Offline

    ThePantsThief

    I'd like to see this plugin compatible with CreeperHeal in the next release!
    Cool plugin :)
     
  28. Offline

    to3000

    EXAMS ARE OVER, NEW VERSION ON ITS WAY!!!!!!!!!
     
  29. Offline

    TMuney32

    Hey, I got it installed, and it said it was working correctly. I was an Op. But when I left clicked and right clicked with the golden sword, nothing happened. Its probably something silly I missed. But do you have any ideas?

    Actually, my bad. I got it Once (then i have to restart the server before i can do it again.) The cooldown time is false, also if I try and change the config, it shows this
    -------------------------------------------------------------------------------------------------------------


    11:56:25 [SEVERE] Could not load 'plugins\zeus.jar' in folder 'plugins':
    mapping values are not allowed here
    in "<reader>", line 2, column 35:
    coolDownTime: 5 fireStrike: false
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:156)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:174)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:229)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:216)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:282)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

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

    ARock73

    Is there a way to turn off explosions on a left click? Or a way to take the command off of left click altogether? I sometimes find myself forgetting(or not paying attention to the fact) that I have the golden sword selected and go to flip a switch, open a door, etc. only to destroy the things I'm trying to open/use.
     
  31. Offline

    Jazy Lopez

    Explosions work? They dont work for me...
    And the fire radius is WAY to exaggerated... May be nice if the radius was in the config
     

Share This Page