AntiCheat Heartbeat

This section covers the AntiCheat Heartbeat system.

WX AntiCheat includes a heartbeat system that is used to detect cheaters trying to block the anticheat resource. It works by making the client (player) send a request to the server side where it's being validated and saved. If the player doesn't send a heartbeat in X seconds (configurable), they will get kicked and you will be notified.

Configuration

anticheat_config.lua
wx.HeartBeat = {
    enabled = true,     -- [boolean]
    maxTime = 30,       -- [integer]
}

wx.Heartbeat: Configuration table containing the heartbeat settings.

enabled: Toggles the heartbeat system on or off.

maxTime: The maximum time in seconds the player needs to send a heartbeat before getting kicked. Minimum value is 10 seconds. Lower server configurations may require a higher value.