Timed Execute

Execute commands every (x) seconds.

Total Downloads: 3,214 - First Release: May 29, 2016 - Last Update: Jun 5, 2017

5/5, 16 likes
  1. Well not sure what you mean with (minutes - real time) simply use the TimerRepeat.
     
  2. Like every real life 60 minutes, not 60 gametime minutes.
     
  3. It is in real life seconds .. why would it be in in-game :p
    Just put the 60minutes in seconds.
     
  4. Derp D:

    Ok so I am try this, and it doesn't work. Am I missing something?

    "TimerRepeat": {
    "chat.say /callheli": 3600
    }
     
  5. Well try only callheli.. dont run console commandsi wth chat.say. Chat.say will print stuff to chat.
     
  6. Yep, that worked. I was overthinking it with chat commands... overlooked a very simple console command D:

    Thanks.
     
  7. HeliControl for Rust | Oxide
    install helicontrol and set a repeat timer for 5400 with the console command callheli
     
  8. How could I use this plugin to restart my server every 6 hours with announcements 15 minutes before every restart?
    Can you make a config file as an example?
     
  9. For some reason anything past the 3 minute warning doesn't show. Have I done something wrong?


    "RealTime-Timer": {
    "11:00:00": "say Restart in 1 hour!",
    "11:30:00": "say Restart in 30 minutes!",
    "11:45:00": "say Restart in 15 minutes!",
    "11:50:00": "say Restart in 10 minutes!",
    "11:51:00": "say Restart in 9 minutes!",
    "11:52:00": "say Restart in 8 minutes!",
    "11:53:00": "say Restart in 7 minutes!",
    "11:54:00": "say Restart in 6 minutes!",
    "11:55:00": "say Restart in 5 minutes!",
    "11:56:00": "say Restart in 4 minutes!",
    "11:57:00": "say Restart in 3 minutes!",
    "11:57:50": "say Restart in 2 minutes!",
    "11:58:00": "server.save",
    "11:59:00": "say Restart in 1 minutes!",
    "11:59:00": "say Server will be back up in 4-5 minutes!",
    "11:59:50": "save",
    "23:00:00": "say Restart in 1 hour!",
    "23:30:00": "say Restart in 30 minutes!",
    "23:45:00": "say Restart in 15 minutes!",
    "23:50:00": "say Restart in 10 minutes!",
    "23:51:00": "say Restart in 9 minutes!",
    "23:52:00": "say Restart in 8 minutes!",
    "23:53:00": "say Restart in 7 minutes!",
    "23:54:00": "say Restart in 6 minutes!",
    "23:55:00": "say Restart in 5 minutes!",
    "23:56:00": "say Restart in 4 minutes!",
    "23:57:00": "say Restart in 3 minutes!",
    "23:58:10": "say Restart in 2 minutes!",
    "23:58:00": "server.save",
    "23:59:10": "say Restart in 1 minutes!",
    "23:59:30": "say Server will be back up in 4-5 minutes!",
    "23:59:00": "save"

    },
     
  10. Can you upload the full config
    Are you saying this from this point nothing happens so it wont restart
    "11:57:00": "say Restart in 3 minutes!",
    "11:57:50": "say Restart in 2 minutes!",
    "11:58:00": "server.save",
    "11:59:00": "say Restart in 1 minutes!",
    "11:59:00": "say Server will be back up in 4-5 minutes!",
    "11:59:50": "save",

    And what about 23:57 does that pm restart happen
     
  11. The 3 minute warning message sends on both 23:57 and 11:57, but nothing past that. Restarts do work but that's only because I am using the automatic restart system that TCAdmin gives (I host it on GTXGaming, not on my home computer.)
     

    Attached Files:

  12. Try to add seconds to the commands that have the same time because the plugin check the time each second.
     
  13. Looks like that made it work, thanks!
     
  14. I did fix it as you had a few commands missing
     

    Attached Files:

  15. Where Configuration File?
     
  16. oxide/config/TimedExecute.json
     
  17. thanks
     
  18. How do I get this to run commands based on other oxide plugins? I want to use this to open all of the doors on the server twice a day.
     
  19. Well it depends ... if auto doors has a console command you can simply run it.
     
  20. Hello anyone had issues with server no restarting after a timed restart using this plugin happened twice now.

    Thanks