is tehere a way to save it in config file? or i need to set this every time after server restart
Day & Night System [Unmaintained]
Discussion in 'Plugin Support' started by Mughisi, Oct 22, 2014.
-
-
the time for day and nigth by using this commands:
env.daylength
env.nightlength -
There is autocommand plugin at least i think it still works
Here it is Auto Commands for Rust | Oxide -
[Oxide] 09:57 [Error] Failed to call hook 'cmdSetTime' on plugin 'm-Time v1.0.3' File: m-Time.lua Line: 793 attempt to call field 'QuoteSafe' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Please help, when I set time to day, it go's day 10 sec, night 10 sec
-
For everybody who are getting the same error as I:
Code:[Oxide] 05:46 [Error] Failed to call hook 'cmdSetDayLength' on plugin 'm-Time v1.0.3' File: m-Time.lua Line: 793 attempt to call field 'QuoteSafe' (a nil value):
I've just replacedCode:message = UnityEngine.StringExtensions.QuoteSafe( message )
Code:message = rust.QuoteSafe( message )
Attached Files:
-
-
yeah found out one of the server destroying commands in Build Plugin.
I had this plugin on server, and was the only plugin that affects the time,
so thats why I paniced and asked it here, because I also noticed error.
basicly, build plugin has a list of assests / prefabs in the list, 106 was small oil rafinery, but by accident noticed and tried to plant number 107:
107 - assets/bundled/prefabs/system/net_env.prefab
this caused the basic time command to work, but destroyed the others, what leads to a full server wipe to fix it!
I will make a detailed story on the build plugin forum about this to prevent making this stupid mistake xD
regards,
Stoner Jezus
Rusty Renegades -
-
-
I have a bug on my server with this day/night cycle plugin. Not sure if this was mentioned before in this thread, but I haven't seen it. Sorry if I repeat an issue already spotted.
When I set the time, for example: 'env.time 11' it sets the time normally, but then when I freeze the time, I get the confirmation that time has been frozen, but after only a few minutes the timer does either one of two things:
- The timer just carries on as normal and I have to keep setting the time back to what I want
- Or, the day/night cycle switches to night and it becomes permanent. - Once this happens every time I change the time it automatically changes back to night after about 3 minutes.
-
This plugin Day & Night System for Rust | Oxide is now Unmaintained , any others options to set day and night length?
-
Wulf Community Admin
-
-
@Wulf Do you know of a plugin in .CS that does the same as this plugin? If not I guess I'll have to use DayVote but I'd prefer to be able to set my Day/Night lengths individually. I have been replacing all .lua plugins in my server.
-