[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

    Reterg

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  4. Offline

    IronWill1991

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I changed config, so I can use my diamond sword to summon lightning, but it doesn't work. Do I really need permission plugin installed? I'm using cb #732 bty.
  5. Offline

    Spathizilla

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    On CB#733 with MN 1.2:

    Tried to do /mn umbrella and got this:

    Code:
    06:18:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mn' in plugin MotherNature v1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:675)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            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: com.Android.magiccarpet.Carpet.<init>(Z)V
            at yetanotherx.bukkitplugin.MotherNature.command.UmbrellaCommand.onCommand(UmbrellaCommand.java:45)
            at yetanotherx.bukkitplugin.MotherNature.MotherNatureCommand.onCommand(MotherNatureCommand.java:41)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    I'm guessing that might be a conflict with MagicCarpet?
  6. Offline

    IronWill1991

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try using it without the magic carpet and see if the problem still occurs.
  7. Offline

    wiseguy149

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could someone explain to me what the settings in the config for thunderstorms mean? I understand how frequently rain occurs, but the frequency of thunderstorms don't seem to match up with the config values.
  8. Offline

    4am

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    OMG Electric Spleef
  9. Offline

    IronWill1991

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The /mn reload doesn't work even the command said so. I have to restart my server everytime I changed the config file.

    EDIT: I don't think changing the config doesn't do anything for some reason. The rain only last 120 seconds when I set it to 1200.

    Using cb#733
    EDIT 2: I got it working. I just deleted a folder and create a new one. Then I carefully set new times. I didn't know config file can be so sensitive.
  10. Offline

    duschdas2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin doesnt work for me. When i type /mnhelp or any other command it comes a Message: An internal error occured while attempting to perform this command.

    Pls help
  11. Offline

    Ancetras

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can i make disappear the Lightnings with this plugin?
  12. Offline

    everhaunted

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    you should add snow and for the command have it something like /mn snow <radius>
  13. Offline

    ZachBora

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think that'd be way beyond the purpose of this plugin. What this one does is make everywhere rain/snow depending on the biome players are in.

    Forcing snow for only a radius would require a lot more modification.
  14. Offline

    Edgard Mok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how disable thunder ? thx you.
  15. Offline

    The PC Tech Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If it's your buildings catching on fire that you're concerned with, then check out PlgColdLightning.
  16. Offline

    The PC Tech Guy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Worldedit has /snow <radius> and /thaw <radius>, although I don't think it would change the biome.
  17. Offline

    Lakart

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It would be great if we could start timed rain or thunderstorms, like /mn thunder seconds
  18. Offline

    callunxz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Derp it does thunder if you dont have mods but... its extreamly rare XD
  19. Offline

    TfT_02

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Great plugin! Thank you for this!
  20. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is that normal that lightning can't damage pigzombies? :) i used wand-tool and can't killed them.
  21. Offline

    blutherz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Where can i disable the spam?
    I see in consol always the actual weather like it is now raining or it is now stopping rain etc etc...

    i prefer a additional command a.e. "mnstatus" for consol output the weatherstatus
  22. Offline

    ikmtgv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I installed this plugin and whenever I use any /mn command it says "An internal error has occurred..." What do I do?
  23. Offline

    xDarKen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hmm...i have the same problem as you, even thought i want the fire to spread the dont spread... lol
  24. Offline

    Xphacter

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can we fix this? I'm seriously thinking about removing this plugin from this spam.

    Plus is the pigzombie clientside bug from this plugin / craftbukkit / or from notch. Because if it is Notch he should know about it since he is doing bug fixes for 1.6
  25. Offline

    Selryam

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome plugin. Hahaha, I always laugh when using the umbrella.
  26. Offline

    kyle921

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've had the same error as well. Also, do you think you could add a config item to disable the timer function of MotherNature and use the default timing? Anyway, thanks for the great plugin!
  27. Offline

    Myke

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, an idea for the umbrellas, could you make them customizable per player? so players can choose different wool to have different color umbrellas! Also, need to make it so players cant destroy the block so they have an unlimited supply of glowstone and planks
  28. Offline

    Tamfoolery

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have this mod installed on my server, and while it is really good, there is a problem. I don't know whether (no pun intended) this mod is the cause, or if it is a bug in the game, but for some strange reason it is snowing in the desert!

    Is anyone else getting this problem?
  29. Offline

    HadrienM

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is this plugin prevent fire spread with lightning ? Beacause i can't destroy things with lightnings :/ Before, i was able to...

    Lightnings fires cannot spread and cannot hurt/kill people too
  30. Offline

    rockiesfan1234

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Im the admin for my server and i dont have permission to use the plugin, nither do any of the other mods or admins. What do i do?
  31. Offline

    Kartus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
        thunder:
            duration: 120
            interval: 30
    interval: 30 = all 30 seks thunder? or each 30. rain = thunder?
  32. Offline

    silkey22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can you make a no cloud plugins

Share This Page