Random Trader

$15.00

Sold by: imthenewguy

Random Trader – Shops will spawn randomly along the side of the road, stocked full of random goodies for your players to purchase for scrap, economics or server reward points!

Categories: , ,

Description

OOEU9yx.png

Random Trader

 

REQUIREMENTS

 

WORKS WITH

 

9ylCsdr.png

Random Trader is a plugin that spawns a random shop along the side of the road, and is loaded with a randomly chosen shop profile.

When a player interacts with the vending machine they are presented with randomly selected items from the shop profile, which are given random stock amounts and a random scrap/econ/SRP price.

The plugin allows for the minimum and maximum stock and price values to be set in the config, and allows for the number of items displayed to be adjusted.

 

The plugin comes with 4 loot tables by default:

  • Clothing
  • Weapons
  • Tools
  • Random items

 

The following shops are automatically added if you own the relevant plugins

 

Nkf3hmk.png

Installing the plugin is as simple as dropping some files inside of your oxide folders.

  1. Ensure CopyPaste and ImageLibrary are loaded on your server.
  2. Open the downloaded zip file.
  3. Navigate to the plugins folder inside of the zip file and drag the RandomTrader.cs file into oxide/plugins/ on your server.
  4. Navigate to the copypastefolder in the zip file. Drag the files inside of the copypaste folder into oxide/data/copypaste/ on your server
    If you d not have a folder called copypaste, reload the plugin and try again.

If you own Cooking and/or EpicLoot, both plugins will automatically create profiles for RandomTrader in your config.

 

X5xGNrD.png

Command: spawntrader
Usage: /spawntrader <profile name>
Example: /spawntrader weapons – will spawn a random shop with the weapons profile loaded.

Command: despawntrader
Usage: /despawntrader <profile name>
Example: /despawntrader weapons – will despawn the weapons shop if it is spawned.

Command: rtremovestoredata
Usage: /rtremovestoredata <profile name>
Example: /rtremovestoredata cooking – deletes the data for cooking from your config.

Command: rtfindnewshops
Usage: /rtfindnewshops
Example: /rtfindnewshops – Finds new shops that are not in the config and saves them to the config. Useful for forcing external plugins to load their shop profiles in (Cooking/EpicLoot).

Command: rtcheckpoints
Usage: /rtcheckpoints
Example: /rtcheckpoints – shows you the potential spawn locations for the shops.

 

Ko5z3qk.png

randomtrader.use - required to access the shop.
randomtrader.admin - required to manually spawn/despawn vending machines.

 

Config example: https://pastebin.com/MvcdBtTb

2 reviews for Random Trader

  1. 5 out of 5

    New B (verified owner)

    Very nice plugin! Install and enjoy. Perfect with EpicLoot for those who hunt complete sets !

  2. 5 out of 5

    klockwurk (verified owner)

    Awesome plugin!


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

Version 1.0.12 | Updated April 3, 2025
  • Fixed Fixed an issue when "How many items from the list should we randomly pick" was set to 0.
  • Fixed Fixed the time string in the message when a shop spawns.
Version 1.0.11 | Updated February 2, 2025
  • Updated Updated lang to use time string.
Version 1.0.10 | Updated October 3, 2024
  • Added Added custom currency support.
  • Updated Patched pooling
  • Updated Patched for Octobers update.
Version 1.0.9 | Updated July 7, 2024
  • Updated Updated for July's surprise patch.
Version 1.0.8 | Updated April 17, 2024
  • Added Added support for UINotify
  • Fixed Fixed the "Height adjustment of spawned prefabs" config option.
Version 1.0.7 | Updated September 21, 2023
  • Added Added support for custom icon colours based on the shop profile.
  • Added Added config option to disable chat announcements.
  • Added Added console commands for spawntrader and despawntrader.
Version 1.0.6 | Updated June 5, 2023
  • Fixed Fixed an exception error that was thrown when shop_items_picked was larger than the item list count
  • Added Added item.text field to ItemInfo class.
  • Added Added support for ItemPerks.
  • Added Added support for Cooking 2.0.
Version 1.0.5 | Updated May 4, 2023
  • Updated Patched for May update.
Version | Updated February 28, 2023
  • Added
Version 1.0.4 | Updated February 8, 2023
  • Updated Removed server saving from all pasted entities and their children (thanks WhiteThunder).
Version 1.0.3 | Updated February 8, 2023
  • Added Added a failsafe for despawning. Plugin will now save spawned net ID's to data if they have not been despawned, and will handle the despawn when the plugin is reloaded.
Version 1.0.2 | Updated January 2, 2023
  • Added Added GUIAnnouncements support
  • Updated Optimized the spawn locations.
  • Added Added option to disable profile so it does not spawn.
Version 1.0.1 | Updated October 26, 2022
  • Updated Optimized the code in some areas.
  • Fixed Fixed an issue with RandomTrader not initializing properly.
  • Added Added remote hosting for the json files so only the .cs file is required.

Discussions

There are no discussions yet.

Leave a reply

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

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