Heartbeat System

This section describes how to configure the Heartbeat system and how it works

WX AntiCheat includes an advanced heartbeat system that ensures potentional cheaters cannot stop the AntiCheat client side and your clients have constant connection to the AntiCheat.

Configuration

The basic configuration includes a small table with two options

wx.Heartbeat = {
    interval = 10 * 1000, 
    maxTimeout = 30 * 1000,
    maxRetries = 3
}
  • interval: (number) - How often should players send a heartbeat signal to the server
  • maxTimeout: (number) - Maximum time player can go without sending a signal
  • maxRetries: (number) - How many times should the AntiCheat try to force the player to send a signal again until it disconnects them

How it works

The heartbeat system works by sending an encrypted payload from client to the server every few seconds to ensure that the player has a stable connection with the AntiCheat.

The server side then reads and carefully verifies the payload. The server side checks are very strict, making sure the client cannot modify the payload in any way or send it faster/slower than set.

For potentional cheaters it's literally impossible to send a simulated signal to fool the AntiCheat, as the payload includes multiple hashed data parts that the client cannot ever access.

In short terms: it's really secure and impossible to bypass.