Executing commands to reload a plugin after server start?Solved
After 5 minutes, after each server restart.
oxide.reload Discord
oxide.reload Rustcord
And if so can someone help me make de config file please. ;)
In response to ChefPR ():
After 5 minutes, after each server restart.
oxide.reload Discord
oxide.reload Rustcord

This should work. It runs the commands you want after the plugin(Timed Execute) gets loaded/reloaded so basically when a server starts/restarts it loads every single plugin.

{
  "EnableInGameTime-Timer": false,
  "EnableRealTime-Timer": false,
  "EnableTimerOnce": true,
  "EnableTimerRepeat": false,
  "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": {
    "oxide.reload Discord": 300,
    "oxide.reload Rustcord ": 301
  },
  "TimerRepeat": {
    "command1 arg": 300,
    "command2 'msg'": 300
  }
}
I think the better question would be... why do you need to do this?
In response to Wulf ():
I think the better question would be... why do you need to do this?
lol I didnt even actually think about it im in rush and just posted the config. Lets see what he is gonna say xd
Am looking for a plugin that can execute these comands becuase every time server restarts I have to do it manually. Thx for the config file. ;)
In response to ChefPR ():
Am looking for a plugin that can execute these comands becuase every time server restarts I have to...
Sounds like something is off with your server setup then.
In response to PaiN ():
This should work. It runs the commands you want after the plugin(Timed Execute) gets loaded/reloaded...
Just tested this and it works perfecly. Thank you! :)
Locked automatically