Guardian Verification - Installation

Installation Guide

🔹 Step 1: Download & Extract

  1. Download the latest version of the script from the provided source.

  2. Extract the folder and place it in your resources directory.

  3. Rename the folder to something short and relevant, e.g., GuardianVerification.

🔹 Step 2: Configure the Script

  1. Open the config.lua file inside the script folder.

  2. Edit the Config.DiscordWebhook to match your Discord webhook URL:

    Config = {}
    
    Config.DiscordWebhook = "YOUR_DISCORD_WEBHOOK_HERE"
  3. Save and close the file.

🔹 Step 3: Add to Server.cfg

  1. Open your server.cfg file.

  2. Add the following line at the bottom:

    ensure GuardianVerification

🔹 Step 4: Database Setup

  • oxmysql, ensure it’s installed and configured correctly.

  • Run the provided SQL file

CREATE TABLE IF NOT EXISTS linked_accounts (
    id INT AUTO_INCREMENT PRIMARY KEY,
    discord VARCHAR(50) UNIQUE, 
    ip VARCHAR(50), 
    steam VARCHAR(50), 
    xbl VARCHAR(50), 
    live VARCHAR(50), 
    license VARCHAR(50) 
);

Put this in your server.cfg with the correct information

set mysql_connection_string "mysql://username:password@host:port/discord_verify"
  1. Connect the Verify Bot to a VPS I recommend this bot hosting here its free

🔹 Step 5: Testing & Verification

  1. Start your FiveM server.

  2. Join the server and use the /link command to verify your account.

  3. Check if the bot logs the verification in your Discord webhook.

🎉 Done! Your verification system is now installed and running. 🚀

Last updated