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
  1. PaiN submitted a new resource:

    Timed Execute - Execute commands every (x) seconds.

    Read more about this resource...
     
  2. version and ResourceId need updated in the script
     
  3. Nah .. I decided to reset the version and about the resourceid .. in 8hours.
     
  4. Can we still use old config I updated the version and id myself so no worries
     
  5. Old configs are working.
     
  6. 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)
     
  7. "restartcommand": 6hours in seconds.
    Check the default config to see how I have the commands written there.
     
  8. 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
  9. Which game.. Rust, Hurtworld......?
     
  10. PaiN updated Timed Execute with a new update entry:

    0.2

     
  11. Please, add option to hide name "SERVER" from the mesages
     
  12. Its not the point of this plugin.

    For Rust you can use: Better Say Command for Rust | Oxide
     
  13. 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?
     
  14. "TimerRepeat": {
    "server.save": 300
     
  15. What's the difference between save & server.save?
     
  16. 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.
     
  17. Try using.. "say 'Automatic....' "
    [DOUBLEPOST=1465113636][/DOUBLEPOST]
    Arg is an argument.... I just have it for example there.
     
  18. "RealTime-Timer": {
    "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"

     
  19. In the config of Better Say Command change the {Title} to ATENCAO if you haven't done that yet.
     
  20. Is it possible to spawn a helicopter once every 60 or 90 minutes (real time) with this plugin?