I'd like to get the loaded Resource Pack (file location?) and then calculate the SHA1 hash of the pack.
If it's blacklisted in our system then cancel the loading process or close the game with an error message.
I can check it before / during / after too, the hash doesn't change, does it?