[INACTIVE][ADMN] MotherNature v1.2 - Control the weather, Umbrellas, Timed weather [711]

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

  1. Offline

    Yetanotherx

    MotherNature - Control the weather:
    Version: v1.2

    So far, all the weather-controlling plugins have simply had commands for starting and stopping the weather. But what if you don't have any admins online and want rain? That's where this plugin comes in. Here, you set a time interval and duration, and it rains after a certain amount of time, every time! The process runs in a thread, so it is unaffected by lag. It also allows you to manually set rain, thunder, and even lighting! It also provides an umbrella, so you can stay dry even in the wettest weather! And, if you're feeling adventurous, holding gold boots and right-clicking a point anywhere in the world will strike a bolt of lightning!

    Download MotherNature v1.2
    Source Code

    Configuration:

    Running the program the first time will make a config.yml file in the MotherNature/ folder. Here are the config values you can set:

    • debug - Debug mode. Should leave as false
    • rain
      • interval - Seconds between rainstorms
      • duration - How long the rain should last, in seconds
    • thunder
      • interval - Seconds between thunderstorms
      • duration - How long the thunder should last, in seconds
    • wand - Item ID if the lightning wand. Defaults to gold boots.
    Usage:

    • /mn help - Shows a help message
    • /mn version - Shows the version
    • /mn reload - Reloads the config
    • /mn rain - Starts a rainstorm
    • /mn thunder - Starts a thunderstorm
    • /mn lightning player - Strikes lightning down on a player
    • /mn sun - Makes the day sunny again
    • /mn umbrella - Holds an umbrella over your head
    In addition to the commands, holding gold boots (if you have permissions) and right-clicking will strike lightning on the block that you click, even if you're far away from it.

    Permissions:

    MotherNature works best with either Permissions or GroupManager installed, but they are not required. Here is a list of permissions you can give them.

    • "mothernature.command.help" - Use "/mn help"
    • "mothernature.command.version" - Use "/mn version"
    • "mothernature.command.reload" - Use "/mn reload"
    • "mothernature.command.rain" - Use "/mn rain"
    • "mothernature.command.thunder" - Use "/mn thunder"
    • "mothernature.command.lightning" - Use "/mn lightning"
    • "mothernature.command.sun" - Use "/mn sun"
    • "mothernature.command.umbrella" - Use "/mn umbrella"
    • "mothernature.wand" - Use the lightning wand
    Changelog:

    Version 1.2
    • General fixes
    • Umbrella added

    Version 1.1
    • Add the rain, thunder, lightning, sun commands
    • Add the lightning wand.
    Version 1.0
    • Releasing MotherNature
     
    DaEgo, smegmabob, Juze and 1 other person like this.
  2. Offline

    Frvwfr3

    Umbrella does not work. Just letting ya know..

    or maybe I didn't set it up correct idk. Just added the plugin and everything looked great. Had limited time so didn't really investigate farther xD
     
  3. Is there a way to stop it from saying "The Clouds Clear" and so on?
     
  4. Offline

    Lemorz56

    Dosent work for me.
     
  5. Offline

    Popa611

    Thaanks works fine
     
  6. the umbrella is a portable glowstone & wood generator, it's sould be undestructable.
     
  7. Offline

    JackTDawson

    Wanted to say.. GOOD JOB Yeta !! This plugin made me shat myself last night.. LMAO It was pitch black in my room and i'm playing minecraft and this plugin was on my new server I tested out last night. I have never seen weather in Minecraft before, so I had no clue what to expect.. Then it started to rain and I was "AWESOME".. then lightning and thunder hit and I saw lightning strike a tree and it scared the crap out of me.. LMAO

    Awesome plugin !!!!

    Works with cb714

    I agree, this should be an option. Weather doesn't normally announce what its doing when you can plainly see it for yourself. Unless your one of those freaks that everything talks to you. Then hey, turn the option on for them.. LMAO

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

    4am

    I would love to see more fine-grained control over the weather; perhaps some type of randomness factor allowed for each parameter, a setting for lightning frequency, and perhaps a setting which ensures lightning doesn't strike pigs. An awesome plugin, I definitely recommend it.
     
  9. Offline

    Petomatick

    Doesn't weather and such come in 1.5? As far as i know there is no update in (craft)bukkit for MC 1.5 yet. Correct me if im wrong.
     
  10. Offline

    JackTDawson

    CB714 works with 1.5_1 +
    http://ci.bukkit.org/job/dev-CraftBukkit/714/
     
  11. Offline

    Giuseppe

  12. Offline

    JackTDawson

    Yes, I tried this without this plugin.. it DOES rain inside of the server without ANY weather plugins. BUT.. you do not get thunder or lightning.. ALSO.. here is a picture of what happens when a lightning struck a tree...

    Show Spoiler

    Fire After A Thunder.jpg


    This is NOT a good plugin to have if your on a Build server and using things like wool etc. It will burn it down. I saw my whole village go up in flames.. IT WAS AWESOME and sad at the same time.. LMAO
     
  13. Client side it will be alive, rejoin he is gone

    Addon is very buggy

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

    Clutchsky

    is it possible to disable thunderstorms with this?
     
  15. Offline

    Lemorz56

    yes /mn thunder
     
  16. Offline

    Clutchsky

    that makes it start ...
     
  17. Offline

    Lemorz56

    i dunno
     
  18. Offline

    JagJuster

    Need help im new at this and i have a mac the umbrella and help works for this but when i try to make it rain or lightning it says internal error has occured. Please help. I think i installed it proporly, but this plugin...looks...GREAT!!!
     
  19. Offline

    blutherz

    great i love the golden boots :)
     
  20. Offline

    killabb23

    You can add Snow! I would love to make the place I live in (MC) snowy! and Also I have permissions and I gave myself all the commands, but when I try to use /mn lighting it doesn't work.. I just get /mn help.. Do I have to do it in a thunder storm?
     
  21. Offline

    Lookatmego

    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
    at net.minecraft.server.Packet3Chat.a(SourceFile:36)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    at yetanotherx.bukkitplugin.MotherNature.command.RainCommand.onCommand(RainCommand.java:31)
    at yetanotherx.bukkitplugin.MotherNature.MotherNatureCommand.onCommand(MotherNatureCommand.java:41)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    cb 707
     
  22. Offline

    jaybud4

    [711]

    Specifically, the hooks that this requires were added in 709.
     
  23. Offline

    Nerozx

    why there isn't a snow starting command?
     
  24. Offline

    Yetanotherx

    To all the people asking, if you want snow, you must be in a snow biome.
     
  25. Offline

    CasioBeatz

    thank u^^
     
  26. Offline

    revfeuerfrei

    Question, can we have a nothunder config option, where I can tell the server no thunder unless it's called upon by an admin, we've had some fantastic fires.

    Or, is setting duration of thunder to 0 a way of already doing this.
     
  27. Offline

    krnel

    Thanks for the plugin!

    Can you add setting to the config to disable certain aspects? Disable/enable: thunder, rain, permanently, and by MultiWorld?

    Thank you.
     
  28. Offline

    4am

    Probably a question for WorldEdit but is it possible to edit biome types to achieve this?
     
  29. Offline

    jaybud4

    Biomes are determined at runtime, they're not saved.
    A change to the worldgen code would be required for that.
     
  30. Offline

    epiqu1n

    I like this plugin, but I don't really like the fact that it overrides the default weather patterns. Perhaps make an option to specify an upper and lower boundary for interval and duration, allowing for a bit of randomness in when storms occur?

    Also, does the thunder option specify when thunderstorms occur, or when thunder during a rainstorm occurs?

    Edit:
    Two things I've noticed which I'm not sure if they are a problem with your plugin or with SMP: Summoned lightning strikes will cause fire, but not a lasting fire, and summoned lightning strikes on pigs will create multiple pig-zombies, one server-side that acts like normal, and one to a few client-side ones that are not killable and do nothing but push you around (until you disconnect and reconnect).
     
  31. Offline

    Icalasari

    Any chance of letting the server owner decide which item has lightning powers? This way, I could, for example, set it to the Gold Pickaxe (my texture pack has them as hammers) on my private server, and on other servers, one could make it, say, a Music Record to make it extremely rare
     

Share This Page