What exactly is the issue? Are the commands in the plugin not working?

Timed Execute
Execute commands every (x) seconds.
Total Downloads: 3,212 - First Release: May 29, 2016 - Last Update: Jun 5, 2017
- 5/5, 16 likes
-
Wulf Community Admin
-
-
-
First time using this plugin and all I want to do is restart my Rust server at 6am everyday.
Am I doing this correctly?
Code:{ "EnableInGameTime-Timer": false, "EnableRealTime-Timer": true, "EnableTimerOnce": false, "EnableTimerRepeat": false, "InGameTime-Timer": { "01:00": "weather rain", "12:00": "command 1", "15:00": "command 2" }, "RealTime-Timer": { "06:00:00": "restart 600" }, "TimerOnce": { "command1 'msg'": 60, "command2 'msg'": 120, "command3 arg": 180, "reset.timeronce": 181 }, "TimerRepeat": { "command1 arg": 300, "command2 'msg'": 300 } }
-
i restart my server every morning at 5 am so here is my code.
"RealTime-Timer": {
"04:00:00": "say <color=orange>Is restarting in</color> 1 hour!",
"04:30:00": "say <color=orange>Is restarting in</color> 30 minutes!",
"04:45:00": "say <color=orange>Is restarting in</color> 15 minutes!",
"04:50:00": "say <color=orange>Is restarting in</color> 10 minutes!",
"04:55:00": "say <color=orange>Is restarting in</color> 5 minutes!",
"04:59:00": "say will be back up in 5 mins!",
"04:59:30": "server.save",
"04:59:59": "restart 0",
}, -
i want to execute a command on server reboot - how would i go about it
is it under TimerOnce
"TimerOnce": {
"oxide.reload CompoundOptions'": 5, -
Wulf Community Admin
-
Fed up having to do it manually -
Wulf Community Admin
If you must though, StartupCommands would make more sense. -
explain what u mean startup commands - do u mean in server cfg ?
-
Wulf Community Admin
-
Not sure why I'm getting this in console, but everything else still seems to be working
Code:[Oxide] 22:48 [Error] Failed to call hook 'OnServerInitialized' on plugin 'TimedExecute v0.7.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.TimedExecute+Timers.RunTimer (Oxide.Plugins.TimedExecute+Types type) [0x00140] in :0 at Oxide.Plugins.TimedExecute+Timers.RunAll () [0x00066] in :0 at Oxide.Plugins.TimedExecute.OnServerInitialized () [0x00006] in :0 at Oxide.Plugins.TimedExecute.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00035] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <7dd61d9d32c04619a5705636c6735256>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
Code:{ "EnableInGameTime-Timer": true, "EnableRealTime-Timer": true, "EnableTimerOnce": false, "EnableTimerRepeat": true, "InGameTime-Timer": { "03:00:00": "quake Mild", "00:00:01": "xmas.refill" }, "RealTime-Timer": { "05:00:00": "say will restart in 1 hour", "05:30:00": "say will restart in 30 minutes", "05:45:00": "say will restart in 15 minutes", "05:50:00": "restart 600", "05:55:00": "quake Mild", "05:57:00": "quake Medium", "05:59:00": "quake Intense", "05:59:30": "server.save" } }
-
Hi everybody.
Like many, I can not restart my server. After several hours of setup and testing, only the "TimerRepeat" works.
Here is my file. Is there anyone to save me?
Code:{ "EnabledRealTime-Timer": true, "EnableTimerOnce": false, "EnableTimerRepeat": true, "RealTime-Timer": { "11:45:00": "say Is restarting in 15 minutes!", "11:50:00": "say Is restarting in 10 minutes!", "11:55:00": "say Is restarting in 5 minutes!", "11:59:00": "say Is restarting in 1 minutes!", "12:00:00": "say The server is now restarting.", "12:00:05": "server.save", "12:00:10": "global.restart", "23:45:00": "say Is restarting in 15 minutes!", "23:50:00": "say Is restarting in 10 minutes!", "23:55:00": "say Is restarting in 5 minutes!", "23:59:00": "say Is restarting in 1 minutes!", "00:00:00": "say The server is now restarting.", "00:00:05": "server.save", "00:00:10": "global.restart" }, "TimerOnce": { "command1 msg": 60, "command2 msg": 120, "command3 arg": 180, "command4 arg": 181 }, "TimerRepeat": { "say Ask your questions or comments to Admins by typing /message": 1800 } }
Attached Files:
-
-
just do restart 900 instead of the counting down
-
Attached Files:
-
-
Thanks Resistance. it works perfectly now.
Thank you for the help. -
hey
got the problem, that sometimes a ingame timer command just will be skipped if the time never reach exactly this spot.
Like: ingame timer command xmas.refill on exactly 00:00 ingame time...
if the time goes to 23:59 and then change to 00:02 it just skips the command.
thats why i have to multiple do the command xmas.enabled 1 because i of course have to turn it on after a server restart, but if i set it jsut to one time like 12:00 and it never reaches exactly 12:00, xmas stays disabled and so my xmas.refill commands won't be executed...
i hope you understand what i mean...
The ingame timer has to exactly be on 00:00 otherwise the command won't be executed.
any help? i have attached my config but it seems to be fine...
thanksAttached Files:
-
-
Attached Files:
-
-
why server.save 2 seconds before restart?
- i had a delay in this timedexecute plugin before 2 days and so my whole save file was corrupted and i had to wipe the server!!!
- thats why i had put it 1 min before restart!
- btw: why server.save? just save works great!
and why restart 0?
- my restarts are automated at my gameserver hoster, so i don't need any command!
and why deleted thee "1" after "xmas.enabled"?
- without this "1" it just will show me the current state but it won't enable it! so.... ?!?!
WHY you deleted my command "xmas.refill" ???
- exactly this is what i want to be automated? why u deleting it?!?!
WHY changing my server restarting text in anything else i don't want to????
- ?!?!??!!?!?!?
WHY put some things into timeronce???
- i didn't have this messages there and i don't wanted to?!
Why put "server.save 300" in my timer repeat?
- as said above?!?!?!
so pls don't "fix" anything, which hasn't to be fixed!
i think you just didn't want to fix my config but anyone others config and you are confused!
so pls don't add or change things in my config i NEVER wanted and didn't help anywhere in my problem!
thank you! -