[Mod] Trading [trading]

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

[Mod] Trading [trading]

by GunshipPenguin » Mon Jan 04, 2016 19:47

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: 544
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] Trading [trading]

by amadin » Wed Jan 06, 2016 17:11

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).
Last edited by amadin on Wed Jan 06, 2016 19:22, edited 2 times in total.
 

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

Re: [Mod] Trading [trading]

by Nathan.S » Wed Jan 06, 2016 17:28

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
 

Kilarin
Member
 
Posts: 712
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Trading [trading]

by Kilarin » Wed Jan 06, 2016 18:02

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

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

Re: [Mod] Trading [trading]

by Krock » Sun Jan 10, 2016 09:42

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

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

Re: [Mod] Trading [trading]

by SaKeL » Sun Jan 10, 2016 23:29

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: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [Mod] Trading [trading]

by Sokomine » Fri Mar 11, 2016 04:41

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: 1258
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk

Re: [Mod] Trading [trading]

by twoelk » Fri Mar 11, 2016 11:56

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: 807
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Trading [trading]

by Nathan.S » Fri Mar 11, 2016 20:24

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 » Fri Mar 18, 2016 14:45

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.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 4 guests