Ajouter au panier
Promo !
Script ESX QBCore Standalone

Fabrication d'Aty

Le prix initial était : $50.00.Le prix actuel est : $27.00.

-46%
Ajouter au panier
Aperçu des ressources FiveM d'Aty Crafting
Fabrication d'Aty
$50.00 Le prix initial était : $50.00.$27.00Le prix actuel est : $27.00.

Détails du produit

Framework
ESX, QBCore, Autonome
Type de ressource
Script
Fichiers inclus
1 fichier téléchargeable

Détails de l’achat

Format de téléchargement
ZIP

Améliorez votre serveur FiveM avec un Système d'artisanat et d'attachement qui apporte innovation, personnalisation et performances fluides à vos joueurs. Voici ce qu'il offre :

  • Tables d'artisanat dynamiques:Configurez des stations d'artisanat adaptées à des tâches spécifiques ou rendez-les accessibles à tous, vous donnant ainsi un contrôle total sur les autorisations d'artisanat.
  • Progression de l'artisanat en temps réel:Les joueurs peuvent surveiller leur statut de fabrication en direct, offrant une expérience utilisateur fluide et engageante.
  • Stimuler l’intégration: Monétisez votre serveur en permettant aux joueurs d'acheter des réductions de temps de fabrication via Tebex, augmentant ainsi à la fois l'engagement et le potentiel de revenus.
  • Configuration sans effort:Étendez facilement les capacités de votre serveur en ajoutant de nouvelles tables d'artisanat, recettes et matériaux pour répondre aux besoins évolutifs des joueurs.
  • Système de fixation d'armes:Introduisez une nouvelle couche de gameplay avec des améliorations d'armes, permettant aux joueurs de personnaliser et de mettre à niveau leurs armes.
  • Performances optimisées:Conçu pour l'efficacité, le système garantit des performances fluides, même avec une activité élevée des joueurs pendant les sessions d'artisanat.

Ce système complet enrichit non seulement le gameplay, mais ouvre également des opportunités de monétisation du serveur et d'engagement à long terme des joueurs.

Fichier de configuration

Config = {
    Framework = "qb", -- "qb" or "esx" or "oldesx"
    MySQL = "oxmysql", -- "oxmysql" or "ghmattimysql" or false
    Tebex = "https://ak4y.tebex.io/",
    BoostPrice = 100,
    BoostPercentage = 0.5, -- 0.5 = 50%

    CoreExport = function()
        if Config.Framework == "qb" then
            return exports["qb-core"]:GetCoreObject()
        elseif Config.Framework == "esx" then
            return exports["es_extended"]:getSharedObject()
        end
    end,

    CraftingTables = {
        ["police"] = {
            Coords = vector3(454.3285, -979.7649, 30.6896),
            Job = "police", -- all or job name
            Grade = 2, -- minimum job grade
            Distance = 1.0, -- distance to interact
            Marker = {
                Type = 2,
                Size = vector3(0.5, 0.5, 0.5),
                Color = {
                    r = 255,
                    g = 255,
                    b = 255,
                    a = 200
                }
            },
            Blip = {
                Sprite = 110,
                Color = 3,
                Label = "Police Crafting Table"
            },
            Categories = {
                {
                    categoryCode = "all",
                    categoryLabel = "All",
                },
                {
                    categoryCode = "weapons",
                    categoryLabel = "Weapons",
                },
                {
                    categoryCode = "consumables",
                    categoryLabel = "Consumables",
                },
                {
                    categoryCode = "attachments",
                    categoryLabel = "Attachments",
                },
            },
            Items = {
                {
                    itemCategory = "consumables",
                    itemCode = "bandage",
                    itemLabel = "Bandage",
                    itemImage = "bandage.png",
                    itemLevel = 1,
                    itemDuration = 10,
                    itemPrice = 50,
                    itemExp = 10,
                    itemDesc = "A simple bandage",
                    ingredients = {
                        { itemCode = "bandage", quantity = 5, label = "Cloth", image = "cloth.png" },
                    }
                },
                {
                    itemCategory = "attachments",
                    itemCode = "clip_attachment",
                    itemLabel = "Clip",
                    itemImage = "clip.png",
                    itemLevel = 1,
                    itemDuration = 20,
                    itemPrice = 100,
                    itemExp = 15,
                    itemDesc = "A simple clip attachment",
                    ingredients = {
                        { itemCode = "iron", quantity = 2, label = "Iron", image = "iron.png" },
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "weapon_pistol",
                    itemLabel = "Pistol MKII",
                    itemImage = "pistol.png",
                    itemLevel = 1,
                    itemDuration = 30,
                    itemPrice = 100,
                    itemExp = 15,
                    itemDesc = "A simple pistol",
                    ingredients = {
                        { itemCode = "iron", quantity = 5, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 2, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "rifle",
                    itemLabel = "Rifle MKII",
                    itemImage = "rifle.png",
                    itemLevel = 2,
                    itemDuration = 60,
                    itemPrice = 200,
                    itemExp = 30,
                    itemDesc = "A simple rifle",
                    ingredients = {
                        { itemCode = "iron", quantity = 10, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 5, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "shotgun",
                    itemLabel = "Shotgun MKII",
                    itemImage = "shotgun.png",
                    itemLevel = 3,
                    itemDuration = 60,
                    itemPrice = 300,
                    itemExp = 45,
                    itemDesc = "A simple shotgun",
                    ingredients = {
                        { itemCode = "iron", quantity = 15, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 10, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "sniper",
                    itemLabel = "Sniper MKII",
                    itemImage = "sniper.png",
                    itemLevel = 4,
                    itemDuration = 60,
                    itemPrice = 400,
                    itemExp = 60,
                    itemDesc = "A simple sniper",
                    ingredients = {
                        { itemCode = "iron", quantity = 20, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 15, label = "Wood", image = "wood.png" }
                    }
                },
            }
        }
    },

    Levels = {
        [1] = {exp = 0},
        [2] = {exp = 50},
        [3] = {exp = 100},
        [4] = {exp = 150},
        [5] = {exp = 250},
        [6] = {exp = 350},
        [7] = {exp = 500},
        [8] = {exp = 700},
        [9] = {exp = 1000},
        [10] = {exp = 1300},
        [11] = {exp = 1600},
        [12] = {exp = 2000},
        [13] = {exp = 2500},
        [14] = {exp = 3000},
        [15] = {exp = 4000},
    },
    
    AttachmentItems ={
        ["clip"] = "clip_attachment",
        ["silencer"] = "suppressor_attachment",
        ["flashlight"] = "flashlight_attachment",
        ["scope"] = "smallscope_attachment",
        ["grip"] = "grip_attachment",
    },

    Attachments = {
        {
            itemCode = "weapon_pistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_combatpistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_COMBATPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_appistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_APPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_microsmg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_MICROSMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO_02"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_smg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO_02"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_assaultsmg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTSMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_assaultrifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_carbinerifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_CARBINERIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_advancedrifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ADVANCEDRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_specialcarbine",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SPECIALCARBINE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_bullpuprifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_BULLPUPRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_pumpshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PUMPSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_SR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_sawnoffshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SAWNOFFSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_assaultshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_heavysniper",
            attachments = {
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_LARGE"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_snspistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SNSPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_gusenberg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_GUSENBERG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_specialcarbine_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SPECIALCARBINE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_bullpuprifle_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_BULLPUPRIFLE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_pumpshotgun_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PUMPSHOTGUN_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_SR_SUPP_03"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_marksmanrifle_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_MARKSMANRIFLE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_revolver_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_REVOLVER_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH_03"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_doubleaction",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_DOUBLEACTION_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH_03"),
                    label = "Flashlight",
                },
            }
        }
    }
}

 

Guide d'installation

Le README inclus ne couvre que la reconstruction de l'interface web ; l'installation du serveur est contrôlée par la configuration du package et SQL.

Prérequis et préparation

  • Sélectionnez QBCore, ESX ou l'ancien ESX.
  • Sélectionnez l'adaptateur SQL déclaré dans config.lua et installez le schéma inclus.

Installation

  1. Importez le SQL inclus et extrayez aty_crafting.
  2. Définissez le framework et l'adaptateur SQL, puis configurez les catégories, les recettes, les ingrédients, les niveaux et les tables de fabrication.
  3. Démarrez après les ressources du framework/de la base de données choisies ; la reconstruction de la UI web incluse n'est pas nécessaire pour une installation normale.

Points de contrôle de configuration

  • Testez la suppression d'ingrédients, la livraison d'objets fabriqués, les portes de niveau/XP et les recettes d'accessoires.
  • Vérifiez chaque nom d'objet par rapport à l'inventaire actif et testez les valeurs économiques sur staging.

Sécurité : Sauvegardez la ressource et les tables de base de données affectées, utilisez des identifiants appartenant à votre serveur, et effectuez un test de staging avant de remplacer une ressource en production. La configuration complète reste dans le package de téléchargement.

Avis

Il n’y a pas encore d’avis.

Seuls les clients connectés ayant acheté ce produit ont la possibilité de laisser un avis.