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

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

  1. Offline


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

    This plugin allows you to easily control the weather.

    • 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').

    • 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.
    • 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
    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


    Never knew about that command, and infact - when all of this happend i had my regular players in there and when i came in they said there had been a snowstorm, which didnt make sense because of the biome.
  3. Offline


    Creating snow storms in normal biomes is not possible, especially not with a plugin.
  4. Offline


    Well how the fuck did my entire world get covered in snow after a short period.
  5. Offline


    I have no idea.
  6. Offline


    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?
  7. Offline


    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.
  8. Offline


    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.

  9. Offline


    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 :)
  10. Offline


    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.....
  11. Offline


    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?
  12. Offline


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


    Set allowstorm and allowthunder to false.
  14. Offline


    Dont work with 1.6.5 and Bukkit b815
  15. Offline


    It's working perfectly fine with CB 815 here.

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


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

    Code (Text):
    1. 10:55:46 [SEVERE] Error occurred while enabling WeatherGod v0.3 (Is it up to dat
    2. e?): null
    3. java.lang.NullPointerException
    4.         at de.frozenbrain.WeatherGod.wgPlugin.onEnable(wgPlugin.java:51)
    5.         at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    6.         at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    7. .java:750)
    8.         at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    9. r.java:253)
    10.         at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    11.         at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    12.         at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    13.         at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    14.         at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    15.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    16.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    And then:
    Code (Text):
    1. java.lang.NullPointerException
    2.         at de.frozenbrain.WeatherGod.listeners.wgWeatherListener.onThunderChange
    3. (wgWeatherListener.java:41)
    4.         at org.bukkit.plugin.java.JavaPluginLoader$67.execute(JavaPluginLoader.j
    5. ava:712)
    6.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    7. a:58)
    8.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    9. ava:310)
    10.         at net.minecraft.server.World.i(World.java:1608)
    11.         at net.minecraft.server.WorldServer.i(WorldServer.java:164)
    12.         at net.minecraft.server.World.doTick(World.java:1533)
    13.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    14.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    15.         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:
    ThunderTower (currently disabled)
    WeatherGod (of course :))

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

    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 (Text):
    1. 11:10:04 [INFO] Done (0.228s)! For help, type "help" or "?"
    2. 11:24:08 [SEVERE] Could not pass event WEATHER_CHANGE to WeatherGod
    3. java.lang.NullPointerException
    4.         at de.frozenbrain.WeatherGod.listeners.wgWeatherListener.onWeatherChange
    5. (wgWeatherListener.java:25)
    6.         at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.j
    7. ava:705)
    8.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    9. a:58)
    10.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    11. ava:310)
    12.         at net.minecraft.server.World.i(World.java:1632)
    13.         at net.minecraft.server.WorldServer.i(WorldServer.java:164)
    14.         at net.minecraft.server.World.doTick(World.java:1533)
    15.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    16.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    17.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18. >
  17. Offline


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


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


    Hi FrozenBrain,

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


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



    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]
  22. Offline


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

    Thank you very much! :D
  23. Offline


    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:
  24. Offline


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


    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
  26. Offline


    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.
  27. Offline


    Just disable the weathers in the config.
  28. Offline


    i see only {} in config
  29. Offline


    OOOOOOH IGOTIT just the world file not the config one :p
  30. Offline


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


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

Share This Page