Wipe command timer (Rust)
Hi,

Is there a plugin that exists already that would be able to run commands after a period of time from Wipe. A bit like how WipeBlock works but instead of allowing items to be used, it runs a command.
The reasoning for this is, is I would like to create a system where ladder raiding would be blocked for the first X hours of a wipe, then after that timer is reached, I can run a custom command to disable that specific plugin allowing ladder raiding for the remainder of that wipe.
Hopefully somebody can point in the right direction!

Thanks,
Pap
think it'll be in the TimedExecute's  TimerOnce. AutoCommands has the automatic OnServerWipe setting, but not the delay like TimedExecute. These mods should be merged for a fully featured mod!

"TimerOnce": {
"o.grant group default mod.permission": 300,
"reset.timeronce": 20160
},​

I don't know if it'll run once every time the server starts. @misticos knows, though! The 20160 is the minutes in two weeks. Maybe that'll let it run once every two week wipe cycle. But it might run everyday, e.g. on nightly server restarts, though. If it was a permission, it'd be ok to have it try to regrant that everyday. They'd already have it so it just wouldn't do anything on the second day onwards.
5d66db4201195.jpg?uid=5d66db72ac9cd RyanFromRust
think it'll be in the TimedExecute's  TimerOnce. AutoCommands has the automatic OnServerWipe setting, but not the delay like TimedExecute. These mods should be merged for a fully featured mod!

"TimerOnce": {
"o.grant group default mod.permission": 300,
"reset.timeronce": 20160
},​

I don't know if it'll run once every time the server starts. @misticos knows, though! The 20160 is the minutes in two weeks. Maybe that'll let it run once every two week wipe cycle. But it might run everyday, e.g. on nightly server restarts, though. If it was a permission, it'd be ok to have it try to regrant that everyday. They'd already have it so it just wouldn't do anything on the second day onwards.

You wouldn't want to do that if you have daily reboots of the server as it would never end up running and once the reboot happens it starts the timer all over again. Also I believe it is seconds not minutes as I use this for my server.