NPC Shop

$18.99

Sold by: tofurahie

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

Categories: , ,

Description

EATURES:

  • Selling custom items with a modified skin and display name
  • Commands for sale as an item, allows you to use the command whenever the player wants, can be changed to instant use after purchase
  • Creating a trader with the right set of items
  • Players can check item description before they buy it
  • Refill system
  • 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]

https://www.youtube.com/watch?v=7A3bDUBIblY

Screen-063.png.e26f7de7256aa48d5bcc296e1ec8f4d7.png

Screen-064.png.e2804ce2da755cd6c683c43545859984.png

Commands:

permission for use commands and edit the npc shop – npcshop.admin

  • /settrader (use for create new trader)
  • /remtrader (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)

 

Hooks:

void OnNPCShopItemBuy(BasePlayer buyer, Item saleItem, Item priceItem) – called when player buys an item

 

Example of plugin config

My Discord Profile

2 reviews for NPC Shop

  1. 5 out of 5

    1M 1D10T (verified owner)

    I really like the simple ease of use for this. Thanks for fixing the movement when searching for items, that was really annoying, lol. Especially in NoClip. Easier for me to place than having to place a new vending machine every wipe, or having a huge mod for just one shop. I really like being able to fit them with whatever I am wearing to make them more unique and stand out.

  2. 5 out of 5

    magnumk (verified owner)

    Super easy to use and an absolute must-have for any PVE server or PVP.
    I use this alongside quests on my server, and it makes creating custom NPCs that sell custom items, whether for other custom items or using the in-game economy effortless. The plugin is actively maintained with continuous updates and great support. Highly recommended!


Only logged in customers who have purchased this product may leave a review.

Version 2.7.7 | Updated April 6, 2025
  • Added support for executing chat command when command contains "chat.say" when player trying to interact with NPC
  • Fixed Now you can't set 0 amount for lot item
Version 2.7.6 | Updated March 23, 2025
  • Added Executable command on player interact with NPC (configurable only in the config file for each npc)
Version 2.7.5 | Updated March 20, 2025
  • Updated Auto detect for ServerRewards and Economics
  • Added cooldown after player buy item [enable in the config file]
  • Added wipe limits for players you can set limits in for SaleItems in the npc shop UI
Version 2.7.4 | Updated March 7, 2025
  • Added Now you can choose between ServerRewards plugin and Economics plugin 
Version 2.7.3 | Updated February 7, 2025
  • Fixed Rust Update fix
Version 2.7.2 | Updated February 5, 2025
  • Fixed On Cloth change NRE
Version 2.7.1 | Updated February 5, 2025
  • Added Copy moved to center of the lot so it won't overlap  the Info button, also now you can copy all lots by 1 click Names of sale items wraps to the next line Added get cloth button so you can get all npc's cloth to your inventory
Version 2.7.0 | Updated February 5, 2025
  • Added display names for sale items (can be disabled in the config) held item for npc (added according to the same principle as clothes) copy and paste lots when you edit              
Version 2.6.11 | Updated January 19, 2025
  • Added Custom messages for npc traders so when player doesn't have permission you can customize the message which he will get
Version 2.6.10 | Updated January 18, 2025
  • Fixed custom display name won't apply
Version 2.6.9 | Updated January 3, 2025
  • Added Access permission for npc if you set the permission for the npc in the config[you can edit it only in the config file] players without the permission can't interact with him
Version 2.6.8 | Updated December 23, 2024
  • Fixed CanLootEntity NRE
Version 2.6.7 | Updated December 17, 2024
  • Fixed console NRE
Version 2.6.6 | Updated December 16, 2024
  • Fixed Use marker (when disable) now doesn't work after reload
  • Fixed NRE on plugin reload
Version 2.6.4 | Updated October 23, 2024
  • Fixed you could invite a bot in your team
Version 2.6.3 | Updated October 19, 2024
  • Fixed amount for items in the menu 
Version 2.6.2 | Updated October 17, 2024
  • Fixed Fix for custom monuments
Version 2.6.1 | Updated October 9, 2024
  • Added Now you can update trader's position by /settraderpos BotName
  • Fixed Fix for custom monuments
Version 2.6.0 | Updated October 6, 2024
  • Updated Major update [DELETE OLD CONFIG FILE]
Version 2.5.2 | Updated October 3, 2024
  • Fixed Rust update
Version 2.5.1 | Updated September 15, 2024
  • Fixed NRE in the console when you create a new npc vendor and try to edit it
Version 2.5.0 | Updated September 14, 2024
  • Added refill system
Version 2.4.3 | Updated July 23, 2024
  • Fixed vending npcs can be targeted by others npcs
  • Added is custom map setting
Version 2.4.2 | Updated July 6, 2024
  • Fixed Economics NRE
Version 2.4.1 | Updated July 5, 2024
  • Fixed NRE When server initialized
Version 2.4.0 | Updated June 15, 2024
  • Added description for items with skinID (you can add description in the config file)
  • Fixed animals targeting
Version 2.3.3 | Updated April 10, 2024
  • Updated Changes for editors (now if you have editor permission your UI will looks different from players so your keybinds won't interfer with search and e.t.c.
Version 2.3.2 | Updated April 6, 2024
  • Fixed not showing bot names
Version 2.3.1 | Updated March 17, 2024
  • Updated Disable radios for shop NPCs
Version 2.3.0 | Updated March 16, 2024
  • Added now if you are editor of the npc you will be freeze so you can search items without moving
  • Added "npcshopclear" in the server console will delete old vending machines and bots from previous versions
  • Fixed vending machines remain after server restart
  • Fixed bugs with UI
Version 2.2.10 | Updated March 15, 2024
  • Updated Changed prefab for traiders
  • Fixed UI bugs
  • Fixed when item use chat command
Version 2.2.9 | Updated March 12, 2024
  • Fixed sleeping bots after restart
  • Added
Version 2.2.8 | Updated March 8, 2024
  • Fixed markers on the map
  • Updated Limit for lots was removed (BEFORE INSTALL COPY AND SAVE YOUR LOTS FROM CONFIG)
Version 2.2.7 | Updated February 7, 2024
  • Fixed some items was hidden in the search menu
Version 2.2.6 | Updated February 7, 2024
  • Fixed amount modifier
  • Fixed sleeping vending bots
Version 2.2.5 | Updated February 6, 2024
  • Added Now if you increase the amount of goods you want to buy at a time you will be shown how much you will spend and how much you will get.
  • Fixed map markers
Version 2.2.4 | Updated February 5, 2024
  • Fixed markers would disappear if you spawned a new bot or enabled a marker for another bot.
Version 2.2.3 | Updated February 3, 2024
  • Added now you can disable markers for all bots or for unic in the vending bot UI (https://imgur.com/I5xvQLT);
  • Fixed "COMMAND ITEM" was changed to only for Sale instead of only for Price.
Version 2.2.2 | Updated February 2, 2024
  • Fixed NRE for hook OnEntityLoot
Version 2.2.1 | Updated February 2, 2024
  • Fixed NRE in the console
Version 2.2.0 | Updated January 17, 2024
  • Added Map markers
  • Added Support for ServerRewards and Economics plugins
  • Updated UI redesign
  • Fixed Bot display name
  • Fixed NRE in the console

58 thoughts on "NPC Shop"

Leave a Reply to RetroMaja Cancel reply

Your email address will not be published. Required fields are marked *

  1. Hey tofurahie,

    I have a question. The shop could only be used to buy things but it can’t be set up to sell things, right? We have a PVE server and offer players to sell weapons. At the moment I’m doing it with vending machines but setting those up every month is a pain the a**.
    Would it be possible to integrate the possibility to also sell items?

    • Hi,
      When you buy something in fact you at the same time sell, so you can customize the sale by type

      1 ak = 50 RP (or any other item)

      • Nice, thank you so much! Would be great to add as much as one like, I’m trying to safe a lot of vending machines, I offer all those items from DLCs, Twitch Drops etc. to buy. Those setting up is a pain in the ass.

      • Maybe just one more thing: Is it possible to reduce the range of the single traders where you get the “open” prompt? Because when two of them are in a row, it opens just one of them, if you know what I mean. I could send you a picture via Discord.

  2. Hey,
    thanks for the update! :)

    One problem: After server-restart it keeps adding a trader sleeper each time besides the regular placed ones.

  3. Hello,

    The NPC’s don’t seem to broadcast any items in the new map view, just shows the NPCs names a no items, any idea what the issue is, or requires an update?

  4. Hey, I tried the new update, unfortunately the traders still spawn sleepers everytime the server restarts. Could be the issue when you have more than one page of items maybe? I saw it generates vending machines under the map and there are also more than one for each trader.

    I have little suggestions for some future updates:
    – a search function
    – set the order in config to price, config or alphabetical as one prefer

  5. Can the trader sell custom skinned items?

    For example, Buried Treasure by Colon Blow reskins notes to make 3 or 4 different treasure maps. You can only put 1 in a vending machine because the base item is “note” and you can’t have more than 1 “note” per machine.

    Would this plugin allow, in this example, for me to set up a shop that sells all of the treasure maps or is it still limited to 1 entry per item type?

  6. Sorry, should have posted this with my other reply, but since this uses Monument Finder, do I have to set up a shop, for example, in every gas station, or will the shop appear in all gas stations if I put it in one?

  7. For some reason, each time we place an npc it despawns shortly thereafter. Are we missing some kind of timer setting somewhere?

    • Looks strange, it can be some other plugin, can you test it without other plugins, and it would be better if you write to my discord (@tofurahie)

  8. I really like the plugin, it’s very good.
    But I had to install the previous version. With the new version it doesn’t let me edit the new npc’s.
    Has this happened to anyone else?

    • Hello, sorry i didn’t saw your messages, i don’t know why but gmail put the lone design in the spam..
      I will fix it and upload the update today

  9. Error after update to 2.6.6

    I get this in console after update and the UI wont load for the shops.

    (05:18:26) | Failed to call hook ‘CanLootEntity’ on plugin ‘NPCShop v2.6.6’ (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.NPCShop.ShowUIBuyModifier (Oxide.Game.Rust.Cui.CuiElementContainer& container, BasePlayer player, System.UInt64 ID, System.Int32 index, System.Int32 modifier) [0x00081] in :0
    at Oxide.Plugins.NPCShop.ShowUILots (BasePlayer player, System.UInt64 ID, System.Boolean isAdmin) [0x004b3] in :0
    at Oxide.Plugins.NPCShop.ShowUIBG (BasePlayer player, System.UInt64 ID, System.Boolean isAdmin) [0x0063e] in :0
    at Oxide.Plugins.NPCShop.CanLootEntity (BasePlayer player, ResourceExtractorFuelStorage entity) [0x0017a] in :0
    at Oxide.Plugins.NPCShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a2] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

  10. This error is now showing up when I upgraded to the latest version — and some of the bots vanished.
    Failed to call hook ‘OnServerInitialized’ on plugin ‘NPCShop v2.6.8’ (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.NPCShop+c.b__26_0 (Oxide.Plugins.NPCShop+Lot x) [0x00000] in :0
    at (wrapper delegate-invoke) System.Func`2[Oxide.Plugins.NPCShop+Lot,System.ValueTuple`5[System.Int32,System.Int32,System.Int32,System.Int32,System.Int32]].invoke_TResult_T(Oxide.Plugins.NPCShop/Lot)
    at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].ToList () [0x0002a] in :0
    at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in :0
    at Oxide.Plugins.NPCShop.CreateShopMarker (Oxide.Plugins.NPCShop+ShopBase npcShop) [0x000fb] in :0
    at Oxide.Plugins.NPCShop.InitializeBots () [0x0016f] in :0
    at Oxide.Plugins.NPCShop.OnServerInitialized () [0x000c7] in :0
    at Oxide.Plugins.NPCShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

  11. After doing the latest update, we get this:
    Failed to call hook ‘OnServerInitialized’ on plugin ‘NPCShop v2.6.9’ (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.NPCShop+c.b__26_0 (Oxide.Plugins.NPCShop+Lot x) [0x00000] in :0
    at (wrapper delegate-invoke) System.Func`2[Oxide.Plugins.NPCShop+Lot,System.ValueTuple`5[System.Int32,System.Int32,System.Int32,System.Int32,System.Int32]].invoke_TResult_T(Oxide.Plugins.NPCShop/Lot)
    at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].ToList () [0x0002a] in :0
    at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in :0
    at Oxide.Plugins.NPCShop.CreateShopMarker (Oxide.Plugins.NPCShop+ShopBase npcShop) [0x000fb] in :0
    at Oxide.Plugins.NPCShop.InitializeBots () [0x0016f] in :0
    at Oxide.Plugins.NPCShop.OnServerInitialized () [0x0012e] in :0
    at Oxide.Plugins.NPCShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

  12. Still getting this error:
    Failed to call hook ‘CanLootEntity’ on plugin ‘NPCShop v2.7.3’ (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.NPCShop.ShowUIBuyModifier (Oxide.Game.Rust.Cui.CuiElementContainer& container, BasePlayer player, System.UInt64 ID, System.Int32 index, System.Int32 modifier) [0x00081] in :0
    at Oxide.Plugins.NPCShop.ShowUILots (BasePlayer player, System.UInt64 ID, System.Boolean isAdmin) [0x004b3] in :0
    at Oxide.Plugins.NPCShop.ShowUIBG (BasePlayer player, System.UInt64 ID, System.Boolean isAdmin) [0x006f7] in :0
    at Oxide.Plugins.NPCShop.CanLootEntity (BasePlayer player, ResourceExtractorFuelStorage entity) [0x00241] in :0
    at Oxide.Plugins.NPCShop.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a2] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

  13. I’d love to see a feature where an NPC (like a trader) can have multiple preset positions, and the NPC will randomly move between these positions based on a random time interval (configurable within a certain range).

    Each added position could be stored with a number prefix (e.g., Pos1, Pos2, etc.) so that the system can randomly choose among them during the rotation.
    There could also be config options like:

    MinTimeSeconds: minimum time before moving.
    MaxTimeSeconds: maximum time before moving.
    UseRandomTiming: toggle to enable or disable random rotation.

    Add a Position
    /newtraderpos
    – Starts position selection mode for the trader with the given name.
    – You must be looking at the NPC when running this command.

    /newtraderpos add
    – Adds the current location you’re looking at as a new position (Pos1, Pos2, etc.) for the trader selected.
    – Automatically numbers it in order if not specified.

    /newtraderpos add
    – Adds a new position explicitly as Pos , allowing custom indexing.

    Update an Existing Position
    /newtraderpos update
    – Updates position Pos with your current look direction/location.

    Remove a Specific Position
    /newtraderpos remove
    – Deletes position Pos for the trader.

    Or something like that :)

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product