Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

3 Screenshots

  • 850
  • 3
  • 11.17 kB

About Custom Store Items

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"
UsableCustomItem.png.53bf70fb57a4689f8f962de0992f8bd4.png


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:

{
  "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:

{
  "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>!"
}

 

 Share


supreme's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

8,119 files sold to 713 customers and $118,353 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.