Jump to content

Portable vehicles

Closed 1.0.13

Stampy
  • in Shop

How do i make a new Category  like at the top called *Popular* & im not sure as i havent seen how to do this via both plugin but how do i make it so that players can buy the Portable vehicles they have commands like this:

portablevehicles.give $player.name horse

i have tried this and it dosent give me any items 

Share this comment


Link to comment
1 minute ago, Stampy said:

ok and do i set this to command? and how do i make a category for it at the top?

Yes. Just add net category in config 🙂

Share this comment


Link to comment

in the config i only see this and i dont know what it means "NPC Shops (NPC ID - shop categories)": {
    "1234567": {
      "Categories (Titles) [* - all]": [
        "Tool",
        "Food"
      ]
    },
    "7654321": {
      "Categories (Titles) [* - all]": [
        "Weapon",
        "Ammunition"
      ]
    },
    "4644687478": {
      "Categories (Titles) [* - all]": [

 

Share this comment


Link to comment

 

  },
  "Shop": [
    {
      "Enabled": true,
      "Title": "Popular",
      "Permission": "",
      "Items": [
        {
          "Type": "Command",
          "ID": 0,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "portablevehicles.give %steamid% horse",
          "Plugin": {
            "Hook": null,
            "Plugin Name": null,
            "Amount": 0
          },
          "DisplayName (empty - default)": "",
          "ShortName": "",
          "Skin": 0,
          "Amount": 1,
          "Price": 100.0,
          "Sell Price": 100.0,
          "Buy Cooldown (0 - disable)": 0.0,
          "Sell Cooldown (0 - disable)": 0.0,
          "Discount (%)": {
            "shop.default": 0,
            "shop.vip": 10
          }
        }
      ]
    },
    {
      "Enabled": true,
      "Title": "Attire",
      "Permission": "",
      "Items": [
        {
          "Type": "Item",
          "ID": 0,
          "Image": "",
          "Title": "",
          "Command (%steamid%)": "",

 

Share this comment


Link to comment
Just now, Stampy said:

ok thanks and i just have to do that for all the items i add?

 

Just add them to this category

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • 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.