Timed Execute

Execute commands every (x) seconds.

Total Downloads: 1,775 - First Release: May 30, 2016 - Last Update: Jun 5, 2017

5/5, 13 likes
  1. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Add a repeat timer with the commands you'd like for that such as 'server.pve true', 'server.pve false', 'say \"PVE has started!\"', etc.
     
  2. Mr Reklezz

    Mr Reklezz Naked Wanderer

    So would I disable real time timer and timeronce right? Not sure where or how to start the command in the .json
     
  3. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    This plugin only has real-time timers, not in-game time. You'd want them as a repeat timer though, so you can disable the once timers if they aren't being used.
     
  4. Mr Reklezz

    Mr Reklezz Naked Wanderer

    So what are the "in-game timers" used for in the .json?
     
  5. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Ahh, I missed that he added those. :p

    You can use that then.
     
  6. Mr Reklezz

    Mr Reklezz Naked Wanderer

    wulf, making me think im going crazy. This is very confusing for the likes of me, can you add just 1 command and message and ill figure out the rest?
     
    Last edited: Feb 18, 2017
  7. Mr Reklezz

    Mr Reklezz Naked Wanderer

    Anything? =(
     
  8. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Run it through jsonlint.com to find the errors. ;)
    Code (Javascript):
    {
        "EnableInGameTime-Timer": true,
        "EnableRealTime-Timer": false,
        "EnableTimerOnce": false,
        "EnableTimerRepeat": false,
        "InGameTime-Timer": {
            "08:00": "server.pve true",
            "08:01": "say PvE has begun!",
            "21:00": "server.pve false",
            "21:01": "say PvP has started!"
        },
        "RealTime-Timer": {},
        "TimerOnce": {},
        "TimerRepeat": {}
    }
    Trimmed down, lines corrected, commas corrected.
     
    Mr Reklezz likes this.
  9. Mr Reklezz

    Mr Reklezz Naked Wanderer

    Trying it now!
    --- Double Post Merged, Feb 18, 2017 ---
    It didn't work wulf. Waiting to see if it switches to PVE, but i got no messages when 21:00 came around.
     
  10. Mr Reklezz

    Mr Reklezz Naked Wanderer

    Nope, not working at all wulf.
     
  11. Resistance

    Resistance Grenade Master

    try this one
     
  12. Mr Reklezz

    Mr Reklezz Naked Wanderer

    So I gave it a try just now and still no dice. Im racking my brain over this.
     
  13. Resistance

    Resistance Grenade Master

    ok try this one and if it does not work then maybe someone else can help
     
  14. G9X-SA✪

    G9X-SA✪ Scavenger

    hello
    supply.drop
    and
    heli.call
    this command not work with this plugin
    Code (Text):
    {
      "EnableInGameTime-Timer": false,
      "EnableRealTime-Timer": false,
      "EnableTimerOnce": true,
      "EnableTimerRepeat": true,
      "InGameTime-Timer": {
        "01:00": "weather rain",
        "12:00": "command 1",
        "15:00": "command 2"
      },
      "RealTime-Timer": {
        "16:00:00": "command1 arg",
        "16:30:00": "command2 arg",
        "17:00:00": "command3 arg",
        "18:00:00": "command4 arg"
      },
      "TimerOnce": {
        "say 'Server <color=red>AUTOMATIC</color> Restart in 30 minutes!'": 16200,
        "say 'Server <color=red>AUTOMATIC</color> Restart in 15 minutes!'": 17100,
        "say 'Server <color=red>AUTOMATIC</color> Restart in 5 minutes!'": 17700,
        "server.save": 17998,
        "global.restart": 18000,
        "reset.oncetimer": 18001
      },
      "TimerRepeat": {
        "weather.fog 0": 3600,
        "weather.rain 0": 3600,
        "supply.call": 3600,
        "heli.call": 3600
      }
    }
     
    Last edited by a moderator: Feb 19, 2017
  15. Resistance

    Resistance Grenade Master

    If the heli.call command does not work replace the command with callheli and install HeliControl for Rust | Oxide and it will work
     
    Last edited: Feb 19, 2017
  16. G9X-SA✪

    G9X-SA✪ Scavenger

    heli.call and supply.call command only work inside the game in F1 but not work with this plugin
    if there any idea?
    i want this command without need to plugin
     
  17. Razor14150

    Razor14150 Shack Builder

    So I noticed that the TimerOnce seems not to be working... for some reason for the life of me I couldnt figure out why so I have set up my config as attached.
    The commands in this .json correspond with the following plugins:
    Airstrike for Rust | Oxide - Airstrike every 1000 sec and Squadstrike every 5000 sec
    Block Remover for Rust | Oxide - Set for every 2hr to remove ALL building blocks not covered by a TC
    FancyDrop for Rust | Oxide - Single airdrop every 15min and a mass air drop every 2hr
    HeliControl for Rust | Oxide - Calls heli every 2hr
     
  18. Resistance

    Resistance Grenade Master

    Best to use the plugin and the command I posted above
     
  19. Evilyn Corporated

    Evilyn Corporated Shack Builder

    I think this plugin stopped working with the last Rust update. No errors, it just doesn't seem to do anything any more. I've just sat and watched 6.00am come and go and nothing happened.

    Can someone check their logs and confirm this is still working for them?
     
  20. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    This plugin isn't reliant on Rust updates, it's a universal plugin. Check your oxide/logs and make sure the plugin is loaded and you're using the latest version.