Trade Machine
$15.00
Sold by: CopekAllow player to Sell/Buy – custom/default items .
For custom/default items.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
ABOUT TRADE MACHINE:
Allows players to sell/buy custom/default items. Players need to assign vending machines that they will use for trading items. One assigned machine per player can be placed anywhere in TC range. There are two ways to interact with the trade machine: with a command and with a button when a player opens the container of a vending machine. With the command, a player can sell/buy items from anywhere, with the button option only when they have opened the container of an assigned vending machine. Players need to put items in the container of an assigned vending machine to be able to sell them. If they remove an item from the vending container, the item will no longer be on sale. When buying an item, a player needs to have the cost for that item in his inventory. On successful buying, the item will be transferred to the buyer’s assigned vending machine.
SELL ITEM:
A player can only sell items that he has in the container of an assigned vending machine. When a player presses in UI on an item that he will sell, he will see a Description and Cost. In the Description, he can add whatever text, confirm it, and that text will be seen by the buyer when buying the item. In Cost, he can add cost items for that item, up to 6 items. They can use custom and default items for cost. There are categories for cost items, like “All”, “Custom”, “Weapons”, and so on. When they choose a cost item/items, they will need to type the cost amount of that item. After all that, when a player presses Sell Item, buyers will be able to see and buy it. When a seller sells an item to a buyer, he will see in the chat that he sold the item.
BUY ITEM:
When a seller adds an item for sale, the buyer will see the item, amount, description, and cost of that item. Items will be in categories “All”, “Custom”, “Weapons”, and so on. He will pay the cost from his inventory, and he will receive the item in his assigned vending machine.
CUSTOM/BLACKLISTED ITEMS:
In the config file, you can add Custom and Blacklisted items, by itemID and SkinID. For custom items, if you add them to the config, players will be able to put those custom items as cost items, and they will be able to sell/buy those custom items. For blacklisted items, if you add them to the config, you will block those items, so players can’t put those items as cost, and they will not be able to sell/buy them.
PERMISSION SYSTEM/COMMANDS:
trademachine.button – players will be able to see the trade button when they open the container of a vending machine. trademachine.command – players will be able to use the /trade command. Command /myvm – to assign a vending machine. Console command – cleartrade, This will wipe selling items and assigned machines.
DATA:
In the data file, you will see owners of assigned vending machines and what items are selling. When you wipe it with the console command “cleartrade”, all will be wiped… So no more assigned machines and no more selling items.
TRADE INFO TEXT FIELD:
When a player opens the UI of a trade machine, he will see text on the left side, you can edit that text to your needs. In the config file, it can be edited.
CONFIG :
{ //// Here you can edit text field .
“TradeInfo”: [
“You need to assaign vending machine”,
“with /myvm.”,
“You can have only one”,
“assaigned vending machine”,
“”,
“In selling item you can chose:”,
“Description – just type it and confirm it.”,
“Cost – up to 6 items. “,
“”,
“In buying items:”,
“You will see descripton what seller make.”,
“You will see cost for that item.”
],
“CustomItems”: [
{
“ItemId”: -1707425764,
“SkinId”: 3122790562,
“DisplayName”: “”
}
],
“BlacklistedItems”: [
{
“ItemId”: 550753330,
“SkinId”: 0
}
],
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added fixed compile error
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
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)
Reviews
There are no reviews yet.