Can someone give me an example of working automatic server restart with warning messages? Thanks!
TimedExecute [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Apr 7, 2015.
-
Wulf Community Admin
-
Last edited by a moderator: Jun 7, 2015
-
Wulf Community Admin
-
-
Well yeah I am hosting gameservers but I want it to happen every 5 hours and with warnings
[DOUBLEPOST=1433667025][/DOUBLEPOST]So far when I do restart, server has gone down and came back up by itself
[DOUBLEPOST=1433667052][/DOUBLEPOST]I mean like when I write in rcon restart. -
"restart" command for gameservers i think it counts as a real restartbcs i had my own server there and "restart" is working properly
-
-
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "say 'Server AUTOMATIC restart in 5 Hours'", "Interval": 10 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 20 ] [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 30 ] [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 40 ] ] }
Like when 5 hours hits the mark it comes
then 4 hours starts and after 4 hours finishes it posts 4 hours and 5 hours at the same time, kind of complicated to explain -
but i said gameservers bcs Arru has a server on Gameservers
[DOUBLEPOST=1433667979][/DOUBLEPOST]
[DOUBLEPOST=1433668117][/DOUBLEPOST]Also you broke the config there should be an error in your console probably
it should be
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "say 'Server AUTOMATIC restart in 5 Hours'", "Interval": 10 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 20 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 30 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", "Interval": 40 ] ] }
Last edited by a moderator: Jun 7, 2015 -
yeah I forgot the "," I know I raw edited it in the post but I mean it doesn't work over time for me, some things get doubleposted.
-
so it will broadcast the message every (x) secs and timer keeps going you also added the "Interval"..... not needed
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "say 'Server AUTOMATIC restart in 5 Hours'", 10 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", 20 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", 30 ], [ "say 'Server AUTOMATIC restart in 4 Hours'", 40 ] ] }
-
So is there a chance that I could make a warning every hour so it wouldn't mix into other hours warning and at the very end still make a restart?
-
Bcs i saw there will be a plugin that will show a clock at the top right of your screen -
Hmm but still let's say I make example, this should work I think?
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "say 'Automatic Restarts: 17:45, 20:30, 5:00, 6:00 (GMT + 3:00)", 1800 ], [ "say 'Server AUTOMATIC restart in 1 HOUR!!!'", 14400 ], [ "say 'Server AUTOMATIC restart in 10 MINUTES!!!'", 17400 ], [ "restart", 18000 ] ] }
[DOUBLEPOST=1433669482][/DOUBLEPOST]woops forgot to add command before restart. -
So these timers wont stop untill you unload the plugin.. they will go over and over non stop -
Also what you could do to MANUALLY reset it, is adding a command into called "oxide.reload TimedCommands" -
-
Wow Wulf now blocked messages just like "^^"
-> Message needs to have 10 or more characters -