What is best way to limit the frequency of user rpc?

I want to limit the number of RPCs for each player. For example, a maximum of 5 calls can be made every 5 seconds. Is there any recommended method?

Hey @hexun80149128 is your concern users spam pressing GUI elements that would trigger RPCs? If so I’d just limit it with the GUI logic.

I’m worried about the client being cracked

I see. Our cloud platform (Heroic Labs | Heroic Cloud: Satori LiveOps and Production-ready Nakama servers) is built on top of GCP and AWS which handle DDOS protection for you. If you aren’t using Heroic Cloud we can’t really advise on your specific infrastructure setup.