This is a cool idea, but you're going to have to test it using a multiplayer game. Single player games use almost an entirely different engine. i.e. my build hack detector does't work in single player games.

Idk if other victory conditions are internally available in multiplayer games. It could be that that they are, but I suspect the "no units left = dead", "no enemies left = victory" conditions may be hard coded. I really don't know, and I'd be very happy to be wrong.

But I am sure that testing anything in single player/campaign mode is no guarantee that it will work in a multiplayer game (server games with only computer opponents are still multiplayer games).

So test stuff via the server with "use map settings" and you will know.