Jump to content

13 Screenshots

  • 858
  • 6
  • 28.07 kB
 Share

About Random Trader

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

  • Love 1
 Share


User Feedback

354.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

24.4k

Files Sold

Total number of files sold.

380.2k

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.