Is there a way to block send lua? I don’t want client blocking shit I send them. All for legit purposes (anti cheat).
Yes, there is a way to stop it.
You could filter the packages sent to you. gm_sourcenet is an example for it.
Also: Using SendLua brings no more security than a “regular” anticheat, so you better use a normal file instead to safe your time having trouble with SendLua (SendLua is limited in string-size).
Whats the max string size?
Probably 255 bytes/characters, like with usermessages.
SendLua is limited to 254 bytes, leaving one byte for the handler. So that’s 254 characters.
You can also use the console setting net_blockmsg to block sendlua.