Adding Content

Add or edit content

Remember that this resource has verified DMCA protection, and its illegal use or distribution could imply a claim for protection of Title 17 of Chapter 512 (c) (3) of the Digital Millennium Copyright Act

Categories

For add new categories first find the file "categories.json" in folder 'web/assets/config'

categories.json

Editing

You can edit the name of categories and also the image of each category.

{
    "categories": {
        "1":{"id":1,"name": "Suppressors","image":"../web/assets/categoriesimg/suppressor.png"},
        "2":{"id":2,"name": "Magazines","image":"../web/assets/categoriesimg/mag.png"},
        "3":{"id":3,"name": "Scopes","image":"../web/assets/categoriesimg/scopes.png"},
        "4":{"id":4,"name": "Skins","image":"../web/assets/categoriesimg/skin.png"},
        "5":{"id":5,"name": "Stocks","image":"../web/assets/categoriesimg/stocks.png"},
        "6":{"id":6,"name": "Barrel","image":"../web/assets/categoriesimg/barrel.png"},
        "7":{"id":7,"name": "Flashlight","image":"../web/assets/categoriesimg/flash.png"},
        "8":{"id":8,"name": "Grip","image":"../web/assets/categoriesimg/grip.png"}
    }
}

Adding

For add a new category you should copy the same structure for example...

"9":{"id":9,"name": "New","image":"someurl.com"

Weapons

For add new categories first find the file "weapons.json" in folder 'web/assets/config'

weapons.json

Editing

You can edit the name of the weapon and the components, also you can change the image of each weapon and price of components.

"WEAPON_ASSAULTRIFLE":{
        "name": "ASSAULTRIFLE",
        "id": "WEAPON_ASSAULTRIFLE",
        "image": "https://i.imgur.com/BKhD17Q.png",
        "components": {
            "COMPONENT_ASSAULTRIFLE_CLIP_01":{"category" : 2,"name": "MAG1","price":200},
            "COMPONENT_ASSAULTRIFLE_CLIP_02":{"category" : 2,"name": "MAG2","price":220},
            "COMPONENT_ASSAULTRIFLE_CLIP_03":{"category" : 2,"name": "MAG3","price":230},
            "COMPONENT_AT_AR_FLSH":{"category" : 7,"name": "FLASHLIGHT","price":700},
            "COMPONENT_AT_AR_SUPP_02":{"category" : 1,"name": "SUPPRESSOR","price":100}
        }
    },

Adding

For add new weapons just copy the same estructure, the key and id of the weapon should be the same of the weapon spawn name.

"WEAPON_AKORUS":{
        "name": "AKORUS",
        "id": "WEAPON_AKORUS",
        "image": "https://i.imgur.com/BKhD17Q.png",
        "components": {
            "COMPONENT_AKORUS_CLIP_01":{"category" : 2,"name": "MAG1","price":200},
            "COMPONENT_AKORUS_CLIP_02":{"category" : 2,"name": "MAG2","price":220},
            "COMPONENT_AKORUS_CLIP_03":{"category" : 2,"name": "MAG3","price":230},
            "COMPONENT_AT_AKORUS_SUPP_02":{"category" : 1,"name": "SUPPRESSOR","price":100}
        }
    },

Last updated