[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


    I have no idea.
  3. 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?
  4. 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.
  5. 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.

  6. 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 :)
  7. 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.....
  8. 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?
  9. Offline


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


    Set allowstorm and allowthunder to false.
  11. Offline


    Dont work with 1.6.5 and Bukkit b815
  12. Offline


    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


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


    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 14, 2016
  15. Offline


    Hi FrozenBrain,

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


    Yes, I totally forgot about that. Thanks :)
  17. 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]
  18. Offline


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

    Thank you very much! :D
  19. 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:
  20. Offline


    Just letting you know that WG v0.31 seems to be incompatible with the latest Permissions plugin (v3.x).
  21. 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
  22. 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.
  23. Offline


    Just disable the weathers in the config.
  24. Offline


    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 14, 2016
  25. Offline


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


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


  28. Offline


    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 14, 2016
  29. Offline


    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



    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 (Text):
    1.     Admins:
    2.         default: false
    3.         info:
    4.             prefix: ''
    5.             suffix: ''
    6.             build: true
    7.         inheritance:
    8.         permissions:
    9.             - '*'
    10.             - 'general.*'
    11.             - 'weather.*'

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

    Thank You For This Plugin
  31. 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