TR Zoon
CategoriesMain Menu
  • $-USD
  • Tk-BDT
  • Rs-INR
  • N-NGN
  • $-CAD
  • P-PHP
  • TL-TRY
  • $-ARS
  • English
  • Arabic

Time Of Day2.3.4

Free
Time Of Day
Main
2
2 Views
2
2 Downloads
11.35 KB
File Size
December 25
Upload
December 24
Submitted

This plugin allows you to alter how long day and night should last.

Console Commands

  • tod.daylength -- Show/change the current setting for dayLength
  • tod.nightlength -- Show/change the current setting for nightLength
  • tod.freezetime -- Toggle the progression of time
  • tod.skipday -- Skip the current daytime
  • tod.skipnight -- Skip the current nighttime

Chat Commands

  • /tod -- Show current time/day settings

Configuration

The settings and options can be configured in the TimeOfDay file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
{
  "DatePreset": {
    "presetDay": 1,
    "presetMonth": 1,
    "presetYear": 2020,
    "setPresetDate": false   // 'true' sets on load the predefined game date
  },
  "Settings": {
    "authLevelCmds": 1,   // accesslevel for console commands
    "authLevelFreeze": 2,   // accesslevel for freezing time
    "autoSkipNight": false,   // 'true' skips nights automatic on sunset
    "dayLength": 30,   // length of day in minutes
    "freezeDate": false,   // 'true' would keep always the same day
    "logAutoSkipConsole": true,   // write info about autoskip to console
    "nightLength": 30   // length of day in minutes
  },
  "TimeFreeze": {
    "freezeTimeOnload": false,   // true would freeze time on plugin load
    "timeToFreeze": 12.0   // the time to freeze on
  }
}

Setting the date preset defines in result how long your game days lasts, when the plugin was loaded. The First of december is one of the longest, means early sunrise and late sunset.

Using "freezeDate" true would set back the day to the one before on daychanges at midnight. This results in the same sunrise and sunset times for every Rust day.

Download

Compatibility

Oxide
Oxide Compatible
Carbon
Carbon Compatible

Created By

Mrba

Mrba