Jump to content

NPCShop 2.2.7

$18.99 $14.99
   (4 reviews)

1 Screenshot

  • 39.9k
  • 281
  • 74.98 kB

depends on

About NPCShop

Quote

Now you can create traders with the items you want to buy and sell

Commands:

  • /settrader <BotName> (use for create new trader)
  • /remtrader <BotName> (use for remove trader by his name)
  • /newtraderpos (look directyl at the bot) then /newtraderpos update (use on new position) or /newtraderpos cancel (if you unselect the bot)

FEATURES:

  • Creating a trader with the right set of items [copy your cloth to trader]
  • Players can see marker on the map to check what the bot can sell them
  • Local positions for Monuments (after wipe you don't need to change positions anymore) [Dependent on MonumentFinder
  • Friendly setup UI

Screenshot2024-01-17162244.png.40764c20fa944fd2d3d1d66a26e2557b.png

Screenshot2024-01-17162252.png.6e42accbf6e2e7dbdc475c3df4faefc2.png

API [for developers]:

void OnNPCShopItemBuy(BasePlayer buyer, Item saleItem, Item priceItem)

Config:

{
  "Auto reload [If you change the config and save the file the plugin will reload itself]": true,
  "Bot spawn command": "settrader",
  "Bot remove command": "remtrader",
  "Bot change position command": "newtraderpos",
  "Spawn|Edit|Remove permission": "npcshop.admin",
  "When you create a bot, it copies your clothes": true,
  "Permission - discount [0 - 100]": {
    "npcshop.vip": 15
  },
  "Bots": [
    {
      "ID": 4297011,
      "Display Name": "Pop",
      "Spawn positon": {
        "x": -4.301388,
        "y": 0.249885559,
        "z": 5.49472761
      },
      "View angel": {
        "x": 10.9714317,
        "y": 286.4632,
        "z": 4.34834647E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
      "Clothes [shortname and skinID]": {},
      "Lots [max 6]": [
        {
          "Item for sale": {
            "Shortname": "ammo.pistol",
            "SkinID": 0,
            "Amount": 12,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 5,
            "Command": "0",
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "stones",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "wood",
            "SkinID": 0,
            "Amount": 5050,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "rifle.ak",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 1,
            "Command": null,
            "DisplayName": null
          }
        }
      ]
    },
    {
      "ID": 2163290,
      "Display Name": "Jackson",
      "Spawn positon": {
        "x": -6.079179,
        "y": 0.249927521,
        "z": -0.4676413
      },
      "View angel": {
        "x": 6.037121,
        "y": 316.617157,
        "z": -1.07316879E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
      "Clothes [shortname and skinID]": {
        "deer.skull.mask": 0,
        "bone.armor.suit": 0
      },
      "Lots [max 6]": [
        {
          "Item for sale": {
            "Shortname": "ammo.pistol",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "wood",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "stones",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 122,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "ammo.rocket.mlrs",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 25,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "rifle.ak",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "scrap",
            "SkinID": 0,
            "Amount": 1000,
            "Command": null,
            "DisplayName": null
          }
        }
      ]
    }
  ]
}
  • Like 5
  • Love 1

tofurahie's Collection

User Feedback

1m

Downloads

Total number of downloads.

5.3k

Customers

Total customers served.

75.3k

Files Sold

Total number of files sold.

1.4m

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.