[Mod] Trading [trading]

Post Reply
User avatar
GunshipPenguin
Member
Posts: 94
Joined: Tue Jan 28, 2014 00:38
GitHub: GunshipPenguin
IRC: GunshipPenguin
In-game: GunshipPenguin
Location: Vancouver, BC

[Mod] Trading [trading]

by GunshipPenguin » Post

Allows players to trade items with each other.

To request a trade, you must have the "trade" privilege. Upon invoking the /trade <player_name> command, the player with name player_name will receive a message informing him that you have requested to trade with him. If he then issues the /accepttrade <your_name> command, a formspec will be shown to you both allowing you to trade with each other.

This mod may be buggy at this point. Please report all problems to me and I'll do my best to fix them.

License: CC0
Dependencies: None

Github: https://github.com/GunshipPenguin/trading

Image

amadin
Member
Posts: 549
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] Trading [trading]

by amadin » Post

.
Last edited by amadin on Wed Dec 18, 2019 20:08, edited 3 times in total.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Trading [trading]

by Nathan.S » Post

A trade table could be cool, where both players would click on a node which would bring up the trade formspec for both players.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Kilarin
Member
Posts: 894
Joined: Mon Mar 10, 2014 00:36
GitHub: Kilarin

Re: [Mod] Trading [trading]

by Kilarin » Post

I had thought about making something very similar to this. This could resolve a lot of player conflicts.

User avatar
Krock
Developer
Posts: 4648
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Trading [trading]

by Krock » Post

Interesting idea. There is already a trade node in a money mod, but this one allows to trade without any additional material. Well done!
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
SaKeL
Member
Posts: 742
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Trading [trading]

by SaKeL » Post

I am using this one viewtopic.php?id=3751 and works great. Would be nice if it could get some enhancement though.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Trading [trading]

by Sokomine » Post

amadin wrote: If it is possible will be good if trading request will show if the first player hover center of the screen (aim) on the second player and press some button, for receive by him a message about request to trade with him (instead of chatcommand /trade). For accepting to opening trading formspec second player must hover sight (aim) on first player and pressing some other button for accept (instead of chatcommand /accepttrade).
Yes, beeing able to right-click the target player and then open the trade formspec might be a good option for the player who wishes to trade. Maybe the target player could still receive a text message and then just open his inventory - which could present a "trade" button in case there's someone who started a trade request recently.
A list of my mods can be found here.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] Trading [trading]

by twoelk » Post

Nathan.S wrote:A trade table could be cool, where both players would click on a node which would bring up the trade formspec for both players.
like the barter-tables from the Currency and economy mod by Dan Duncombe?

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Trading [trading]

by Nathan.S » Post

Yep, actually exactly like those. I didn't know about that mod at the time of my original post, though I've become acquainted with it now.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Sz4m4nPL
New member
Posts: 3
Joined: Wed Mar 02, 2016 21:46

Re: [Mod] Trading [trading]

by Sz4m4nPL » Post

Changing options in the settings from "1" to "10" and still getting information "you do not have the trade privilege" Why is it I'm doing something wrong? Sorry for poor English.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 14 guests