免费插件

Time Of Day

一天中的时间

改变白天和黑夜的持续时间

timeworld

原作者:misticos · 查看 uMod 官方页面 ↗

插件介绍

改变白天和黑夜的持续时间

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

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.

Called when the plugin switches to night.

主要用途

主要用于time、world等服务端功能。 本插件由 misticos 发布,当前目录记录版本为 v2.3.4,uMod 累计下载 192,062 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

timeworld
查看 uMod 官方英文简介

Alters the day and night duration

指令说明

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

相关依赖

  • Clear Night
  • Day/Night Gather
  • Working Man
  • ZLevels Remastered

配置说明

{ "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.

官方配置示例

{
  "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
  }
}
OnTimeSunset()

更新日志

最新版本: v2.3.4
最后版本发布: 2018-09-04
最后更新(条目): 2026-07-19

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。