[PAID] vsIdentity

[PAID] vsIdentity

[Description]

An extraordinary identity system which you can completely configure for your server. In the course of our post you will see the different config files you can set. The identity system is the first thing players see on your server, so make an unforgettable impression with vsIdentity!

Get this Script at our Store for just 14.99 € !

Showcase

Link to the Showcase Video

Cl_Config

Config = {}
Config.Version = true -- select your esx version (true = old esx version)


Config.LoadDelay = 5
Config.Settings = {
    ["minchars"] = 3, -- 3 CHARS MIN FOR FIRST & LASTNAME
    ["maxchars"] = 8, -- 20 CHARS MAX FOR FIRST & LASTNAME
    ["sizemin"] = 150,
    ["sizemax"] = 200,
    ["agemax"] = 100,

    ["input"] = {
        ["only-letters"] = true,
        ["allow-spaces"] = false,
        ["first-uppercase"] = true,
    },

    ["blacklist"] = {
        "<",
        ">",
        "test",
        "hans",
    },
}

Config.Language = {
    ["firstname_invalid"] = "Firstname Invalid",
    ["lastname_invalid"] = "Lastname Invalid",
    ["birthdate_invalid"] = "Date of birth Invalid",
    ["size_invalid"] = "Size Invalid",
    ["error_create"] = "An error occurred while creating your character",
    ["success_create"] = "You have successfully created the character %s",
    ["noperms"] = "You have no permissions",
    ["nosrcprovided"] = "You have not provided an ID",
    ["notonline"] = "No player with this ID was found",
    ["youopened"] = "You have opened the character editor for %s",
    ["someopened"] = "Your character editor was opened by %s",
    ["youopenedskin"] = "You have opened the skin menu for %s",
    ["someopenedskin"] = "Your skin menu was opened by %s",

    -- Webhook
    ['create_char'] = "**CHARACTER CREATED**",
    ['firstname'] = "**Firstname: **",
    ['lastname'] = "**Lastname: **",
    ['dob'] = "**Date of birth: **",
    ['size'] = "**Height: **",
    ['gender'] = "**Gender: **",

    ['char_menu'] = "**Register Open**",
    ['skin_menu'] = "**Skinmenu Open**"
}

Config.OnSkinMenu = function()
    -- TriggerEvent('esx_skin:playerRegistered')
    TriggerEvent('esx_skin:openSaveableMenu')
end

Config.Notify = function(message, type)
    ESX.ShowNotification(message)
end

SV_Config

#Config_S = {}

Config_S.DiscordLogs = {
    ["username"] = "Identity - Logs",
    ["title"] = "vsIdentity",
    ["color"] = 16711680,
    ["avatar_url"] = "https://media.discordapp.net/attachments/859881113605767199/1030099909526966352/Symbol_Red.png?width=768&height=768",
    ["icon_url"] = "https://media.discordapp.net/attachments/859881113605767199/1030099909526966352/Symbol_Red.png?width=768&height=768",
    ["webhook"] = "YOUR WEBHOOK",
}

Config_S.Commands = {
    ["skinmenu"] = "skinmenu",
    ["register"] = "register",
}

Config_S.Perms = {
    ["admin"] = true,
    ["mod"] = true,
}

CSS-Config

:root {
    --color-prim: #ff0000;
    --color-bgMain: #100000;
    --color-bgSec: radial-gradient(152.04% 75.15% at 77.02% 63.82%, rgba(176, 0, 0, 0.12) 0%, rgba(16, 0, 0, 0.00) 100%), radial-gradient(189.39% 106.28% at 13.03% 9%, rgba(255, 0, 0, 0.09) 0%, rgba(16, 0, 0, 0.04) 100%);
    
    --color-input-success: #CCFD65;
    --color-input-error: #ff0000;
    --color-genderBg: rgba(255, 0, 0, 0.40);
    --color-einreiseBtn: rgba(88, 0, 0, 0.80) 0%, rgba(191, 0, 0, 0.80);
    --color-circleSec: #770000;
}

JS-Config

const PROJECT = {
    name: "Your Logo",
    description: "IDENTITY",
}

const LANGUAGE = {
    inputs: {
        firstname: "Firstname",
        lastname: "Last name",
        birthdate: "Date of birth",
        height: "Height",
    },

    placeholders: {
        firstname: "Max",
        lastname: "Mustermann",
        birthdate: "DD.MM.YYYY",
        height: "180",
    },

    genders: {
        male: "Male",
        female: "Female",
    },

    buttons: {
        submit: "Enter",
    },

    ranges: {
        [1]: {
            head: "Personal details",
            text: "Fill in your personal details to be able to play on Magma Scripts.",
        },

        [2]: {
            head: "Character",
            text: "Create your character according to your wishes and ideas.",
        },

        [3]: {
            head: "Entry",
            text: "Travel to our country, answer a few questions and you're ready to go.",
        },
    }
}

Optimization

  • IDLE: 0.00ms

  • RUNNING: 0.00ms

Further Information

SHOP: vsIdentity

This resource is using the FiveM Asset Escrow system

This resource DOES NOT support any multichar system

Code is accessible No
Subscription-based No
Lines (approximately) 1350
Requirements ESX
Support Yes
13 Likes

basic

1 Like