Page 1 of 1

/trade

Posted: September 20th, 2013, 9:47 pm
by MaxJ2001
This is another command that would be useful for trading, and nobody would have to TP for stuff, which can be annoying because you have to wait 60 seconds between each tp.

Okay. Say I need 5 more gold blocks to finish off an addition to my house. I would be willing to trade fragmer 10 diamonds for the gold.

The command would look like this:
/trade <player you are trading> <item ID> <quantity> <item ID> <quantity>

Since the item item ID of a diamond is 264 and the item ID of a gold block is 41, to request a trade I would do:

/trade fragmer 264 10 41 5

On fragmer's screen, it would say:

MaxJ2001 would like to trade you 10 diamonds for 5 blocks of gold! This request will time out after 60 seconds.

How to accept the trade request?
/trade accept

Of course, there would be /trade deny as well.


Best Regards,
MaxJ2001

Edit by fragmer: Moved this post to the appropriate section ("SMP Server Questions & Suggestions")

Re: /trade

Posted: September 21st, 2013, 10:20 am
by FreeBro
This is not going to happen because:
- This would require a complete new plugin (smp is not like free build in which u can just code in new commands as u please).
- U can make chest shops to sell and buy stuff using the in game currency.
- U can use your in game currency to buy/sell basic items at spawn.
- A 60 seconds cool-down is not much so u can live with it.