Could someone please write a plugin which does the following:
- Regularly, e.g. every 10 minutes, check if VAC is enabled and if there are any players on the server.
- If VAC is disabled and the server is empty, restart it.
The problem is that some servers lose VAC protection after a restart sometimes. The work-around so far is that I check the VAC status in HLSW and restart the ones (rcon exit) which don't have VAC.
The plugin should work with TF2 at least, but I suppose this is a rather generic thing to do so it'll probably work with any game which uses the Source engine.