Jump to content

NPCShop 2.3.1

$18.99 $15.19
   (4 reviews)
Message added by tofurahie,

PLEASE BEFORE INSTALL NEW VERSION SAVE YOUR OLD LOTS FROM CONFIG FILE

1 Screenshot

  • 42.3k
  • 327
  • 81.89 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)
  • "npcshopclear" in the server console will delete old vending machines and bots

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,
  "Use vending npc markers": true,
  "Permission - discount [0 - 100]": {
    "npcshop.vip": 15
  },
  "Bots": [
    {
      "ID": 7289465,
      "Display Name": "Bs",
      "Spawn positon": {
        "x": 1514.18677,
        "y": 15.9957361,
        "z": 1410.688
      },
      "View angel": {
        "x": 18.80824,
        "y": 111.952576,
        "z": 9.019342E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 4877236,
      "Display Name": "Bio",
      "Spawn positon": {
        "x": 1517.3158,
        "y": 15.64519,
        "z": 1410.88184
      },
      "View angel": {
        "x": 19.6207943,
        "y": 48.0075645,
        "z": 0.0
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 9936065,
      "Display Name": "Bomj",
      "Spawn positon": {
        "x": 1520.74915,
        "y": 15.5158749,
        "z": 1409.17627
      },
      "View angel": {
        "x": 5.28244448,
        "y": 277.046753,
        "z": 0.0
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 110447,
      "Display Name": "Pos",
      "Spawn positon": {
        "x": -11.7300205,
        "y": 0.231124878,
        "z": -45.42901
      },
      "View angel": {
        "x": 7.314296,
        "y": -187.632568,
        "z": 0.0
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 2530024,
      "Display Name": "POs",
      "Spawn positon": {
        "x": -13.5025492,
        "y": 0.138759613,
        "z": -48.21996
      },
      "View angel": {
        "x": 11.7260876,
        "y": -165.863831,
        "z": 0.0
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab",
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 2237910,
      "Display Name": "Bs",
      "Spawn positon": {
        "x": -491.22995,
        "y": 82.51776,
        "z": 308.741852
      },
      "View angel": {
        "x": 9.171886,
        "y": 9.865152,
        "z": 1.08103862E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": []
    },
    {
      "ID": 6185384,
      "Display Name": "Skibidi",
      "Spawn positon": {
        "x": -504.626221,
        "y": 77.62634,
        "z": 338.4094
      },
      "View angel": {
        "x": 22.47469,
        "y": 46.1657867,
        "z": -9.239489E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": true,
      "Clothes [shortname and skinID]": {},
      "Lots": [
        {
          "Item for sale": {
            "Shortname": "stones",
            "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "wood",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        }
      ]
    },
    {
      "ID": 1502957,
      "Display Name": "Bobs",
      "Spawn positon": {
        "x": -503.3553,
        "y": 78.513916,
        "z": 337.199432
      },
      "View angel": {
        "x": 23.2874718,
        "y": 17.3408489,
        "z": -9.294971E-07
      },
      "Monument prefab [empty if the bot was not created in the monument | required MonumentFinder plugin]": null,
      "Use vending npc marker": false,
      "Clothes [shortname and skinID]": {},
      "Lots": [
        {
          "Item for sale": {
            "Shortname": "ammo.rocket.mlrs",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "ammo.rocket.mlrs",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "stones",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "wood",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "mlrs",
            "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": "wood",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "stones",
            "SkinID": 0,
            "Amount": 25,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "wood",
            "SkinID": 0,
            "Amount": 10,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "stones",
            "SkinID": 0,
            "Amount": 25,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "wood",
            "SkinID": 0,
            "Amount": 25,
            "Command": null,
            "DisplayName": null
          }
        },
        {
          "Item for sale": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 265,
            "Command": null,
            "DisplayName": null
          },
          "Price item": {
            "Shortname": "money",
            "SkinID": 0,
            "Amount": 5,
            "Command": null,
            "DisplayName": null
          }
        }
      ]
    }
  ]
}
  • Like 5
  • Love 1

tofurahie's Collection

User Feedback

1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

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.