About NPCShop
QuoteNow 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
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 } } ] } ] }