Call a hook when the server player count changes to or from zero
Bots will count, it would be easy to add another condition to change that, but servers shouldn't normally be enabling bot_join_empty
so this is the simplest possible implementation.
Also, if bot_join_empty
is enabled, for testing or benchmarking or whatever, then maybe those bots should count towards hook triggering.