Time and Weather God 1.0.0

Advanced Time and Weather Customization for your Server

  1. Mayhem777
    Contributors:
    Mayhem777 (José Manuel Gassin Pérez-Traverso)
    Description:

    This plugin allows to modify any world's time and weather with simple commands in many ways, you can set the time/weather, lock it, set a time/weather cycle and much more!

    This plugin aims to be a complete Time and Weather solution with the highest possible performance.



    Features:

    *General:
    **Commands can be run from console or player.

    *Time:
    **Able to use "ticks" as argument for commands.
    **Able to use up to 8 predefined "Parts of the Day" for Commands with 15 possible words: Day/DayStart, Morning, Midday/Noon, Afternoon, Sunset/Dusk/Sundown/Nightfall, Night/NightStart, Midnight and Sunrise/Dawn.
    ***These "Parts of the Day" have a default time BUT it's customizable within config.
    **Able to SET server or target world's time.
    **Able to LOCK server or target world's time (with a configurable LOCK timing).
    **(Scheduled for v1.1.0)Able to CREATE a TIME CYCLE for server or target world.

    *Weather:
    **Able to use up to 6 predefined "Weather Types" for Commands: Sun/Sunny, Storm/Stormy(Rain/Snow/Overcast depending on the biome), Thunder and ThunderStorm(rain+storm).
    **Able to SET server or target world's weather.
    **Able to LOCK server or target world's weather.

    *(Scheduled for v1.1.0)Time Cycles:
    **Allows to run a range of time for the server or target world, ex:
    ***From 0 (Morning) to 12000 (Sunset/Dusk): This will "lock" the server/world to a permanent DAY Cycle, skipping night cycle.



    Help & Hints:

    *Here's a table with Minecraft Day-Night Cycle (20 minutes) and parts of the day.
    *Here you can also find the default values (ticks) for each part of the day, you can also customize these values in the config to create your own day configuration.



    Parts of the Day:
    |=Part|=MC Time|=Ticks
    |Day/DayStart|06:00 ~ 6:00 AM|0|
    |Morning| 07:00 ~ 7:00 AM|1000|
    |Midday/Noon|12:00 ~ 12:00 PM|6000|
    |Afternoon|15:00 ~ 3:00 PM|9000|
    |Sunset/Dusk/Sundown/Nightfall|18:00 ~ 6:00 PM|12000|
    |Night/NightStart|20:00 ~ 8:00 PM|14000|
    |Midnight|00:00 ~ 12:00 AM|18000|
    |Sunrise/Dawn|05:00 ~ 5:00 AM|23000|



    Commands & Permissions:

    |=Command|=Permission|=Description|
    |**CORE PERMISSION**|**twg.admin**|//<Grants access to all Plugin features/commands>//|
    |**/twg [help]**|**twg.admin**|//<Shows a list of commands>//|
    |**/twg reload**|**twg.admin**|//<Reloads the config and language file/s>//|
    |**/twg settime <ticks/day part> <world/server> [world]**|**twg.admin**|//<Sets the TIME for the ENTIRE SERVER, CERTAIN WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world)..>//|
    |**/twg setweather <weather> <world/server> <duration> [world]**|**twg.admin**|//<Sets the WEATHER for the ENTIRE SERVER, CERTAIN WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world) for a custom duration.>//|
    |**/twg locktime <ticks/day part> <world/server> [world]**|**twg.admin**|//<Locks the TIME for the ENTIRE SERVER, CERTAIN WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world).>//|
    |**/twg lockweather <weather> <world/server> [world]**|**twg.admin**|//<Locks the WEATHER for the ENTIRE SERVER, CERTAIN WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world).>//|
    |**/twg unlocktime <world/server> [world]**|**twg.admin**|//<If locked, breaks the TIME LOCK for the SERVER, TARGET WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world).>//|
    |**/twg unlockweather <world/server> [world]**|**twg.admin**|//<If locked, breaks the WEATHER LOCK for the SERVER, TARGET WORLD or YOUR CURRENT WORLD (if you're a player and you don't specify a world).>//|



    Command Examples:
    Setting the Time:
    *Your current WORLD's TIME (you MUST be a PLAYER):
    **/twg settime morning world -> Sets your current WORLD's TIME to "Morning" (Tick 1000 -> MC Time 07:00 ~7:00 AM).
    **/twg settime 0 world -> " " " "

    *Target WORLD's TIME (from player or console):
    **/twg settime morning world hub -> Sets WORLD "hub" TIME to "Morning" (Tick 1000 -> MC Time 07:00 ~7:00 AM).
    **/twg settime 0 world hub -> " " " "

    *Server's GLOBAL TIME (all worlds)(from player or console):
    **/twg settime morning server -> Sets SERVER's TIME to "Morning" (Tick 1000 -> MC Time 07:00 ~7:00 AM).
    **/twg settime 0 server -> " " " "

    Setting the Weather:
    *Your current WORLD's WEATHER (you MUST be a PLAYER):
    **/twg setweather storm world -> Sets your current WORLD's WEATHER to "Storm" (Rain/Snow/Overcast depending on the biome).

    *Target WORLD's WEATHER (from player or console):
    **/twg setweather storm world hub -> Sets WORLD "hub" WEATHER to "Storm" (Rain/Snow/Overcast depending on the biome).

    *Server's GLOBAL WEATHER (all worlds)(from player or console):
    **/twg setweather storm server -> Sets SERVER's WEATHER to "Storm" (Rain/Snow/Overcast depending on the biome).

    * Remember:
    **For <time> you can use SERVER TICKs OR ANY of these TAGs: Day/DayStart, Morning, Midday/Noon, Afternoon, Sunset/Dusk/Sundown/Nightfall, Night/NightStart, Midnight and Sunrise/Dawn (CASE INSENSITIVE).
    **For <weather> you can use ANY of these: Sun/Sunny, Storm/Stormy(Rain/Snow/Overcast depending on the biome), Thunder and ThunderStorm(rain+storm) (CASE INSENSITIVE).



    Future Features:
    ( I wish you to have the last word in this, so please comment, and tell me what do you want in the next version! )

    *(v1.1.0)Weather Cycles: similar to Time Cycles, but able to ser various per world like: RAIN from 12:00 to 14:00 and STORM from 16:00 to 19:00.
    *(v1.1.0)Time/Weather check commands to show info about the time/weather status of the server or world.



    Errors / Issues - Troubleshooting:
    GETTING "Unsupported major.minor version 51.0" ON START?****ALL MY PLUGINS RUNS WITH JAVA 7! IF your have Java 6, UNINSTALL it and THEN INSTALL Java 7

    *Plugin won't load!...I get tons of errors!
    **Try to remove all the plugin data (jar and folder), start/stop the server, paste again the jar in the plugins folder and start again.
    **Download the plugin again and try, some times the JAR file brokens in the download process.

    *Nothing Works?...** <</color>><<color red>>**then SEND me a PM!

    About the Author:
    I'm always trying to keep my plugins updated, if a plugin breaks please send me a PM and i'll try to update it ASAP! Please understand that i have a job, wife, etc and sometimes is hard to find time ;)


    Also, you can hire me to make a custom plugin for your server, PM me!


    Donations:
    This is a free work, i'm not gonna get rich with this, so if you like my work, want to speed up the development or get custom features, please feel free to donate, a simple $ is enought to buy me some cookies :)

    [​IMG]

    Images

    1. logoTaWG.png