Timed Execute

Execute commands every (x) seconds.

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

5/5, 13 likes
  1. Resistance

    Resistance Grenade Master

    Did you use the new config I uploaded above? as I set it to Wood not arrows
     
  2. Durgalur Jay

    Durgalur Jay Naked Wanderer

    still handing out wooden arrows
     
  3. Resistance

    Resistance Grenade Master

    No idea why its giving that out when I set it to wood I will need to test this myself give me a few hrs will get back to you
     
  4. Durgalur Jay

    Durgalur Jay Naked Wanderer

    okie dokie
     
  5. Resistance

    Resistance Grenade Master

    Here you go it will now give out wood I have tested it and it does work once you upload it to your config folder then in rcon type reload TimedExecute
     
  6. Durgalur Jay

    Durgalur Jay Naked Wanderer

    Thank you for working with me and my caps and this is prolly not the last time youll see me +rep
     
    Resistance likes this.
  7. Hennessey

    Hennessey Naked Wanderer

    Could you tell me how to set Airdrop timer like it drops every 25min (real time) ? ty in advance.
     
  8. PaiN

    PaiN Shotgun Ace Plugin Developer

    In timer repeat run a command every 1500 seconds
     
  9. sanchesster

    sanchesster Wood Hoarder

    How to send different message to chat every 300 seconds?
    My configuration sends all these messages to chat at the same time:

    "TimerRepeat": {
    "say Join us on Twitter": 300,
    "say Wipe every week": 300,
    "say Free kits for noobs in our store": 300,
    "say VIP accounts only for 1": 300
    }
     
  10. PaiN

    PaiN Shotgun Ace Plugin Developer

    Use Timer Once and set the seconds as
    msg1 .. 300
    msg2 .. 600
    msg3 .. 900
    msg4 .. 1200
     
  11. sanchesster

    sanchesster Wood Hoarder

    Oh, thank you :) I'll try.
     
  12. Resistance

    Resistance Grenade Master

    I would add that to the TimerOnce so it would look like this
    Code (Text):
    "TimerOnce": {
        "reset.timeronce": 316,
        "say say Join us on Twitter": 300,
        "say Wipe every week": 305,
        "say Free kits for noobs in our store": 310,
        "say VIP accounts only for €1": 315
      },
     
  13. Shark-A-Holic

    Shark-A-Holic Wood Hoarder

    So I'm trying to make this say a command at 6:00 in game and at 18:00 in game...how do I do that?
     
  14. Sheykei

    Sheykei Naked Wanderer

    Code (Text):
    {
      "EnableInGameTime-Timer": true,
      "EnableRealTime-Timer": false,
      "EnableTimerOnce": false,
      "EnableTimerRepeat": true,
      "InGameTime-Timer": {
        "20:00": "say : La purge commence",
        "08:00": "say : La purge est terminée"
      },
    This is my config, it worked but now it don't say the message ! It's really annoying.
    Can someone help me figure out how to make it work for ever ?
     
  15. Resistance

    Resistance Grenade Master

    Wrong place put it in TimerOnce
     
  16. wzp

    wzp Wood Hoarder Plugin Developer

    not correctly working with InGameTime-Timer, cause in-game time ticks not linear.
    so you cannot guarantee that time written in config could happen on timer tick (eg 21 00 could never happen).
    as I see, the only way is check this OnTick(), maybe other way?
     
  17. pdr

    pdr Scavenger

    Yes, I think the OnTick hook is the only way to do it, I'm trying to rewrite this plugin on my server for now. Time ago there was a plugin with same functions, but on Lua. As I remember - it was @Wulf 's work. So if he can help with this stuff...
     
  18. jaccerz

    jaccerz Naked Wanderer

    "RealTime-Timer": {
    "06:15:00": "say <color=red>6.30AM Daily Server Restart in 15 Minutes</color>",
    "06:20:00": "say <color=red>6.30AM Daily Server Restart in 10 Minutes</color>",
    "06:25:00": "say <color=red>6.30AM Daily Server Restart in 5 Minutes</color>",
    "06:28:00": "say <color=red>6.30AM Daily Server Restart in 2 Minutes</color>",
    "06:29:00": "restart 60",
    "06:29:00": "server.writecfg"
    },


    seems to not like to do the restart 60 part. will do the countdown though. how to fix?
     
  19. PaiN

    PaiN Shotgun Ace Plugin Developer

    try using the command in the rcon dont wait for the plugin to use it just do it manually to see if the commands even works.
    --- Double Post Merged, May 2, 2017 ---
    After my exams I'm gonna look into it I know that there is something wrong with it.
     
  20. wzp

    wzp Wood Hoarder Plugin Developer

    yep, my way is to check it ontick()