[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

    4am

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    oh dear god I've created a zombie pigman with lightning and now not even WorldEdit's /butcher will kill it! How do I get rid of him!?
  4. Offline

    G1R Productions

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Above needs fixing and can you make it so durability is taken off the item per use? Or set it up with iconomy so that it costs money to zap things?
  5. Offline

    hintzsche

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    does noone have a solution on this error ?

    [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)
  6. Offline

    Pythros

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It is the best yet!

    Is umbrella suppose to show something? Because I don't see anything.

    Request... have a second wand to have an explosion where lightning strikes. --- THIS would be awesome!
    thepackett likes this.
  7. Offline

    Me4502

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    for me umbrella just says internal error...
  8. Offline

    thepackett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    maybe as a future feature you could set different rain/thunder durations and intervals for different worlds?
  9. Offline

    toon7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i got
    Code:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'dropchest.*'
                - 'lockette.admin.create.*'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'lockette.admin.reload'
                - 'lc.admin'
                - 'dropchest'
                - 'dropchest.create'
                - 'dropchest.remove'
                - 'dropchest.radius.set'
                - 'dropchest.radius.setBig'
                - 'dropchest.which'
                - 'dropchest.teleport'
                - 'dropchest.filter'
                - 'dropchest.destroy'
                - 'dropchest.protect'
                - 'dropchest.moderator'
                - 'mothernature.command.help'
                - 'mothernature.command.version'
                - 'mothernature.command.reload'
                - 'mothernature.command.rain'
                - 'mothernature.command.thunder'
                - 'mothernature.command.lightning'
                - 'mothernature.command.sun'
                - '-ItemSpawn.Essentials'
                - 'mothernature.command.umbrella'
                - 'mothernature.wand'
    and it still says i dont have permission iam an admin so whats wrong ??
  10. Offline

    DamonZaphod

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Do you think you could make it so that using the thunder command without a username would cause the same behavior as right-clicking with golden boots? This way, I could use it with Wandmin :)

    edit: Sorry, I mean the lightning command.
  11. Offline

    pwnyy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    somehow it always says i don't have permission...
    just when i type /mn help
    or /mn umbrella it works
    my permissions are like these: (and yes i am adminstrator :p)
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - lockette.create.*
            - AutoRepair.access
            - AutoRepair.auto
            - myhome.home.*
            - craftbook.mech.elevator.use
            - craftbook.mech.elevator
            - craftbook.mech.bridge
            - craftbook.mech.cauldron
            - craftbook.mech.gate
            - craftbook.ic.MC1000
            - craftbook.ic.MC1001
            - craftbook.ic.MC1017
            - craftbook.ic.MC1018
            - craftbook.ic.MC1110
            - craftbook.ic.MC1111
            - craftbook.ic.MC1230
            - iConomy.rank
            - iConomy.payment
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.command.iteminfo
            - mothernature.command.help
            - mothernature.command.umbrella
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - bar.foo
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
            - iConomy.*
            - iConomy.payment
            - iConomy.admin.set
            - iConomy.admin.grant
            - mothernature.command.help
            - mothernature.command.version
            - mothernature.command.reload
            - mothernature.command.rain
            - mothernature.command.thunder
            - mothernature.command.lightning
            - mothernature.command.sun
            - mothernature.command.umbrella
            - mothernature.wand
    users: null
    
    Edit: well ok if i put everything in default everything works fine but do i want that everyone is able to change weather so? no xD
    i only want those commands for admin >.<
  12. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I LOVE THIS PLUGIN!!! first thing i did was make it rain then thunder THEN I LIGHTNINGED PLAYER SOO COOL!! but it did lag the server and all most crashed us!!!
    EDIT fixed didnt reboot server first time just did /reload
    but it only does like 4 hearts damage :/
    id like to see insta death!!!
  13. Offline

    TuRmoiLxx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this title made my day. ;) Judging I have 4 sisters.
  14. Offline

    fightknight

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There are a lot of great ideas in the thread so far but if you do add em, maybe you could make a "Mother Nature Lite" version with just the current feature set?
  15. Offline

    Frvwfr3

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

    callunxz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to stop it from saying "The Clouds Clear" and so on?
  17. Offline

    Lemorz56

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Dosent work for me.
  18. Offline

    Popa611

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thaanks works fine
  19. Offline

    Misa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    the umbrella is a portable glowstone & wood generator, it's sould be undestructable.
  20. Offline

    JackTDawson

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

    JackTDawson

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

    4am

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

    Petomatick

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

    JackTDawson

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

    Giuseppe

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

    JackTDawson

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


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

    pydrex

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Client side it will be alive, rejoin he is gone
  28. Offline

    pydrex

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Addon is very buggy
  29. Offline

    Clutchsky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    is it possible to disable thunderstorms with this?
  30. Offline

    Lemorz56

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yes /mn thunder
  31. Offline

    Clutchsky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    that makes it start ...
  32. Offline

    Lemorz56

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i dunno

Share This Page