[FUN/ADMN] WeatherGod v0.31 - Play with the weather [818]

Discussion in 'Inactive/Unsupported Plugins' started by FrozenBrain, Apr 22, 2011.

  1. Offline

    FrozenBrain

    WeatherGod - Play with the weather
    Version: v0.31
    CraftBukkit: 818

    This plugin allows you to easily control the weather.



    Features:
    • Control the weather
    • Turn the damage of lightnings on and off
    • Enable or disable certain weathers
    • Kill players with lightning bolts
    • Create lightning bolts where you want
    Download WeatherGod v0.31
    Source Code

    Usage (parameters in <> are required, the ones in [] are optional:
    • /wg set <normal|storm|thunder> [world] [duration in sec.]
      • Set the current weather of a world.
    • /wg get [world]
      • Get the current weather of a world.
    • /wg strike
      • Toggle the creation of thunder bolts with the thunder item.
    • /wg strike <Playername|MobID>
      • Kill a player or a mob with a thunder bolt. You can get a mob's ID by pressing F3.
    For worlds with spaces in their names use a '_' instead ('My World' => 'My_World').

    Configuration:
    • thunderItem (def. (stick): 280)
      • The item to use for the creation of thunder bolts.
    • allowNormal / allowStorm / allowThunder
      • Enable or disable certain weathers.
    • preventIgnition
      • Set this to true to block the ignition of blocks by a lightning.
    • thunderMouseButton ('left' or 'right')
      • Select which mouse button to use for the creation of thunders with the thunderItem.
    Permissions:
    • weather.get
      • Use /wg get
    • weather.set.normal / weather.set.storm / weather.set.thunder
      • Use /wg set
    • weather.strike.player
      • Use /wg strike <Playername|MobId>
    • weather.strike.item
      • Use /wg strike
    • weather.invulnerable
      • Don't take damage from lightnings
    Changelog:
    Version 0.31
    • Updated for Minecraft 1.6.6 (CraftBukkit b818)
    • Changed the command from /weather to /wg
    • Added the /weathergod alias for the /wg command
    Show Spoiler

    Version 0.30
    • Remade the commandhandler (thx mrapple)
    • Commands sent from the console are working correctly now
    • You can now set and get the weather of worlds with spaces in their names (see 'Usage')
    • You can now kill mobs the same way you kill players
    Version 0.22
    • Updated for CB 733
    • Better check for changed weather
    • Added 'thunderMouseButton' to the config
    Version 0.21
    • Added permission weather.invulnerable
    • Added the ability to enable or disable weathers
    • Added an setting to turn off the ignition of blocks by lightnings
    Version 0.20
    • Added /weather strike
    • Added /weather strike <Player>
    Version 0.12

    • You can now change the weather to a thunder storm.
    Version 0.11

    • Added support for permissions
    • Added the ability to set a duration for the weather
    • Added a command to get the current weather of a world
    Version 0.1

    • First release



    Have fun :)
     
  2. Offline

    FrozenBrain

    I have no idea.
     
  3. Offline

    Nymphadora

    Great plugin, but when I want to change the weather it's saying: you don't have permission to do this. any idea what I did wrong?
     
  4. Offline

    FrozenBrain

    Are you using TheYetis' Permissions? If so, make sure you have the weather.set.* permissions. If you don't use Permissions, make sure you're op.
     
  5. Offline

    Supersam654

    Not really sure if anyone has mentioned this yet, but just a little heads up to the developer. The stop fire spread command doesn't do anything. It gives me a message on screen that says Fire has been stopped, however that doesn't actually happen. Instead, fire roams freely. Please fix this in the next release.

    Sam
     
  6. Offline

    FrozenBrain

    WeatherGod does not block fire spreading, it just blocks the ignition of blocks by a thunderbolt. It also doesn't send any messages saying that a fire has been stopped. I guess you are using an other plugin :)
     
  7. Offline

    JSMinecraft

    This plugin is great to start off. However, I am having slight disagreements with it >.<
    I put allowstorm = False but it still storms. I tried everything, also have you noticed that when the server begins to rain or snow you have to type /weather set storm first then type /weather set normal, it seems as if the plugin doesn't recognize the natural weather cycle. Also, when I type /weather set SpawnMap normal 900000; it begins to snow after 3-+ minutes. The only thing that the plugin does is /weather set storm then /weather set normal. Nothing else works... I also get no error, it seems like everything is working... =/
    Need of an Update maybe?mhh?no?perhaps?kinda?yeah... kinda.....
     
  8. Offline

    FrozenBrain



    allowstorm=false does only block storms (rain and snow only), it may still allow thunderstorms (rain or snow with lightnings). As it seems right now, you're the only one who's got problems with the commands. But even if more people would have that problem, I couldn't do much about it since that would be a bug in bukkit then. Sorry :/

    Edit: What CB build are you using?
     
  9. Offline

    JSMinecraft

    Hmmm I see. Ok.
    I'm using CB 798
    Is there a way to block all forms of weather?
     
  10. Offline

    FrozenBrain

    Set allowstorm and allowthunder to false.
     
  11. Offline

    Hanswalter123

    Dont work with 1.6.5 and Bukkit b815
     
  12. Offline

    FrozenBrain

    It's working perfectly fine with CB 815 here.

    Are there any errors showing up in your console? What exactly does not work?
     
  13. Offline

    An_Evil_Penguin

    I'm having problems with 818 in 1.6.6 as well Errors posted below.


    Code:
    10:55:46 [SEVERE] Error occurred while enabling WeatherGod v0.3 (Is it up to dat
    e?): null
    java.lang.NullPointerException
            at de.frozenbrain.WeatherGod.wgPlugin.onEnable(wgPlugin.java:51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:750)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    And then:
    Code:
    java.lang.NullPointerException
            at de.frozenbrain.WeatherGod.listeners.wgWeatherListener.onThunderChange
    (wgWeatherListener.java:41)
            at org.bukkit.plugin.java.JavaPluginLoader$67.execute(JavaPluginLoader.j
    ava:712)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
            at net.minecraft.server.World.i(World.java:1608)
            at net.minecraft.server.WorldServer.i(WorldServer.java:164)
            at net.minecraft.server.World.doTick(World.java:1533)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I do have the Thunder tower plugin and removing that does fix the on ThunderChange error, but not the on Enable. They used to work fine together before I last updated.
    I'm using the following plugins:
    Essentials
    GravelClay
    iConomy
    Jobs
    MobBounty
    Permissions
    ThunderTower (currently disabled)
    WeatherGod (of course :))
    Wolfpound
    ServerBot
    FortuneCookie
    FlowControl

    If you need any more info I'll try and post it for you.

    Edit:
    Its also just gone and done this, though as the server was loaded and it not properly enabled, I think that might be more the problem:

    Code:
    11:10:04 [INFO] Done (0.228s)! For help, type "help" or "?"
    11:24:08 [SEVERE] Could not pass event WEATHER_CHANGE to WeatherGod
    java.lang.NullPointerException
            at de.frozenbrain.WeatherGod.listeners.wgWeatherListener.onWeatherChange
    (wgWeatherListener.java:25)
            at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.j
    ava:705)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
            at net.minecraft.server.World.i(World.java:1632)
            at net.minecraft.server.WorldServer.i(WorldServer.java:164)
            at net.minecraft.server.World.doTick(World.java:1533)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  14. Offline

    FrozenBrain

    Thanks for reporting this. I'll fix those errors later and update all my plugins for 1.6.6 (CB 818).

    Updated for MC 1.6.6 and changed the command (see first post). Have fun :)

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

    MrPendulum

    Hi FrozenBrain,

    You might want to update the thread title too, good man.
     
  16. Offline

    FrozenBrain

    Yes, I totally forgot about that. Thanks :)
     
  17. Offline

    MrPendulum

    NP.

    Everything looks to be working fine. Especially now that Notch fixed the weather sync between the client and the server.

    Thanks for updating so fast [diamond]
     
  18. Offline

    An_Evil_Penguin

    Can confirm that this is working again for me and with all of the similar style plugins!

    Thank you very much! :D
     
  19. Offline

    christley

    there's currently a glitch occuring with 0.31 where godmode and weather god tries to override each other. making a wierd glitch. you will be struck down and lose all your items, however you will not die, and instead you'll be stuck in the death animation and will perform a zombie walk.

    video of it:
    http://www.youtube.com/watch?v=ABmshK9Otys
     
  20. Offline

    thebigh

    Just letting you know that WG v0.31 seems to be incompatible with the latest Permissions plugin (v3.x).
     
  21. Offline

    Edpon

    great plugin. i put this on my server and couldn't stop trying every feature it has. works great no bugs, simple for even me to use :D
     
  22. Offline

    Masterflapdrol

    Ive a awesome idea for this plugin: /no-wheather naturally (turn on/off) will make it wont rain naturally anymore! and also /no-wheaher (turn on/off) command will make only the admin can use thoose wheather commands.
     
  23. Offline

    FrozenBrain

    Just disable the weathers in the config.
     
  24. Offline

    Masterflapdrol

    i see only {} in config

    OOOOOOH IGOTIT just the world file not the config one :p

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

    FrozenBrain

    I was talking of the config.yml file in the plugins/WeatherGod/ directory.
     
  26. Offline

    Masterflapdrol

    /plugins/WheatherGod/world/world.yml will give me the propperty's
    wierd....
     
  27. Offline

    FrozenBrain

    /plugins/WeatherGod/config.yml
     
  28. Offline

    Masterflapdrol

    i think your pretty handy with thoose plugins!
    maybe you can help me later with starting devloppin :p

    becuse ive got a aweosme idea :D
    nobody heve made this yet.

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

    poxsonm

    Cool, I like how it can link with permissions. Now if there was only a way to make it so that the plugin linked with something like iconomy, so that I could in theory create a thunder wizard group that had permission to weather.strike.item so they could cast lightning at things but not without cost.
     
  30. Offline

    Azell

    [HELP]

    I'm not sure if the problem is Permission but I can't use any /wg command although i have myself as admin it say that "you don't have permission to use that command" I've already tried to put 'weather.set.normal' and 'weather.set.*' to the admin group permission but it's still won't let me. I've checked my users and i'm set to admins.

    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'general.*'
                - 'weather.*'



    I'm using permission v3.1.4 if that helps ^^.

    Thank You For This Plugin
     
  31. Offline

    ACStache

    I'm not really sure how permissions work entirely, but if you have just the - '*' for admins, you should be able to use every permission available, including permissions from any other plugins. on my server I have it as just the - '*' for Admin and I can do everything. /wg set & strike, as well as other plugin commands that support permissions without adding the actual permission nodes to the admin group.
     

Share This Page