Skip to content

StartingEquipSetup ​

Description ​

StartingEquipSetup gives new characters configured clothes, items and weapons. It supports a general loadout and alternatives for groups of SteamIDs.

Configuration ​

Default configuration ​

StartingEquipSetup.json
json
{
    "m_Enable": 0,
    "m_Health": 75,
    "m_Groups": [
        {
            "m_Steam": [
                "00000000000000000"
            ],
            "m_Description": "example",
            "m_Equip": {
                "m_Vest": [],
                "m_Shirt": [],
                "m_Belt": [],
                "m_Pants": [],
                "m_Bag": [],
                "m_Hat": [],
                "m_Mask": [],
                "m_Glasses": [],
                "m_Glove": [],
                "m_Shoes": [],
                "m_Armband": [],
                "m_Presets": [
                    {
                        "m_Vest": "",
                        "m_Shirt": "TShirt_Black",
                        "m_Belt": "",
                        "m_Pants": "Jeans_Black",
                        "m_Bag": "",
                        "m_Hat": "BeanieHat_Black",
                        "m_Mask": "",
                        "m_Glasses": "",
                        "m_Glove": "",
                        "m_Shoes": "AthleticShoes_Black",
                        "m_Armband": ""
                    },
                    {
                        "m_Vest": "",
                        "m_Shirt": "TShirt_Green",
                        "m_Belt": "",
                        "m_Pants": "Jeans_Green",
                        "m_Bag": "",
                        "m_Hat": "BeanieHat_Green",
                        "m_Mask": "",
                        "m_Glasses": "",
                        "m_Glove": "",
                        "m_Shoes": "AthleticShoes_Green",
                        "m_Armband": ""
                    },
                    {
                        "m_Vest": "",
                        "m_Shirt": "TShirt_Blue",
                        "m_Belt": "",
                        "m_Pants": "Jeans_Blue",
                        "m_Bag": "",
                        "m_Hat": "BeanieHat_Blue",
                        "m_Mask": "",
                        "m_Glasses": "",
                        "m_Glove": "",
                        "m_Shoes": "AthleticShoes_Blue",
                        "m_Armband": ""
                    }
                ],
                "m_Random": [],
                "m_Items": [],
                "m_Primary": [],
                "m_Secondary": []
            }
        },
        {
            "m_Steam": [],
            "m_Description": "weapons",
            "m_Equip": {
                "m_Vest": [],
                "m_Shirt": [],
                "m_Belt": [],
                "m_Pants": [],
                "m_Bag": [],
                "m_Hat": [],
                "m_Mask": [],
                "m_Glasses": [],
                "m_Glove": [],
                "m_Shoes": [],
                "m_Armband": [],
                "m_Presets": [],
                "m_Random": [],
                "m_Items": [],
                "m_Primary": [
                    {
                        "m_Item": "M4A1",
                        "m_Attachments": [
                            [
                                "",
                                "M4_OEBttstck",
                                "M4_MPBttstck",
                                "M4_CQBBttstck"
                            ],
                            [
                                "",
                                "M4_PlasticHndgrd",
                                "M4_RISHndgrd",
                                "M4_MPHndgrd"
                            ],
                            [
                                "",
                                "ACOGOptic",
                                "ACOGOptic_6x",
                                "M4_T3NRDSOptic",
                                "M68Optic",
                                "ReflexOptic"
                            ],
                            [
                                "",
                                "M4_Suppressor",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_STANAG_30Rnd",
                        "m_Mags": 3
                    },
                    {
                        "m_Item": "AKM",
                        "m_Attachments": [
                            [
                                "",
                                "AK_FoldingBttstck",
                                "AK_PlasticBttstck",
                                "AK_WoodBttstck",
                                "AK74_WoodBttstck"
                            ],
                            [
                                "",
                                "AK_WoodHndgrd",
                                "AK74_Hndgrd",
                                "AK_RailHndgrd",
                                "AK_PlasticHndgrd"
                            ],
                            [
                                "",
                                "KobraOptic"
                            ],
                            [
                                "",
                                "AK_Bayonet",
                                "AK_Suppressor",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_AKM_30Rnd",
                        "m_Mags": 3
                    },
                    {
                        "m_Item": "FAL",
                        "m_Attachments": [
                            [
                                "",
                                "Fal_OeBttstck",
                                "Fal_FoldingBttstck"
                            ],
                            [
                                "",
                                "ACOGOptic",
                                "ACOGOptic_6x",
                                "M4_T3NRDSOptic",
                                "M68Optic",
                                "ReflexOptic"
                            ],
                            [
                                "",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_FAL_20Rnd",
                        "m_Mags": 3
                    },
                    {
                        "m_Item": "Mosin9130",
                        "m_Attachments": [
                            [
                                "",
                                "PUScopeOptic"
                            ],
                            [
                                "",
                                "Mosin_Bayonet",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Ammo_762x54",
                        "m_Mags": 3
                    },
                    {
                        "m_Item": "Winchester70",
                        "m_Attachments": [
                            [
                                "",
                                "HuntingOptic"
                            ],
                            [
                                "",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Ammo_308Win",
                        "m_Mags": 3
                    },
                    {
                        "m_Item": "SVD",
                        "m_Attachments": [
                            [
                                "",
                                "PSO1Optic",
                                "PSO11Optic"
                            ],
                            [
                                "",
                                "AK_Suppressor",
                                "ImprovisedSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_SVD_10Rnd",
                        "m_Mags": 3
                    }
                ],
                "m_Secondary": [
                    {
                        "m_Item": "MakarovIJ70",
                        "m_Attachments": [
                            [
                                "",
                                "PistolSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_IJ70_8Rnd",
                        "m_Mags": 2
                    },
                    {
                        "m_Item": "CZ75",
                        "m_Attachments": [
                            [
                                "",
                                "FNP45_MRDSOptic"
                            ],
                            [
                                "",
                                "PistolSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_CZ75_15Rnd",
                        "m_Mags": 2
                    },
                    {
                        "m_Item": "Deagle",
                        "m_Attachments": [
                            [
                                "",
                                "FNP45_MRDSOptic"
                            ],
                            [
                                "",
                                "PistolSuppressor"
                            ]
                        ],
                        "m_Mag": "Mag_Deagle_9rnd",
                        "m_Mags": 2
                    }
                ]
            }
        }
    ],
    "m_Everyone": {
        "m_Vest": [],
        "m_Shirt": [
            "TShirt_Beige",
            "TShirt_Black",
            "TShirt_Blue",
            "TShirt_Green",
            "TShirt_OrangeWhiteStripes",
            "TShirt_Red",
            "TShirt_RedBlackStripes",
            "TShirt_White",
            "TShirt_Grey"
        ],
        "m_Belt": [],
        "m_Pants": [
            "Jeans_Black",
            "Jeans_Blue",
            "Jeans_Brown",
            "Jeans_Green",
            "Jeans_Grey",
            "Jeans_BlueDark"
        ],
        "m_Bag": [],
        "m_Hat": [
            "BeanieHat_Beige",
            "BeanieHat_Black",
            "BeanieHat_Blue",
            "BeanieHat_Brown",
            "BeanieHat_Green",
            "BeanieHat_Grey",
            "BeanieHat_Pink",
            "BeanieHat_Red"
        ],
        "m_Mask": [],
        "m_Glasses": [],
        "m_Glove": [],
        "m_Shoes": [
            "AthleticShoes_Blue",
            "AthleticShoes_Black",
            "AthleticShoes_Brown",
            "AthleticShoes_Green",
            "AthleticShoes_Grey"
        ],
        "m_Armband": [],
        "m_Presets": [],
        "m_Random": [
            [
                "Apple",
                "Pear",
                "Plum"
            ],
            [
                "SodaCan_Pipsi",
                "SodaCan_Cola",
                "SodaCan_Spite",
                "SodaCan_Kvass"
            ]
        ],
        "m_Items": [
            {
                "m_Item": "KitchenKnife",
                "m_QuickBar": 1,
                "m_Quantity": 0,
                "m_Attachments": []
            },
            {
                "m_Item": "Rag",
                "m_QuickBar": 2,
                "m_Quantity": 4,
                "m_Attachments": []
            },
            {
                "m_Item": "Flashlight",
                "m_QuickBar": 3,
                "m_Quantity": 0,
                "m_Attachments": [
                    "Battery9V"
                ]
            }
        ],
        "m_Primary": [],
        "m_Secondary": []
    },
    "m_Battery": [
        "M4_T3NRDSOptic",
        "M68Optic",
        "ReflexOptic",
        "KobraOptic",
        "FNP45_MRDSOptic"
    ]
}

Options ​

OptionTypeDescription
m_EnableboolWith 1, enables the module. With 0, disables it.
m_HealthintLower bound for the randomized condition of ordinary starting gear, as a percentage.
m_Batteryarray<string>Attachment classes that receive a battery during weapon setup.
m_EveryoneobjectGeneral equipment.
m_Groupsarray<object>Equipment groups by SteamID.

m_Groups[] ​

OptionTypeDescription
m_DescriptionstringGroup label in the configuration file.
m_EquipobjectGroup equipment. Empty item, random-item and weapon lists inherit their corresponding lists from m_Everyone.
m_Steamarray<string>SteamIDs assigned to the group. The first matching group is used.

m_Everyone / m_Groups[].m_Equip ​

OptionTypeDescription
m_Armbandarray<string>Candidate classes for the armband slot when the preset has no class.
m_Bagarray<string>Candidate classes for the backpack slot when the preset has no class.
m_Beltarray<string>Candidate classes for the belt slot when the preset has no class.
m_Glassesarray<string>Candidate classes for the eyewear slot when the preset has no class.
m_Glovearray<string>Candidate classes for the gloves slot when the preset has no class.
m_Hatarray<string>Candidate classes for the headwear slot when the preset has no class.
m_Maskarray<string>Candidate classes for the mask slot when the preset has no class.
m_Pantsarray<string>Candidate classes for the pants slot when the preset has no class.
m_Shirtarray<string>Candidate classes for the shirt slot when the preset has no class.
m_Shoesarray<string>Candidate classes for the footwear slot when the preset has no class.
m_Vestarray<string>Candidate classes for the vest slot when the preset has no class.
m_Itemsarray<object>Fixed starting items.
m_Presetsarray<object>Presets from which one is picked at random.
m_Primaryarray<object>Primary weapon candidates.
m_Secondaryarray<object>Secondary weapon candidates.
m_Randomarray<array<string>>Groups of item classes from which the module picks one class per group.

m_Everyone.m_Presets[] / m_Groups[].m_Equip.m_Presets[] ​

OptionTypeDescription
m_ArmbandstringExact class for the armband slot. An empty value uses its candidate list.
m_BagstringExact class for the backpack slot. An empty value uses its candidate list.
m_BeltstringExact class for the belt slot. An empty value uses its candidate list.
m_GlassesstringExact class for the eyewear slot. An empty value uses its candidate list.
m_GlovestringExact class for the gloves slot. An empty value uses its candidate list.
m_HatstringExact class for the headwear slot. An empty value uses its candidate list.
m_MaskstringExact class for the mask slot. An empty value uses its candidate list.
m_PantsstringExact class for the pants slot. An empty value uses its candidate list.
m_ShirtstringExact class for the shirt slot. An empty value uses its candidate list.
m_ShoesstringExact class for the footwear slot. An empty value uses its candidate list.
m_VeststringExact class for the vest slot. An empty value uses its candidate list.

m_Everyone.m_Items[] / m_Groups[].m_Equip.m_Items[] ​

OptionTypeDescription
m_ItemstringExact item class.
m_QuantityintNative item quantity. With 0, leaves the initial game quantity.
m_QuickBarintQuickbar slot starting at 1. With 0, leaves the item unassigned.
m_Attachmentsarray<string>Attachment classes created for the item.

m_Everyone.m_Primary[] / m_Everyone.m_Secondary[] / m_Groups[].m_Equip.m_Primary[] / m_Groups[].m_Equip.m_Secondary[] ​

OptionTypeDescription
m_ItemstringExact weapon class.
m_MagstringMagazine or ammunition class used when loading the weapon and creating spares.
m_MagsintNumber of spare objects of class m_Mag.
m_Attachmentsarray<array<string>>Groups of attachments. The module picks one class from each group.

Commands ​

/startingequipsetup ​

Clears the current character's entire inventory and applies the starting equipment selected for that player. Run it only when you intend to replace the current equipment. Requires Chat and StartingEquipSetup to be enabled.

  • Syntax: /startingequipsetup
  • Arguments: none.
  • Permission: command.startingequipsetup or root.
  • Example: /startingequipsetup

Permissions ​

Add command.startingequipsetup to the group's m_Permissions in Permissions to clear and reapply your own starting equipment through chat. The root permission also grants access.

Released under the MIT License.