💓 Heartbeat System

Let’s talk about PrettyPacketAC’s Heartbeat System — the silent guardian that watches over your players 👀✨

This system runs in the background using two secure (and super sneaky 👀💕) methods to detect if the anti-cheat has been tampered with, stopped, or disabled. We won’t go into the juicy details (a girl’s gotta keep some secrets 😌), but just know it’s smart, persistent, and always watching 👑

🔐 Optional Failover Setup (Extra Secure 💅)

For an even more secure experience, we highly recommend adding a little helper snippet to each of your client-side resources (not the anticheat itself!). This adds a failover check that helps us know if someone tries to mess with PrettyPacketAC from another angle 🔍

📍 Where to Add It:

Just scroll to the bottom of any client.lua file in your other resources and paste this code:

luaCopyEditAddEventHandler('onClientResourceStop', function(resourceName)
    if resourceName == "PrettyPacketAC" then
        CancelEvent()
        TriggerServerEvent('PrettyPacketAC:ResourceStopped')
    end
end)

💡 This doesn’t interfere with your existing code and it won’t cause errors — it just adds an extra layer of sass and security 🧃💻

💬 Do I have to do this?

Nope! This is totally optional — PrettyPacketAC’s default heartbeat is still strong 💗 But if you want that ✨ extra peace of mind ✨ (especially on public servers), it’s a smart move!

Now that your server has a heartbeat, let’s keep it pumping strong 💻💓 On to the next config!

💎 Pro Tip!

✨ Want to make this extra effective? Add the snippet to a core resource or something a cheater wouldn’t normally stop (since they’d risk breaking their own stuff 😈).

Some good examples:

  • qb-shops

  • qb-target

  • Or any other stable, always-on resource you trust 💕

This makes it waaay harder for sneaky players to get around the protection. We love that for your server 💅🔒

Last updated