Hello, how to increase the day and reduce the night?
Solved Changing day/night length?
Discussion in 'Hurtworld Discussion' started by Hider, Jan 11, 2018.
-
TimeManager.Instance.DayLength = 1000f;
TimeManager.Instance.NightLength = 10f; -
-
Plugin
-
hmmm
where passted this code?
TimeManager.Instance.DayLength = 1000f;
TimeManager.Instance.NightLength = 10f; -
Wulf Community Admin
-
Code:
using System;namespace Oxide.Plugins { [Info("DayNightDuration", "klauz24", 0.1)] class DayNightDuration : HurtworldPlugin { void Init() { // Time in seconds TimeManager.Instance.DayLength = 900; TimeManager.Instance.NightLength = 420; } } }
-
wooow THX
-
I create file FastNight.cs in serverfiles/oxide/plugins
and add head code:
Code:using System; using System.Collections.Generic; using Newtonsoft.Json; using UnityEngine; using Oxide.Core; using System.Linq;
Code:using System; using System.Collections.Generic; using Newtonsoft.Json; using UnityEngine; using Oxide.Core; using System.Linq;namespace Oxide.Plugins { [Info("DayNightDuration", "klauz24", 0.1)] class DayNightDuration : HurtworldPlugin { void Init() { // Time in seconds TimeManager.Instance.DayLength = 900; TimeManager.Instance.NightLength = 420; } } }
-
-
THX.
Working ! ! ! !