Anti-cheat patterns
No client-side check is real security. Every "give me money" event a cheater finds is one your server should have rejected. This lesson covers the four patterns that stop most attacks: server authority, rate limiting, sanity checks, and audit logging. The key idea is one sentence long. The server trusts who sent an event, but never what they sent.
Build it
Make the resource folder
Inside your server's resources folder, create this folder:
resources/qu_anticheat
Keep the spelling exact. You will use the same name in server.cfg and in the restart command.
Create the files
Create this exact file layout. This resource has a client file and a server file, because the proof has to cross the network to be real: