Solved Full moon every night

Discussion in 'Plugin Requests' started by OfficialJaco, Dec 25, 2017.

  1. So I just started a server based on the movie "The Purge", and I have day set to 60 min, and night set to 40 min. With the recent changes, night time looks amazing while the moon is out, but when there is no moon, it makes for really dark 40 minute nights where players get aggravated because it is hard to pvp. I was wondering if it was possible to design a plugin where there is a visible full moon every night?
     
  2. @OfficialJaco
    Surrre I can help you ;)

    >>> TimeOfDay for Rust | Oxide

    with these custom options being set to reach this for example:
    Code:
    {
      "DatePreset": {
        "presetDay": 3,
        "presetMonth": 6,
        "presetYear": 2020,
        "setPresetDate": true   // 'true' sets on load the predefined game date
      },
      "Settings": {
        "freezeDate": true,   // 'true' would keep always the same day
      },
    }
     
  3. Thanks a lot! I saw that in the coding but didn't realize that's what it did.
     
  4. @Fujikura

    I'm playing around with the different days/months trying to get a crescent moon that is in the sky all night. Is there a trick to this or do I gotta keep playing around with it till I get it? lol
     
  5. Nope..Trial'n'Error is your friend ;)
     
  6. i would say try to find a day where the full moon is then set the day option to that day of the month. then keep freeze date enabled.
     
  7. is there a command to check what day it is?
     
  8. env.month
    env.day
    env.year
     
  9. Thank you very much!
     
  10. Did you ever figure out what month/day worked?
     
  11. When I played around with it, the further away the moon got from the sun (so the moon was out all night) the closer it was to a full moon, so I couldn't get a crescent moon that lasted all night. Not sure if that's possible. I also sped up day/night and sat there for 2 months and had the same results. So no, I haven't not figured it out. lol