PaiN submitted a new resource:
Timed Execute - Execute commands every (x) seconds.
Read more about this resource...

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
-
version and ResourceId need updated in the script
-
-
Can we still use old config I updated the version and id myself so no worries
-
-
How can I set this up so it can restart my server every 6 or 8 hours for example?
Also, my hosting provider has a option called "Restart when down (WatchDog)" and what it does is it automatically restarts my server if it fails to respond to consecutive queries (queries are preformed every 5 minutes with this thing) -
Check the default config to see how I have the commands written there. -
How would I make it so my server says "Restarting in 15 minutes" and such. This is what i got so far:
"RealTime-Timer": {
"23:30:00": "command1 'msg'",
"23:45:00": "command2 'msg'",
"23:55:00": "command3 'msg'",
"24:00:00": "restartcommand"
Oh, and the save command please. I think it would just be savecommand but I don't wanna mess up lol.Last edited by a moderator: May 30, 2016 -
-
PaiN updated Timed Execute with a new update entry:
0.2
-
Please, add option to hide name "SERVER" from the mesages
-
For Rust you can use: Better Say Command for Rust | Oxide -
hi! This is my first time w/ this plugin, and I was wondering if these would work:
"TimerRepeat": {
"save": 300,
"say 'Map saved'": 300
}
What does "arg" mean? -
"server.save": 300 -
-
I've been having issues with this the last few days, mainly with the real-time stuff. Here's the config portion:
"RealTime-Timer": {
"12:00:00": "say AUTOMATIC RESTART IN 1 HOUR! (NOT A WIPE)",
"12:30:00": "say AUTOMATIC RESTART IN 30 MINUTES! (NOT A WIPE)",
"12:40:00": "say AUTOMATIC RESTART IN 20 MINUTES! (NOT A WIPE)",
"12:50:00": "say AUTOMATIC RESTART IN 10 MINUTES! (NOT A WIPE)",
"12:55:00": "say AUTOMATIC RESTART IN 5 MINUTES! (NOT A WIPE)",
"12:58:00": "server.save",
"12:59:00": "restart 60",
"00:00:00": "say AUTOMATIC RESTART IN 1 HOUR! (NOT A WIPE)",
"00:30:00": "say AUTOMATIC RESTART IN 30 MINUTES! (NOT A WIPE)",
"00:40:00": "say AUTOMATIC RESTART IN 20 MINUTES! (NOT A WIPE)",
"00:50:00": "say AUTOMATIC RESTART IN 10 MINUTES! (NOT A WIPE)",
"00:55:00": "say AUTOMATIC RESTART IN 5 MINUTES! (NOT A WIPE)",
"00:58:00": "server.save",
"00:59:00": "restart 60"
},
restart 60 was global.restart before, i recently changed that to test it.
Also it seems this plugin doesnt change settings on reload, i edited the config and reloaded, and it still said the default messages, just a note. -
[DOUBLEPOST=1465113636][/DOUBLEPOST] -
"06:59:45": "say 'ATENÇÃO: Voltaremos ONLINE em 5 minutos, Aguarde!'"
}
Show in server: SERVER ATENÇÃO: Voltaremos ONLINE em 5 minutos, Aguarde!
to display without the "SERVER" just: ATENÇÃO: Voltaremos ONLINE em 5 minutos, Aguarde!
I installed Better Say but still showing the word "SERVER"
-
-
Is it possible to spawn a helicopter once every 60 or 90 minutes (real time) with this plugin?