Custom Store Items allows you to give any custom item you want to your players via a command
Command:
customstoreitems.give playerName/playerId Usable/Deployable skinId amount name
Example:
customstoreitems.give supreme Deployable 1856165291 1 "Scrap Helicopter"
customstoreitems.give supreme Usable 2307929123 1 "VIP 30 Days"
The command can be used in Server Rewards/Tebex or via console in order to give the custom item to any player!
You can create a custom item that can be either placed or used/consumed, both can trigger a special command
After creating the item with a specified skin id you will have to add it to the configuration
Configuration:
Command:
customstoreitems.give playerName/playerId Usable/Deployable skinId amount name
Example:
customstoreitems.give supreme Deployable 1856165291 1 "Scrap Helicopter"
customstoreitems.give supreme Usable 2307929123 1 "VIP 30 Days"
The command can be used in Server Rewards/Tebex or via console in order to give the custom item to any player!
You can create a custom item that can be either placed or used/consumed, both can trigger a special command
After creating the item with a specified skin id you will have to add it to the configuration
Configuration:
JSON:
{
"Deploy effect when deploying the custom item": "assets/prefabs/misc/halloween/lootbag/effects/loot_bag_upgrade.prefab",
"Unwrap effect when unwrapping the custom item": "assets/prefabs/misc/halloween/lootbag/effects/gold_open.prefab",
"Custom Items (Skin Id and their settings)": {
"1": {
"Custom Item Reward Type (Default/Spawn)": "Default",
"Command to run after using the custom item (Leave empty if not needed)": "sr add {playerId} 100",
"Item to spawn (Prefab) (Only works if the Item Reward Type is set to Spawn)": ""
},
"1594245394": {
"Custom Item Reward Type (Default/Spawn)": "Spawn",
"Command to run after using the custom item (Leave empty if not needed)": "",
"Item to spawn (Prefab) (Only works if the Item Reward Type is set to Spawn)": "assets/bundled/prefabs/static/recycler_static.prefab"
},
"1856165291": {
"Custom Item Reward Type (Default/Spawn)": "Spawn",
"Command to run after using the custom item (Leave empty if not needed)": "",
"Item to spawn (Prefab) (Only works if the Item Reward Type is set to Spawn)": "assets/content/vehicles/scrap heli carrier/scraptransporthelicopter.prefab"
}
}
}
Language:
JSON:
{
"Unwrap": "You have unwrapped <color=#acfa58>{0}</color>!",
"Deploy": "You have successfully deployed <color=#acfa58>{0}</color>!",
"ReceivedItem": "You have received <color=#acfa58>{0}</color>!"
}
More Images: