There would be a block of code that could only be used ONCE due to possible spamming of the code block. It would change the server-specific texture pack to a texture pack from approved links (curseforge for an example). Once the player left the game, the server-specific pack would be removed.
I...