hi, im trying to use timed-execute to load a plugin at night, then unload it at dawn.
"InGameTime-Timer": {
"06:00": "o.unload ZombieHorde",
"19:00": "o.reload ZombieHorde"
},
(the reason was the inbuilt timer doesnt seem to be working for zombies at the moment. so i just wanted to unload/load the plugin at appropriate times.)
it isnt working though, it seems to work sometimes if im playing with it and staring at it but most of the time the unload command works, but never the reload (or load)
i was using the ingametimer to reload the zombies at lunch every day (when the inbuilt timer was working and they werent active during the day, i just wanted to reset them to freshen the numbers) and it worked 100% with 'o.reload ZombieHorde' as well as a couple others i was resetting. so i was expecting it to work fine calling unload and load/reload (still not sure which one i should use, i try both)
is there a specific way to load/unload plugins that im getting wrong?
cheers
Reloading plugins
Reload would only work if already loaded; load would be what you'd use if the plugin is actually unloaded. If that process works in the console, then the issue is not with those commands. I would make sure nothing else is loading the plugin outside of those times and make sure the time you are expecting is the correct time.
i tried again and its ignoring the o.load, theres no errors in console,
nothing else is loading or unloading the plugin
o.load is working fine if done manually, but is ignored if done through timedExecute,
i just tried again and it worked .. once.. then its being ignored, many times, and only will execute.. [Timed Execute] ran CMD: o.unload ZombieHorde
but waiting till the expected time for o.load, nothing happens, nothing in console,
could it be to do with me changing server time using env.time?, i always give it plenty of grace when changing.
If the load command doesn't work, it would generally imply it is still loaded; as in unloading likely didn't work.
ok thanks, i think ill just wait for killyou to fix the plugin time settings lol, and ill maybe try to see whats going on here on the test server. thanks for your help