Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Crysyn

      Only help if you can be helpful

      Hey All, A topic has come up of late in the IRC channel in regards to the general feel of the forums and the community that supports them. Things have progressed further than I would have liked with out this being addressed more publicly because I would much rather have snubbed this out sooner rather than later.. but I have been busy. Here is the general rule I would like people to follow: Wheaton's Law "Don't be a dick." Those of you from the IRC channel know that this is the only rule I ask people in there to follow and we generally have a good and lively time chatting about all manner of things. This is basic rule that just about everyone understands and I am going to expand it to the forums from here moving forward. If you can not help people in a helpful and polite manner then I simply ask you to stop. Now I generally take a back seat to moderating the forums as I like to participate in the suggestions forum fairly heavily at times and would rather do so as a forums user than a moderator. But I am also fairly well known for being the person who constantly puts their foot down and so I am stepping up and doing so on here. If you find yourself unable to respond to a message politely then I ask that you do not respond. This mostly focuses on the increasing level of hostility found within the Suggestion forum as well as the Server forum. I do not care if this is the 30th some odd time you have seen someone make the same suggestion. Or even if the new post on an older topic is one entry above the old one. I expect the members of this forum to respond politely to the user, new or old, and point to the older topic if it applies and even go the extra step to suggest they either add in new information or to summarize the outcome of the previous discussion based upon the new post's entry into it. That is what we are here for, that is why I close most topics instead of deleting them, so that they can be found and referenced down the road. The next topic is the slew of derailment attempts I have seen as of late. If you want to have fun and joke around that is what the off topic forum is for and pretty much anything goes there. I do not expect to read a suggestion thread and have to go through 3 pages of image memes people have shot back and forth. Quite simply this is a waste of my time to read and then have to clean up. Now for the summary. I am going to start taking a more active role, especially in policing the suggestion forum, and handing out warn levels to people whom I see doing this. These will be indiscriminate and applied not to just the first person who derails or is impolite on a topic or response, but to everyone whom follows the lead of that person. As I do not like doing things with out giving you all warning this post shall serve as that warning. If you have a desire to bring this topic up with me then I invite you to do so on the IRC channel. Lets raise the level of quality and grow the community. Let us not descend into the quality often found on the minecraft or league of legend forums. There is simply no need for that here. Be passionate about things, just do not be abusive.
    • Kittychanley

      Offline Servers

      Recently I've seen a few server listings showing up on the first page of the Servers forum that have been closed for an extended period of time, but have recently gotten a reply from a new member who didn't realize the server is offline. To help prevent this from happening in the future, it would be greatly appreciated if you could use the report function on the original post of any servers that have been confirmed as offline, so that the topic may be locked. If you are the admin of a server and plan on taking the server offline, please use the report function on the original post of your topic to let the TFC Staff know that the topic should be locked. If you are the admin of a server that has a locked topic, and would wish to bring the server back online, please use the report function on the original post of the topic to let the TFC Staff know that the topic should be unlocked. As always, please remember to follow rule #3 of the servers forum and update your topic title to contain the version of TFC that the server is currently running. You can do so by editing the OP, and then clicking on "Use Full Editor."
aleksey_t

[TFC 0.79.23+] Merchants Addon for TFC

137 posts in this topic

This addon allows trade using TFC containers.

The main idea is that player can setup warehouse at location and then setup one or more trade stalls that allows to trade goods from this warehouse.

The main advantage of this addon comparing to others trading plugins and mods is that it allows trade using TFC native containers (chests, log piles and etc)

How to setup warehouse and trade stall:

1) It is required to build warehouse as you usually do this (place chests, log piles and etc)

2) Then place here new block "Warehouse" which marks cube 7x7x7 with center in "warehouse" block as warehouse area

Posted Image

3) Place new "Stall" blocks at the place where you want to trade.

"Stall" allows to specify which warehouse is using, allows to specify prices and allows to do trade operations.

"Stall" should be placed not far than 10m from "Warehouse" block.

Posted Image

4) "Warehouse Book" is used for linking "Warehouse" and "Stall":

a. Make "Book and Quill" item

b. Go to "Warehouse" and right click it

c. Put "Book and Quill" to the slot

d. Click "Sign" button

5) Go to "Stall", right click it and place "Warehouse Book" to the "Warehouse" slot

When book is placed here - then "Stall" is considered as privated by player and only this player can change prices in the "Stall"

It is allowed to sell/buy items only when "Warehouse Book" is placed in "Stall".

At the top of "Stall"'s GUI panel is shown name of the user who put (owns stall) the book.

If "Warehouse" block is destroyed - then book(s) signed in this warehouse are considered as non-valid and should be re-signed.

6) If you want to trade heavy/large items (such as anvil, bellows, crucible, large vessel, barrel, wooden doors) which could not be placed in standard TFC container, then Storage Rack block should be used.

How to specify prices in the "Stall":

1) Right click it (stall should be non-owned or owned by you)

2) Then put to the appropriate slots "price" items and "goods" items

It is working in the same way as with usual containers with exclusion that items which you put to the slot not removed from player's hand.

3) Since food is measured in "oz" but not in items - then "Stall" is working with "oz" as well.

"Stall" is working with 10oz as 1 item - i.e. if you right click with food item on the slot - it will add 10oz of the food to the slot.

4) If you put "Warehouse Book" in the "Stall" - then right to the "Goods" slot will be shown sum of all accessible items in the warehouse.

For usual items will be shown number of items, for food will be shown total weight (minus decay).

5) If you want to specify limit on how much Stall could accept "Price Items" from player then click "minus" symbol and enter required value.

Zero or empty value means that limit is absent.

Posted Image

How to trade:

1) Right click on the "Stall" (or Sneak + Right click if you owner of this stall)

2) Click slot under "Goods" to buy specified item(s)

3) "Stall" will check if trade allowed (player has enough pay items, warehouse has enough goods to sell and enough free space for pay items)

If trade is allowed - then goods will be moved to the player's hand and pay will be moved from player to one of warehouse containers)

Note: "Stall"/"Warehouse" is not adding automatically new containers (log piles or ingot piles), but it could extend existing ingot pile or log pile and remove log pile or ingot pile when all items are sold from the pile.

Vessels, Barrels and Food

How it works when some small vessels present in warehouse:

1) Small vessels are working as usual container - payment item could be put into the small vessel by the mod

2) Small vessels are the highest priority containers for the food - this will be the first place to where mod will try to put food

3) Small vessel will be visible for Stall if it is stored in Chest, Barrel or Large Vessel

How barrels and large veessels are working:

1) Goods stored in barrel or large vessel are visible in Stall only if container is not sealed (exclusion is pickled food)

2) Pickled food is always visible in Stall even if barrel or large vessel is sealed

3) Barrel or large vessel could be used as storage for payments only if these containers are not sealed and there is no liquid in them

Money, coinage:

Starting from 1.0.22 it is allowed to mint coins.

Process of minting is based on Hammered Coinage

How to mint coin:

1) Craft Trussel, Anvil Die and Flan(s)

2) Make Trussel as active item and right click, will be opened window that allows to specify currency details:

Posted Image

- Name is specifying currency name.

- Die matrix is specifying what will be shown on the coin.

- Weight is specyfing how much coins can be made from 1 Flan.

3) After all parameters are specified - click Create button (this information cannot be edited later)

4) Place vertical log block in location where you want to have Anvil Die block (block for minting)

5) Take Anvil Die item to the hand and right click it to the top of the log block - will be created Anvil Die block

Posted Image

6) Right click Anvil Die block and mint coins:

- Put Hammer at the top slot

- Put Trussel at the next slot

- Put Flan at the next slot

- Click Mint button

7) If you need to look Trussel info or make copy of the currency to another empty Trussel - then take Trussel to the hand and right click

Coinage rules:

1) Each currency has unique key - this means that if someone will create Trussel with the same name, die and weight as yourth - coins made using these Trussels are not the same.

2) The only way to make Trussel which could make "the same coins" - is to make copy of this Trussel as described above.

3) Coins made using the same Die but from different metal - are considered as different coins

4) Flan (and thefeore coin) could be made from any metal or alloy of 0 - 5 tiers.

5) Trussel or Anvil Die could be made from any metal or alloy of 1 - 6 tiers.

6) Coin can be minted only if used Trussel and Anvil Die are made from the metal where tier of this metal is larger at least by 1 than Flan's metal.

Recipes:

Warehouse block could be made from:

- 8 Lumbers

- 1 Feather

Posted Image

Stall block could be made from:

- 7 Lumbers

- 1 Book and Quill

- 1 Wool Cloth or 1 Slik Cloth or 1 Burlap Cloth

Posted Image

Storage Rack block could be made from:

- 5 Lumbers

- 3 Sticks

Posted Image

Trussel item could be made from any ingot of 1 - 6 tier:

Posted Image

Anvil Die item could be made from any double ingot of 1 - 6 tier:

Posted Image

Flan item could be made from any ingot of 0 - 5 tier:

Posted Image

Addon supports following containers:

- Chest (TFC and vanilla)

- Log Pile

- Ingot Pile

- Barrel

- Large Vessel

- Small Vessel

- Tool Rack

- Storage Rack (TFC Merchants Addon)

- Cellar Shelf (TFC Cellars Addon) - additionally requires Merchants-Containers addon

- Crate (CustomNpcs mod) - additionally requires Merchants-Containers addon

Please let me know if you have any suggestions regarding addon.

Download:

Merchants-1.1.3

Merchants-Containers-1.0.1

Old versions:

Merchants-1.1.2

Merchants-1.1.1

Merchants-1.1.0

Merchants-1.0.33

Merchants-1.0.31

Texture Pack:

Nyssa's Touch of Realism

Changes:

1.1.3

- Updated to support TFC 0.79.23

1.1.2

Bug fixes:

- Fixed crash report when rendering Stall item in the hotbar right after user login

1.1.1

Bug fixes:

- Fixed recipe for Storage Rack

1.1.0

Bug fixes:

- Fixed crash when rendering Stall for Graphics=Fast

- Fixed crash when registering anvil recipes and OptiFine is not installed.

New features:

- Added new block StorageRack for storing/trading anvil, bellows, crucible, large vessel, barrel, wooden doors

- Texture for Stall and Warehouse now depends on wood from which it was crafted

- Merchants blocks in creative mode now placed on separate tab

- Added support for Cellar Shelf (TFC Merchants Addon) and Crate (CustomNpcs mod) via additional addon Merchants-Containers

1.0.33

New features:

- Items for sell now are displaying under the Stall

- If you have installed Waila - hint for Stall will show owner's name

1.0.31

Bug fixes:

- Fixed rendering issue - anvil die, stall and warehouse are invisible when placed at y=144 and chunk haven't solid blocks above 144

1.0.30

Bug fixes:

- Fix anvil recipes to support TFC 0.79.18

1.0.29

Bug fixes:

- Fix: Duplicate item on the client side when buying

1.0.28

- Updated to support TFC 0.79.17

- Lead now is working as Tier 1 metal (the same as copper)

1.0.26

New features:

- Added support for limits in Stall

- Stall now determine owner by UUID but not by IGN as previously

1.0.22

New features:

- Added money

1.0.15

Some bugs have been fixed.

New features:

- Added support for: Barrel, Large Vessel, Small Vessel and Tool Rack

- Log Pile now auto-extendable like Ingot Pile

1.0.10

Bug fixes:

- Fix: Stall incorrectly handles multiples of ingots traded

New features:

- Added support of Shift+Click for Stall GUI

Sources:

Merchants sources on GitHub

Merchants-Containers sources on GitHub

Feel free to include this addon to your modpack.

Other my addons:

Decorations Addon for TFC

Edited by aleksey_t
2

Share this post


Link to post
Share on other sites

You make a very usefull and great mods, you have eyes in TFC community and game needs, thanks.

but it is sad that almost few servers venture to use them to improve the gameplay. It is my opinion.

0

Share this post


Link to post
Share on other sites

We are in

 

You make a very usefull and great mods, you have eyes in TFC community and game needs, thanks.but it is sad that almost few servers venture to use them to improve the gameplay. It is my opinion.

We are installing the mod today, and we have created a new market area at Spawn where each town will have its own warehouse and trade shop.

0

Share this post


Link to post
Share on other sites

Addon have been updated to 1.0.10

Look at the Changes section for details.

0

Share this post


Link to post
Share on other sites

Would it be possible to add a coins or another form of currency to this? Something that server admins can spawn in to help facilitate trade?

0

Share this post


Link to post
Share on other sites

Yes, I'm planning to introduce money.

Below is what I'm planning:

1) it will be allowed to make coins from any metal/alloy using mint block

2) coin will be cheap (for ex. 1 ingot = 128 coins or 256 coins)

3) each mint block has unique key and when coin is produced - then coin will have unique key aswell

4) therefore coin made from the same metal but in different mints - will be not the same items (their NBT data differs)

5) therefore each nation/town/settlement/person can have unique currency

6) it will be allowed to specify currency name in the mint block

Also, I'm planning to make possibility to specify custom black-white texture for coin sign.

But not sure how easy this will be and if it will be possible at all.

Mod will not control prices, coinage policy and etc.

Players are free to make so much coins as they need and set such price as they need.

But I could propose the way on how I see this should work.

More detailes I will provide later when "coins" feature will be implemented.

For now I'm focused on adding support for other TFC containers in Stall-Warehouse.

0

Share this post


Link to post
Share on other sites

Cool, very interesting what you have planned. I look forward to it

0

Share this post


Link to post
Share on other sites

One of the things I think would be good is the ability to add permissions for friends. We use towny in our server and it would help if the mayor could add the assistants to the market.

0

Share this post


Link to post
Share on other sites

One of the things I think would be good is the ability to add permissions for friends. We use towny in our server and it would help if the mayor could add the assistants to the market.

I'm guessing this require to implement some interaction between mod and plugin.Look like this is doable, but I need first to investigate how plugins for CraftBukkit/Cauldron are working.But this will be done after already planned features will be completed.Also I can propose to introduce option to config file that allows for operators/admins to change prices in any Stall.
0

Share this post


Link to post
Share on other sites

Integration with Towny would be wonderfull, but I guess a simple friend system would solve the issue. I mean for a player to be able to add a friend to the warehouse system, so the friend can interact with the chests, to restock the sold items.

0

Share this post


Link to post
Share on other sites

> I mean for a player to be able to add a friend to the warehouse system, so the friend can interact with the chests, to restock the sold items.

Ahh, ok, I understood what you meant.

Mod is not controlling direct access to chests or piles - it working as usually - player could open chest if he/she granted permission for this by Towny plugin.

For example:

1) You claiming some plots (using Towny plugin) in your town Avalon

2) Then you build here a shop with one or more Warehouses and one or more Stalls

3) Then you create references between Warehouse and Stalls using "Warehouse Books"

And now - only you can open Stall in "Owner" mode (for setting/unsetting book and changing prices), but access to chests is working as previously:

a. You can use chests

b. Your friends can use chets

c. Other users who is in admin group could access chests

Therefore mod is controlling only who can change prices in the Stall(s), but interaction with chests is controlled by Towny plugin, Factions plugin and etc - as it was before mod was installed.

0

Share this post


Link to post
Share on other sites

That's great. So the mod is already perfect.

Thank you very much

0

Share this post


Link to post
Share on other sites

Addon have been updated to 1.0.15.

Look in the "Changes" and "Vessels, Barrels and Food" sections for details.

0

Share this post


Link to post
Share on other sites

Addong have been updated to 1.0.22.

Looks in the "Changes" and "Money, coinage" sections for details.

0

Share this post


Link to post
Share on other sites

I have tried to start coin minting on my server, but placing an anvil on a wood block (tried wrought iron anvil on douglas fir, then copper anvil on willow log) continuously crashes the player's game, and makes it impossible for them to log in. Another player then coming close to the anvil also continuously crashes the other player's game. The only solution we had was an admin in creative mode flying near it and breaking it from a distance. we tried placing the anvil in different locations, different anvil/log combinations, etc. Same result. We are on the suggested forge version, and newest TFC update, with Decorations, Merchants, and Simply sit mods on the server (All updated versions)

I have a copy of a crash log as well:http://pastebin.com/embed_js.php?i=tzzD82uz

0

Share this post


Link to post
Share on other sites

You need to provide crash log, either in spoiler tags or a pastebin link to it. No crash log means it didn't happen. If server can provide any relevant console logs that is helpful as well.

0

Share this post


Link to post
Share on other sites

I have tried to start coin minting on my server, but placing an anvil on a wood block (tried wrought iron anvil on douglas fir, then copper anvil on willow log) continuously crashes the player's game, and makes it impossible for them to log in. Another player then coming close to the anvil also continuously crashes the other player's game. The only solution we had was an admin in creative mode flying near it and breaking it from a distance. we tried placing the anvil in different locations, different anvil/log combinations, etc. Same result. We are on the suggested forge version, and newest TFC update, with Decorations, Merchants, and Simply sit mods on the server (All updated versions)

I have a copy of a crash log as well:http://pastebin.com/embed_js.php?i=tzzD82uz

 

That crash report shows that it's caused by NEI, and it also shows that you are using a very outdated version of NEI as well as CodeChickenCore, and the NEI plugin.

0

Share this post


Link to post
Share on other sites

Huh. I didn't use NEI for this though :(Oh well, I'll update it and see if that fixes it. Thanks!

0

Share this post


Link to post
Share on other sites

Hey aleksey. Don't know if is possible, but I would like to limit how much the market buys of one item. Like just because I am buying andesite does not mean I want someone to fill all my chests with it.

Once again thank you for this wonderful addon. 

0

Share this post


Link to post
Share on other sites

A possible brute force method, decide how many stacks you want, leave that number of slots empty, fill rest with non-andesite items.

0

Share this post


Link to post
Share on other sites

But the market checks all chests within the 7 x 7 area. So I would have to build one market for each resource. 

0

Share this post


Link to post
Share on other sites

Thank you for suggestion.

I will try to implement it for the next update.

0

Share this post


Link to post
Share on other sites

One of the things I like about this mod is because is a in the world place soo players have to haul the items to and from the Market, also they can trade for coins or exchange for goods.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now