Timed Execute

Execute commands every (x) seconds.

Total Downloads: 1,246 - First Release: May 30, 2016 - Last Update: Feb 7, 2017

5/5, 11 likes
  1. Squire

    Squire Scavenger

    hi,

    looking for a timed command plugin to work on the game tome so i can change the weather to suit.

    tried timed execute and it dont work
     
  2. Riddle

    Riddle Wood Hoarder

    i'm missing that too.. TimedEvents had that, Squire :)
     
  3. Squire

    Squire Scavenger

    require game time rather than realtime as real time doesnt match game time.

    Example: 0600 Game Time Weather fog and last for 1 hour game time.
     
  4. Squire

    Squire Scavenger

    anyone?
     
  5. PaiN

    PaiN Shotgun Ace Plugin Developer

    Just wait until I reply.. Im gonna add the ingame time when I go to my PC.
     
  6. larjoo

    larjoo Scavenger

    Как это переделать в данном плагине?
    How to remake this plugin?
    "Events": {
    "Local": [
    "05.59.AM:server.save",
    "05.59.PM:server.save"
    ],
    "Repeat": [
    "1800:say Идет автоматическое сохранение игрового мира.",
    "1800:server.save"
    ],
    "Server": [
    "7:gather.rate dispenser * 2",
    "7:gather.rate pickup * 2",
    "7:gather.rate quarry * 3",
    "7:say Наступает день",
    "7:say Рейты добываемых ресурсов <color=#FFC040>x2</color>",
    "7:say Рейты поднимаемых ресурсов <color=#FFC040>x2</color>",
    "7:say Рейты ресурсов в карьере <color=#FFC040>x3</color>",
    "7:say Скорость переработки <color=#FFC040>x3</color>",
    "19:gather.rate dispenser * 3",
    "19:gather.rate pickup * 3",
    "19:gather.rate quarry * 3",
    "19:say Наступает ночь",
    "19:say Рейты добываемых ресурсов <color=#FFC040>x3</color>",
    "19:say Рейты поднимаемых ресурсов <color=#FFC040>x3</color>",
    "19:say Рейты ресурсов в карьере <color=#FFC040>x3</color>",
    "19:say Скорость переработки <color=#FFC040>x5</color>"
    ]
    },
     
  7. Danjdunham

    Danjdunham Scavenger

    So how do i set it so when it says SERVER "message" to my servername instead of SERVER? if this makes sense then thats awesome!

    Thanks

    Dan
     
    Last edited by a moderator: Dec 26, 2016
  8. Resistance

    Resistance Grenade Master

    Need a screenshot of what you mean
     
  9. Phoenix 9

    Phoenix 9 Wood Hoarder

    how can i ran the command Server.save every 5 minutes ? idk withch one that is the best one
     
  10. Resistance

    Resistance Grenade Master

    Code (Text):
    },
      "TimerRepeat": {
        "server.save": 300
      }
    }
     
  11. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Why not just change the save interval in Rust itself? server.saveinterval X
     
  12. Phoenix 9

    Phoenix 9 Wood Hoarder

    Ow okay thats pretty good :) server.saveinterval SEC OR MINUTES ?
     
  13. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Seconds. Add it to your startup .bat/.sh or server.cfg.
     
  14. Phoenix 9

    Phoenix 9 Wood Hoarder

    i put it in my rustadmin command

    is that okay aswell ?
     
  15. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    That will not save between restarts. You'd need to add it to one of the locations I mentioned previously. Any commands you enter in RCON or your console are not persistent.
     
  16. Phoenix 9

    Phoenix 9 Wood Hoarder

    its just i want to save my server every 5 minutes becouse since last update my server is
    crashing
    --- Double Post Merged, Dec 26, 2016 ---
    If i add it to my server.cfg (i just did) its gonna be edit derectly ?
     
  17. Resistance

    Resistance Grenade Master

    Put it the way I posted above
     
  18. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Your server is saved automatically every 300 seconds (5 minutes by default) I believe, but you can add it there to make sure. You do not need to run another save every 5 minutes when the game already has an automatic save built-in.
     
  19. Phoenix 9

    Phoenix 9 Wood Hoarder

    Yes it worked fine now THX wulf and resistance!
     
  20. Squire

    Squire Scavenger

    How far is your PC?