Client-Side: Securing Event Triggers
To securely trigger events from the client to the server, we use the SecurityClient.TriggerSecure
function. This function checks if the event is in the whitelist or blacklist and blocks triggering accordingly.
How It Works:
Whitelisting: The event is checked against the whitelist. If itβs on the whitelist, it will trigger normally.
Blacklisting: If the event is on the blacklist, it will be blocked, and the client will receive a notification.
Logging: Each action is logged for visibility and troubleshooting.
UI Feedback: You can customize UI feedback to inform players when events are blocked.
Example Usage:
Last updated
Was this helpful?