[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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.  
  3. Offline

    basjuhh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    im gonna try it ! (i need snow)
  4. Offline

    Crash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    EDIT : So many weather plugins. :p
    RobZ_SD likes this.
  5. Offline

    Shay Williams

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry, but are those intervals for naturally occurring storms or only the ones we specify with /mn <weather> ?
  6. Offline

    CasioBeatz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dear Plugin developer :D

    U said,
    How can I deactivate permissions? and if its not possible, how I need to write to the world.yml for permissions?

    Thanks for help

    Remus
  7. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is for all storms. The plugin disables the naturally occurring storms, so the only storms that will appear are the ones that are initiated by this plugin.
    thecrazyman3565 likes this.
  8. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The permissions nodes are listed in the first post. If you don't use permissions, ops will automatically have access to all commands. Non-ops will only have access to /mn help and /mn reload.
  9. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes... but MINE is better. :)

    It's actually specifying when you want the weather, it lets you send a lightning bolt to any point on the map, not just a player, and pretty soon, will have an umbrella. :)
  10. Offline

    zomgazombiewaffle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    im using this its better then all the others i have checked i want naturally occuring storms and stuff so put that in the config or enable it
  11. Offline

    Imamoose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i dont think the time/ delay thing works, its never rained at all and i have it set to rain alot of the time ie, rain duration 60 rain ever 2mins

    im running 609 or 709 (which ever is 1.5) i know its X09
  12. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm sorry, lack of punctuation has left me confused about what you're saying. Are you saying you do use this plugin, or are you telling me to ask a config value for naturally occurring storms, or what?
  13. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What does your config file say?
  14. Offline

    OalaR

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi, your plugin is the best weather plugin here! :) But i have one question, every thunderbolt ( from thunder or even created with wand ) does not set wood etc. on fire. Dont u know how to fix that?
  15. Offline

    SectioN 8

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Plugin doesn't work for me, tells me I don't have the permissions to use it, but my other admin can use it just fine.
  16. Offline

    Sabinno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    PLEASE don't make this too complicated.
    Don't add umbrellas of all things!
    I like this plugin exactly as it is because of its simplicity.
    Can we keep it that way? ;)
    -Sabinno-
  17. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Other than the umbrella, I really don't have any more additions that I can think of right now. It won't become too much more bloated, trust me. :)

    Granted, that's what Essentials said... and well....
    EpikGlow likes this.
  18. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Which permissions system do you use?
  19. Offline

    Yetanotherx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Strange, it was lighting trees on fire when I did it. Do you have WorldGuard or another plugin that blocks fire spread?
  20. Offline

    Sabinno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just really hate features that aren't natural.
    I'm trying my hardest to make my server run EXACTLY like single player.
    But with some extra weather.
    The umbrella doesn't make sense either, no offense.
    -Sabinno-
  21. Offline

    sfxworks

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there any way to set a time for it? Or configure how often it pops up?
  22. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Change your title a bit to [ADMN/MECH], I moved it to releases already though. :)
  23. Offline

    Anavrins

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Golden Boots in my hands, I feel like I'm Thor.
    Awesome plugin, the only issue is that rain doesn't extinguish fire made by lightning for some reason, causing several forest fire :/
  24. Offline

    SectioN 8

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Was Permissions 2.7, but I removed it and now the plugin works just fine.
  25. Offline

    GraphicalMe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I get this error


    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    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.NullPointerException
    at yetanotherx.bukkitplugin.MotherNature.MotherNaturePermissions.has(MotherNaturePermissions.java:62)
    at yetanotherx.bukkitplugin.MotherNature.command.HelpCommand.onCommand(HelpCommand.java:26)
    at yetanotherx.bukkitplugin.MotherNature.MotherNatureCommand.onCommand(MotherNatureCommand.java:41)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
  26. Offline

    DeaGato

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you add the option to choose in-game the rain\thunderstorm duration?

    For example:

    /mn rain > default time
    /mn rain 20 > 20 seconds
    4am likes this.
  27. Offline

    LucidLethargy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to make the probability of storms or rain higher without it being 100% predictable? Seems almost soul-less to set it on a timer :p

    Oh also what about seasons? Mine craft time seasons even! It's all possible, but are you interested? Either way great work so far!
  28. Offline

    MrAllthat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Deffinitely when its possible you should implement a simple calendar that overwrites biome types and allows diff precipitation in biomes.
    A few config options for season length and weather probability (weather should be a percent chance not on a timer).
  29. Offline

    thorpe_lawrence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sorry But My Bukkit Errors:

    11:02:17 [SEVERE] Exception in thread "mn_thread"
    11:02:17 [SEVERE] java.lang.NoSuchMethodError: org.bukkit.World.setStorm(Z)V
    11:02:17 [SEVERE] at yetanotherx.bukkitplugin.MotherNature.thread.MotherNa
    tureThread.run(MotherNatureThread.java:84)
    11:02:17 [SEVERE] at java.lang.Thread.run(Unknown Source)

    Any Help On This Matter Would Be Appriciated

    EDIT: Fixed :eek:

    RE-EDIT: Broken Again :mad:
  30. Offline

    Yuushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Multi-world support would be amazing. <3
    4am likes this.
  31. Offline

    MrAllthat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Deffinitely when its possible you should implement a simple calendar that overwrites biome types and allows diff precipitation in biomes.
    A few config options for season length and weather probability (weather should be a percent chance not on a timer).

Share This Page