1. I need help, this is my config.
    Code:
    {
      "EnabledRealTime-Timer": false,
      "EnableTimerOnce": true,
      "EnableTimerRepeat": true,
      "TimerOnce": {
         "aire.massdrop 10": 60
      "TimerRepeat": {
        "event.run": 300,
        "server.save": 300
      }
    }
    But I get this error
    Code:
    oxide.reload TimedExecute
    [Oxide] 7:36 PM [Info] Loaded plugin Timed Execute v2.5.0 by PaiN
    [Oxide] 7:36 PM [Error] TimedExecute v2.5.0: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'TimerOnce.['aire.massdrop 10']', line 7, position 3.)
    [Oxide] 7:36 PM [Info] [Timed Execute] Timer-Once is OFF
    [Oxide] 7:36 PM [Info] [Timed Execute] Timer-Repeat is OFF
    [Oxide] 7:36 PM [Info] [Timed Execute] RealTime-Timer is OFF
    [Oxide] 7:36 PM [Error] Failed to run a 1.00 timer in 'TimedExecute v2.5.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 7:36 PM [Debug]   at Oxide.Plugins.TimedExecute.RealTime () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TimedExecute.<Loaded>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
  2. Wulf

    Wulf Community Admin

    You're missing a '},' in one part. I'd recommend looking at the default to compare.
     
  3. You are also missing the real time timers..
     
    • Add option for player to click a check mark box in popup message and never see that message again. ( each message would of course need a unique ID )
    • Add option to reset player(s) popup ignore list
     
  4. This plugin has nothing to do with poo ups... what are you talking about.
     
  5. You're right. This plugin just executes the command. I've posted in the Popup Notification plugin forum ( Popup Notifications | Page 4 | Oxide ) But the other requests are still valid for this plugin . :)
     
  6. PaiN updated TimedExecute with a new update entry:

    2.6.0

     
  7. Been messing around for a few hours with this plugin and cant seem to get it to restart my server, or even show in chat that its going to restart. Im having an issue with my server on rollbacks and im looking to use this as a method to save right before the server restart but cant seem to get it working. Any ideas on a config that would work? basically i need a config that will save everything right before 4am ( When the server restarts). If someone could help me with this, i would throw them a few $ over paypal if they are interested :D thanks guys.
     
  8. Once i come back home i will write u the config.
     
  9. Alright cool. Yeah just message me before hand to make sure im still having the issue :D
     
  10. Code:
    {
      "EnabledRealTime-Timer": true,
      "EnableTimerOnce": true,
      "EnableTimerRepeat": true,
      "RealTime-Timer": {
        "03:59:40": "server.save'",
        "04:00:00": "restart'",
        "17:00:00": "say 'Restart in 1 HOUR'",
        "18:00:00": "say 'The server is restarting NOW.'"
      },
      "TimerOnce": {
        "reset.oncetimer": 181,
        "say 'Dont forget to like our fanpage!'": 60,
        "say 'Follow us on Twitter!'": 120,
        "say 'You can donate via PayPal!'": 180
      },
      "TimerRepeat": {
        "event.run": 300,
        "server.save": 300
      }
    }
     
    Last edited by a moderator: Dec 8, 2015
  11. @PaiN So i did a test with real timers and it was accurate , but now it does not work at all, :/ Idk y heres my messages

    "RealTime-Timer": {
    "0:01:00": "say 'Server Restart In 1 hour! We Will Notify You On Closer Times!'",
    "0:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'",
    "0:45:00": "say 'Server Restart In 15 minutes! We Will Notify You On Closer Times!'",
    "0:50:00": "say 'Server Restart In 10 minutes! We Will Notify You On Closer Times!'",
    "0:55:00": "say 'Server Restart In 5 minutes! We Will Notify You On Closer Times!'",
    "0:56:00": "say 'Server Restart In 4 minutes! We Will Notify You On Closer Times!'",
    "0:57:00": "say 'Server Restart In 3 minutes! We Will Notify You On Closer Times!'",
    "0:58:00": "say 'Server Restart In 2 minutes! We Will Notify You On Closer Times!'",
    "0:59:00": "say 'Server Restart In 1 minute! We Will Notify You On Closer Times!'",
    "0:59:55": "say 'Server Restart In NOW! We Will Notify You On Closer Times!'",
    "8:00:00": "say 'Server Restart In 1 hour minutes! We Will Notify You On Closer Times!'",
    "8:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'",
    "8:45:00": "say 'Server Restart In 15 minutes! We Will Notify You On Closer Times!'",
    "8:50:00": "say 'Server Restart In 10 minutes! We Will Notify You On Closer Times!'",
    "8:55:00": "say 'Server Restart In 5 minutes! We Will Notify You On Closer Times!'",
    "8:56:00": "say 'Server Restart In 4 minutes! We Will Notify You On Closer Times!'",
    "8:57:00": "say 'Server Restart In 3 minutes! We Will Notify You On Closer Times!'",
    "8:58:00": "say 'Server Restart In 2 minutes! We Will Notify You On Closer Times!'",
    "8:59:00": "say 'Server Restart In 1 minute! We Will Notify You On Closer Times!'",
    "8:59:50": "say 'Server Restart In NOW! We Will Notify You On Closer Times!'",
    "8:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'",
    "14:00:00": "say 'Server Restart In 1 hour! We Will Notify You On Closer Times!'",
    "14:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'",
    "14:45:00": "say 'Server Restart In 15 minutes! We Will Notify You On Closer Times!'",
    "14:50:00": "say 'Server Restart In 10 minutes! We Will Notify You On Closer Times!'",
    "14:55:00": "say 'Server Restart In 5 minutes! We Will Notify You On Closer Times!'",
    "14:56:00": "say 'Server Restart In 4 minutes! We Will Notify You On Closer Times!'",
    "14:57:00": "say 'Server Restart In 3 minutes! We Will Notify You On Closer Times!'",
    "14:58:00": "say 'Server Restart In 2 minutes! We Will Notify You On Closer Times!'",
    "14:59:00": "say 'Server Restart In 1 minutes! We Will Notify You On Closer Times!'",
    "14:59:50": "say 'Server Restart In NOW! We Will Notify You On Closer Times!'"
    },
    [DOUBLEPOST=1449594543][/DOUBLEPOST]@Wulf I know you hate when i tag you, but i see u comment a lot in this plugin, so can u shed some light?
    [DOUBLEPOST=1449596599][/DOUBLEPOST]I fixed it, i put "8:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'", when it should be "08:30:00": "say 'Server Restart In 30 minutes! We Will Notify You On Closer Times!'", their has 2 be two digits in ever section of the time :p
     
  12. When I run 'restart', all the server seems to do is save the config and unload all plugins and get to this stage: Gyazo - f093057bb3f9081b97d9f0d210bc7bb5.png

    I have a .exe which detects when RustDedicated.exe is closed and reopens it, but as it doesn't close it, it doesn't reload the server. Any ideas?
     
  13. try
    Before restarting your server:
    1) type "unload TimedExecute"
    2) type "restart"

    And check if it closes the server (closes the process) .
     
  14. The same result :(

    Edit: Well okay, I deleted the Map save files (335k entities) and that seems to have done the trick and it reboots perfectly fine.

    When would you guys advise doing a map wipe? (How many entities). It managed to get 335k in just over 5 days.
     
    Last edited by a moderator: Dec 12, 2015
  15. I dont know xD @Reneb said something about entities and when you have to wipe.. but i dont remember.
     
  16. Ok, so I just added this, and I got the server to actually shut down, and it gave me the server 60 second countdown... But it did not actually restart the server. Any idea as to what I can do?

    Here is my config file, I removed the other stuff because I don't want all the popups.

    {
    "EnabledRealTime-Timer": true,
    "EnableTimerOnce": false,
    "EnableTimerRepeat": false,
    "RealTime-Timer": {
    "08:30:00": "say 'The server will restart in 30 minutes for scheduled maintenance!'",
    "08:40:00": "say 'The server will restart in 20 minutes for scheduled maintenance!'",
    "08:50:00": "say 'The server will restart in 10 minutes for scheduled maintenance!'",
    "08:55:00": "say 'The server will restart in 5 minutes for scheduled maintenance. GET HOME!'",
    "08:59:50": "say 'The server is restarting NOW.'",
    "08:59:55": "server.save",
    "09:00:15": "restart"

    },
    "TimerOnce": {
    },
    "TimerRepeat": {

    }
    }
     
  17. Look the above replies.. this plugins only executes a command.
     
  18. Ok, so I have to add unload to the plugin? Or how would that work?
     
  19. A "server.save" BEFORE the "global.restart" or "global.quit" command is irrevelant as the server will save upon closing out anyways. If you run "global.restart", it will simply close the server runfile at the end of the sequence, but it will continue to unload the entities in the background memory. Running the "global.quit" command will render the same result as the "global.restart" final command except it will show you how slowly the entities delete themselves.

    I'll just post the example of my config for reference.

    Code:
        "06:56:00": "global.say Automated server restart in 5 minutes.",
        "06:59:00": "global.say Automated server restart in 1 minute.",
        "07:00:00": "global.say Automated restart in 60 seconds.",
        "07:00:10": "global.say Automated restart in 50 seconds.",
        "07:00:20": "global.say Automated restart in 40 seconds.",
        "07:00:30": "global.say Automated restart in 30 seconds.",
        "07:00:40": "global.say Automated restart in 20 seconds.",
        "07:00:50": "global.say Automated restart in 10 seconds.",
        "07:00:55": "global.say Automated restart in 5 seconds.",
        "07:01:00": "global.say Server restarting.",
        "07:01:02": "global.kickall ( Server-Restarting )",
        "07:01:03": "global.quit"