[MECH] SeattleSummer v1.5.1 - Limiting the maximum rain duration [1185]

Discussion in 'Inactive/Unsupported Plugins' started by fritz, Jul 10, 2011.

  1. Offline

    fritz

    [NOTICE] This plugin has been moved to BukkitDev.

    SeattleSummer - Limiting rain duration
    Version: 1.5.1

    The plugin is called "Seattle Summer" because just like a summer in Seattle, it will still rain. It just won't rain for quite so long.

    The plugin very simply allows you to set a maximum duration for rain cycles. Rain will still start normally and the natural rain duration may be less than what you set for a maximum. The plugin only kicks in if the rain goes on for too long.

    I created this plugin due to popular demand on my server. Nobody really wanted to get rid of rain completely, but it is very annoying when it rains for 3 minecraft days straight.

    Features:
    • Limits maximum rain duration
    • MultiWorld Compatibility
    • Optional world exclusion
    Configuration (open)

    Code:
    # Maximum rain duration (in seconds)
    maxDuration: 300
    
    # List of worlds that you do not want to restrict rain on. (remember, spaces are important in yaml)
    excludedWorlds:
    - world_nether
    
    Download Jar
    Download Source

    Changelog:
    Version 1.5.1
    • Added JavaDocs
    • Updated plugin.yml with valid description
    Version 1.5
    • Added separate timers per world
    • Added option to exclude worlds
    Version 1.01

    • Fixed a stupid oversight that failed to actually reset the timer
    Version 1.0
    • Initial release
    Future Plans
    • Nothing that I can think of, trying to keep it simple.
     
    3dhomejoe likes this.
  2. Offline

    Malth

    Excellent. I've been looking for a plugin that does just this.

    If it supported commands to start and stop weather, that would be nice, but not a big deal.
     
  3. Offline

    fritz

    I figure that there are enough plugins out there already that covered that and it would add a lot of complexity since it would then make sense to add permissions support.

    The only thing I can think that I might add on this is the option to limit it to certain worlds in the off chance that somebody has a "Snow World" or something.
     
  4. Offline

    fritz

    So, the file I actually uploaded yesterday had a serious flaw causing it to crash.

    1.0.1 corrects the issue and should be stable. I also added some future plan notes to the first post.
     
  5. Offline

    monotonehell

    Out of interest; what is the current multiworld behaviour?
     
  6. Offline

    fritz

    It starts a timer whenever rain starts in a world to stop that rain after X number of seconds. The timer cleared whenever the weather switches from storm to rain. The only time would see an issues would be the following type of scenarios.

    World1: Rain starts, timer is set to clear it after X seconds.
    World 2: Rain starts in the second world before the first timer finishes. Timer is reset and a new timer is started for world 2.
    In this case, the rain storm in world 1 will not be halted.

    It should be relatively easy to create separate timers for each world, so MultiWorld support should come as soon as I have a few minutes to work on it.
     
  7. Offline

    monotonehell

    Thanks for the clarification. I will keep an eye on your mod. It sounds ideal, as Notch's idea of rain is days and days long. The other weather mods that did this have become inactive it seems.
     
  8. Offline

    fritz

    Plugin has been updated. It now fully supports multiple worlds tracking rain duration separately for each world. Also added the option to exclude worlds from being monitored by the plugin.
     
  9. Offline

    fritz

Share This Page