[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

    MacG32

    Still working good with CB #897. ;)
     
  3. Offline

    dandaman1001

    I am an admin on my server and when I try to use this plugin, it says that I "don't have permission" to do so. I can't seem to give myself permission with group manager. Help?
     
  4. Offline

    nabakin

    THIS IS EXACTLY WHAT I NEEDED but it's not in craftbukkituptodate. Can you please add it to craftbukkituptodate at dev.bukkit.org?
     
  5. Offline

    DaEgo

    works fine on CB 1531

    is it possible to turn off the log info`s ?
    "Server is now raining."
    "Server is no longer raining."
    "Server is now thundering."
    "Server is no longer thundering."
    MotherNatureThread.class
     
  6. Offline

    wolnavi

    can you update this please?
     
  7. Offline

    DaEgo

    update for what ?!
    still works and no errors :cool:

    man nur idioten oder wat ey
     
  8. Offline

    DaEgo

    This Plugin is not compatible with newest update
    CB 1943 (http://dl.bukkit.org/downloads/craftbukkit) is the last version it works with plugin
    please update
    thx
    Show Spoiler

    Code:
    Error occurred while enabling MotherNature v1.2 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/bukkit/util/config/Configuration
        at yetanotherx.bukkitplugin.MotherNature.MotherNatureSettings.load(MotherNatureSettings.java:40)
        at yetanotherx.bukkitplugin.MotherNature.MotherNature.onEnable(MotherNature.java:56)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:343)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:364)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:221)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:204)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.util.config.Configuration
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    

    and
    Show Spoiler

    Code:
    Error occurred while disabling MotherNature v1.2 (Is it up to date?)
    java.lang.NullPointerException
        at yetanotherx.bukkitplugin.MotherNature.MotherNature.onDisable(MotherNature.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:369)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:382)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:375)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:216)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:385)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:465)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
     
  9. Offline

    DaEgo

    R.I.P. :'(
     
  10. Offline

    triptechrepair

    Hello im new to this bukkit server stuff i need some help installing this plugin to my bukkit server. Im running the 4.1 version of bukkit server
     

Share This Page