Server_Trading - Exchange items

Author Topic: Server_Trading - Exchange items  (Read 2323 times)

This is a nifty little mod I made on commission to someone. It's been about 11 months since it was commissioned, which I figure should have been long enough for them to capitalize on the uniqueness. I have a number of mods like this that I will be releasing soon.

This mod lets players exchange items after first offering the items they want to trade and then agreeing to the trade.

Commands:
/trade [name] - Send a trade offer
/acceptTrade - Accept a trade offer
/offer [slot number] - Offer an item to trade by specifying an inventory slot number.
/confirmTrade - When both parties have done this, exchanges the offered items.
/declineTrade - Declines a trade offer or ends a trade in progress.


Amazing! needed that! Could you also add something to disable/enable it quickly and to restrict certain items?
« Last Edit: August 27, 2016, 10:32:53 AM by MrLoL² »

Amazing! needed that! Could you also add something to disable/enable it quickly and to restrict certain items?
Updated the file. Added pref $pref::server::trading::enabled, if set to false the /trade command will always fail.

Item restrictions, maybe later.

Would it be possible to have it work with HatMod?

You should add a pref to make it so that you can only trade with another player when you're near them.


Pecon has once again made us all stuff bricks through sheer awesomeness.

Add some VCE events with this and I might download this awesome thingie
Pecon has once again made us all stuff bricks through sheer awesomeness.

Also how is this a brick
nvm im dumb
« Last Edit: August 28, 2016, 09:46:19 AM by Potatoh »