📦 Installing PrettyPacketAC 📦

Hey cutie! 💁‍♀️ Ready to protect your server the pretty way? Let’s get PrettyPacketAC installed and running in no time 💖✨

🧁 Step 1: Download the Anti-Cheat

First things first! Grab the latest version of PrettyPacketAC 💖 from your KeyMaster.

Make sure you’ve unzipped the file before moving on — we don’t want any tangled files! 🧶

💾 Step 2: Add to Your Server Resources

Drag and drop the PrettyPacketAC folder into your server’s resources directory.

Super easy, right? 😌🎀

📜 Step 3: Import the SQL File

To make sure bans are saved properly, you’ll need to import the ban table into your database. Here’s the SQL you’ll need:

CREATE TABLE IF NOT EXISTS `prettyac_bans` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ban_id` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
  `steam` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `discord` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `license` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `ip` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `reason` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'No reason specified',
  `banned_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Anticheat',
  `ban_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ban_id` (`ban_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

COMMIT;

✨ You can run this in your favorite MySQL tool (like HeidiSQL, phpMyAdmin, or whatever makes your dev heart happy 💕)

🛠 Step 4: Start It in Your server.cfg

Add this line to your server.cfg to make sure PrettyPacketAC boots up with your server:

PrettyPacketAC Must be started before all your other resources (Framework)

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents

ensure PrettyPacketAC

# QBCore & Extra stuff
ensure qb-core
ensure PrettyPacketAC

That’s it! 🍒 Your anti-cheat will now automatically hook into your events and start doing its magic 💫

💡 Pro Tips

  • 🧷 Don’t rename the folder! Keep it as PrettyPacketAC unless you’ve customized everything.

  • 💖 Restart your server after installing to make sure it loads smoothly.

🧚‍♀️ Need Help?

If anything’s acting funky or you just want a little extra help, hop into our Discord — we’d love to help you out 💌

🌸 Join our Discord

Thanks for choosing PrettyPacketAC — let’s keep your server fabulous and secure! 💻💋

Last updated