[FUN/MECH] God of Thunder v1.0.1 - unleash the storm within [1185]

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

  1. Offline

    KoryuObihiro

    God of Thunder - unleash the storm within!
    Version 1.1 [1185]

    In the beginning, I just wanted to make a simple lightning-strike plugin where I could snipe mobs from afar (e.g, Creepers) and demonstrate my godly-admin rage on my own server by drawing my sword. Now, I give that ability to other server admins, and in doing so am open to whatever suggestions they may have - don't be afraid to post with your own crazy ideas!

    Latest Download
    Source code at Github

    Features:
    • Bind any type of lightning to any material (see list below)
    • Permissions! (another list below)
    • Lightning types:
    Code:
    Normal: a single strike
    Chain: Strike a lightning effect at sight, then strikes all living entities (except the caster) within the configured radius.
    Explosive: Strikes and explodes with the configured amount of force (about 4 is the strength of a Creeper)
    Diffusive: Strikes an effect and sets fire to everything within the configured radius.
    Fake: Like normal, but is just an effect.
    Summon Creeper: Summons a Supercharged Creeper!
    Summon PigZombie: Summons a PigZombie.
    
    • Fixed the bucket so that it will "catch" thunderstorms if empty and "release" if it has water.
    • Automagic file config generation - just paste in the JAR to begin!
    Permissions:
    Code:
    - got.use
    - got.reload
    - got.type.*
    ^ (This is a lightning type. Refer to /got check)
    - got.bucket
    
    Commands:
    - /godofthunder (alias /got) - command reference
    - /got check (alias c) - check binds and ingame limits for the world
    - /got bind (lightningType) (alias b) - binds the current item to the specified lightning type
    - /got set (lightningType) (#value) (alias s) - set the lightning type attribute where applicable
    - /got unbind [lightningType | all] (alias u) - unbind the current material in hand, the specified lightning type, or all binding for GoT.
    - /got reload - reload the configuration ingame from file


    To-Do:
    • Commands to strike players with particular types of lightning, or to strike a certain location?
    • Materials/iConomy cost for each spell?
    • Lightning upon teleportation to another world/location - giving your movement some flair!
    • Implement weapon degradation. (causes a couple of strange things currently)
    • Add configuration to restrict bind types to degradable tools only? (when degrade is implemented correctly)
    Again, I have high hopes for the Bukkit community's creativity! I will consider any suggestions you have, if not for this plugin then perhaps for another (PM me?)

    Changelog:
    • Version 1.1 [1185] (currrent)
      • Updated for new RB 1185 (about time...)
    • Version 1.0.1 [953]
      • Updated for new RB 953. MC 1.7 FTW!
    • Version 1.0 [860]
      • Binds!
      • Perms!
      • More lightning types!
      • Lightning type configuration!
      • File persistence!
    • Version 0.1 [733-766]
      • God of Thunder is released! :D
    GoT archive can be found here.

    AS USUAL, I do not support old releases/outdated RBs on this thread. PM me if you have a request for your server in particular, or have any troubleshooting questions that would otherwise clutter the thread.
     
  2. Offline

    KoryuObihiro

    @fatmarley LOL, that's actually how it originally worked. They should only have to bind once, since I've added file persistence.
     
  3. Offline

    kingXrated

    this wont work for me I try doing / got bind fake L and it says Invalid Lightning type
     
  4. Offline

    KoryuObihiro

    "/got bind fake L" isn't a command.

    However... "/got bind fake" is. ;)
     
  5. Offline

    kingXrated

    thanks
     
    KoryuObihiro likes this.
  6. Offline

    fatmarley

    One of users has the permissions -
    - got.use
    - got.type.*

    But this is what is output into my logs when he tried to do /got bind normal

    Show Spoiler
    2011-07-13 23:46:14 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'got' in plugin GodOfThunder v1.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at com.KoryuObihiro.bukkit.godofthunder.GodOfThunder.onCommand(GodOfThunder.java:178)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  7. Offline

    KoryuObihiro

    What's your CB build? Item in his hand when he tries this?
     
  8. Offline

    fatmarley

    Currently I am using 935 and he had an empty hand the first time and then a gold sword after I corrected him.
     
  9. Offline

    KoryuObihiro

    Might I suggest changing to build 953? 935 has a nasty security issue...can't remember if there were any API breaks, though.
     
  10. Offline

    fatmarley

    misspell on my part...953
     
  11. Offline

    KoryuObihiro

    Hmm...alrighty. How reproducible is this? Does it persist between logging in/out, and does it do it every time he enters the command?
     
  12. Offline

    Kalexer

    Any chance to disable that annoying rain when using water buckets when in OP-mode?
     
  13. Offline

    KoryuObihiro

    Sure thing. I have some serious updating to do for this and LoftJump...so expect a release sometime in the next week.
     
  14. Offline

    KoryuObihiro

    Updated for 1185! @Kalexer, I'll be getting to your feature request next release.
     
  15. Offline

    dogbigs101

    Hi i really want ur plugin but i dont know how to get a bukit server so can u help me! i have windows and mac by the way!
     
  16. Offline

    xsmas96

    you should make the command /godofthunder to /thor
     
  17. Offline

    KoryuObihiro

    Uh....what? o_o


    Uh...naw. :p Just use /got.
     
  18. Offline

    xsmas96

  19. Offline

    mikeal912

    i would suggest making it so that admins can bind others items. i would rather not let anyone have the ability of lightning unless i give it to them myself. maybe im selfish, but id rather be able to do that.
     
  20. Offline

    KoryuObihiro

    Not a bad idea. I'll add it to the tracker.
     
  21. Offline

    bloodfoox

    I cant seem to use summon creeper or pigzombie, but i can use the rest it says
    no lightning type called summon when i do
    I tried no spacebar between them
     
  22. Offline

    KoryuObihiro

    Did you try an underscore?
     
  23. Offline

    fatmarley

    @KoryuObihiro would it be possible for a cost set (and configurable) for each type of sword. I was foolish to let one player have it, now all we see is lightning.

    Also a cooldown period as well, if you could!
     
  24. Offline

    Rayleightx

    Umm, what about a command to set the weather to thunder storm? I have been looking and so far none updated plugin can do that x: alsooo, the command could also include /got thunderstorm [Normal, Heavy, Hardcore], to spam lightning bolts in the server.
     
  25. Offline

    KoryuObihiro

    I think vanilla Bukkit includes this as /weather [on/off], though I have no idea whether it initiates a lightningstorm or not.
     
  26. Offline

    fatmarley

  27. Offline

    Venestt

    plz update!
    i neeeed lightning strikers!!!:'(
    no one else has any updated!!! :mad:
    and this one looks like the best one i have seen.
     

Share This Page