Hello, is it possible to load and unload the plugin "Nightvision" from 6pm to 8 am? I will put the config below and see if I am doing something wrong.
{
"EnableInGameTime-Timer": true,
"EnableRealTime-Timer": true,
"EnableTimerOnce": false,
"EnableTimerRepeat": false,
"InGameTime-Timer": {
"18:30": "nightvision",
"08:00": "nightvision"
},
"RealTime-Timer": {
"23:00:00": "say AUTO RESTARTS IN 60 MINUTES!",
"23:30:00": "say AUTO RESTARTS IN 30 MINUTES!",
"23:31:00": "removeleak",
"23:50:00": "say AUTO RESTARTS IN 10 MINUTES!",
"23:55:00": "restart",
"11:00:00": "say AUTO RESTARTS IN 60 MINUTES!",
"11:30:00": "say AUTO RESTARTS IN 30 MINUTES!",
"11:50:00": "say AUTO RESTARTS IN 10 MINUTES!",
"11:55:00": "restart"
},
"TimerOnce": {
"command1 'msg'": 0,
"command2 'msg'": 0,
"command3 arg": 0,
"reset.timeronce": 0
},
"TimerRepeat": {
"command": 300
}
}
Thanks for any help!
Is it possible to turn Nightvision on/off?
Try this
"18:30": "oxide.unload NightVision",
"08:00": "oxide.reload NightVision"