• 16

    posted a message on [SMP] Trade Booth Mod

    Trade Booth Mod




    Overview

    The Trade Booth Mod is two interactive blocks that facilitate 24 hour offline/away player trading, especially useful for servers!


    Download

    Trade Booth 1.7.10.2 - For Minecraft 1.7.10 - built on Forge 1272 (Experimental: May be buggy)
    Trade Booth 1.7.10.1 - For Minecraft 1.7.10 - built on Forge 1272 (Recommended)
    Trade Booth 1.7.2.3 - For Minecraft 1.7.2 - built on Forge 1121
    Trade Booth 1.7.2.2 - For Minecraft 1.7.2 - built on Forge 1121
    Trade Booth 0.6.4.5 - For Minecraft 1.6.4 - built on Forge 916
    Trade Booth 0.6.4.4 - For Minecraft 1.6.4 - built on Forge 916
    Trade Booth 0.6.4.3 - For Minecraft 1.6.4 - built on Forge 916
    Trade Booth 0.6.4.2 - For Minecraft 1.6.4 - built on Forge 916
    Trade Booth 0.6.4.1 - For Minecraft 1.6.4 - built on Forge 916
    Trade Booth 0.6.2.3 - For Minecraft 1.6.2 - built on Forge 804
    Trade Booth 0.6.2.1 - For Minecraft 1.6.2 - built on Forge 804
    Trade Booth 0.4.2 - For Minecraft 1.5.2 - built on Forge 710
    Trade Booth 0.4.1 - For Minecraft 1.5.2 - built on Forge 710
    Trade Booth 0.4 - For Minecraft 1.5.2 - built on Forge 710
    Trade Booth 0.3 - For Minecraft 1.5.1 - built on Forge 608
    Trade Booth 0.2 - For Minecraft 1.4.6 - built on Forge 486


    Installation

    1. Install Forge
    2. Place Trade Booth Mod download in \mods folder.
    3. Profit!


    Storage Block

    After placed in the world storage blocks are claimed by the first person to use them. Once claimed, they cannot be opened or destroyed by other players and are used to store items bought and sold in transactions. They are Creeper and Vanilla TNT safe (now configurable).






    Top Block

    Just like the storage block, the top block will be claimed by the first person who uses it after being placed in the world. The top block must sit atop a storage block owned by the same player to transact. It is also Creeper and Vanilla TNT proof (now configurable).

    The owner may move item stacks to any of the top block's 16 slots, which represent 8 different transaction possibilities. In each pair, the item in the left slot is the price for the item in the right slot.

    Customers may transact by simply left-clicking the right slot of any slot-pair. The block's logic will verify that the transaction is possible, by checking that the suitable items exist in both the storage and player inventories and that there is room for the items to transact.

    As of version 0.4.2, when the Top block transacts a trade, it will send out a redstone signal through the storage block.






    Admin Trade Booth

    The Admin Trade Booth has no crafting recipe. It works differently from the other Trade Booths; when it is set to make a transaction it will transact indefinitely. It will take items from players and deliver the products, but it does not move or take items from its storage, so you may leave it empty. This booth still requires that you place a storage block and access it at least once, even though it isn't otherwise used.


    Crafting Recipes


    • All four vanilla wood planks can be used to make a unique-textured Trade Booth.
    • Crafting recipes can be disabled in the configuration file.




    Distribution and Modpacks

    Anyone may freely host and distribute the Trade Booth mod without restriction, whether it be a part of a modpack or all by itself (don't even ask me). As you can read below, under the Source Code heading, you may modify the Trade Booth mod and distribute it freely as well. I certainly appreciate being given credit, but I will fault no one for omitting it.


    Source Code

    If it provides you any value, feel free to download the source code and tinker or distribute it as you please. Intellectual property and copyrights be damned! Copying is not theft!

    Github: http://github.com/aeroc/TradeBoothMod




    Configuration File


    • Explosion Resistance - By default this value is 9999, which prevents creeper and TNT explosions. By setting this value lower, you make it more likely that an explosion will break the trade booth blocks. You can set this value no lower than 0.
    • Redstone Transaction Duration - By default this value is 2, which is the shortest effective duration for a redstone signal. Setting it to 1 will probably prevent the redstone signal to occur. The value cannot be set lower than 1. The larger the duration value, the longer the redstone signal will stay on, however unpredictable results may occur if someone makes many quick transactions at a trade booth when this value is set larger than 2.
    • Disable Crafting Recipes (New in ver. 0.1.6.2) - Default is false. By setting to true you will prevent the mod from adding crafting recipes for the Trade Booth blocks.
    • Require ItemStack (New in ver. 0.1.6.2) - Default is true. If true, the Trade Booth top will require that you leave the item in the booth that you wish to buy and sell with. By setting to false, you can keep the items you wish to buy and sell with. Be aware that if you change this setting after your server players have already set up their booths, they may never be able to recover items when changing from true to false, and they may gain items that never existed if this setting is changed from false to true.

    More Information

    Please report bugs and suggestions to this thread.

    Trade Booth's official home is a modified TerraFirmaCraft Server: Roanoke 5 TFC Challenge Server

    If you improve my mod please let me know. Maybe I'll start using your improved version instead of my own. Enjoy!

    I am no longer maintaining this mod. I don't like where Minecraft or Forge development is headed. I'm leaving the mod in a buggy state and it requires version updating.

    That said, anyone is welcome to use the code. I reject the concepts of intellectual property, copyright and public/commons licensing. So feel free to copy, alter and distribute any of my work; you don't have to ask for permission. Have fun!

    Change Log

    TradeBooth 1.7.10.2 - January 25, 2015 (Experimental version: very little testing)
    • Added an Admin Trade Booth set for unlimited transactions (also found in 0.6.4.4-0.6.4.5 versions).
    • Added a sound each time a transaction is completed.
    • Added a second price slot for each transaction set.
    TradeBooth 1.7.10.1 - December 26, 2014
    • Updated for Minecraft 1.7.10 (Forge 1272)
    TradeBooth 1.7.2.3 - August 22, 2014
    • Fixed a duplication bug.
    TradeBooth 1.7.2.2 - June 25, 2014
    • Updated for Minecraft 1.7.2 (Forge 1121)
    • Tooltip on the Wool Decoration Block Slot in the Top Block. People didn't seem to know what that slot was for, so it should be clearer now.
    • Added some noise to the textures so they aren't so cheap looking. (Still not very good)
    • Does not have the admin TradeBooth blocks from version 0.6.4.4, these will be added later if someone requests them.
    TradeBooth 0.6.4.5 - October 20, 2014

    • Fixed a duplication bug. (Same as bug fix from TB 1.7.2.3)
    • Added TB 1.7.x TradeBoothTop textures.
    TradeBooth 0.6.4.4 - August 1, 2014
    • Any player who is in creative mode will be able to access the GUIs of both the storage and top booth blocks belonging to other players as if they were the owner. This means OPs now have a way to look inside other player's storage and even edit their trades (ex: remove them if they are sold out and have gone away from the server for a long time).
    • Tweaked the chest sound to differentiate it from normal chest sounds.
    • Added a set of admin TradeBooth blocks that transact regardless of whether the storage block has the appropriate items to conduct the trade or not. Items the admin TradeBooth receives are deleted, and it will supply endlessly whatever is being sold.
    TradeBooth 0.6.4.3 - March 10, 2014
    • Fixed transactions that failed to check an item's NBT data.
    TradeBooth 0.6.4.2 - November 7, 2013
    • Fixed incorrect mod version number, which was a bug in 0.6.4.1 (thinks it's still 0.6.2.1)
    TradeBooth 0.6.4.1 - November 1, 2013
    TradeBooth 0.6.2.3 - January 25, 2015

    • Added Admin Booths to this version (0.6.2).
    • Added feedback sound to transactions.
    • Added creative mode administration of other player's booths to this version.
    TradeBooth 0.6.2.1 - July 28, 2013
    • New Feature: Added 4 wood types for Trade Booths instead of just 1, all new textures.
    • New Feature: Added crafting recipes.
    • New Feature: Added Require ItemStack setting that allows Trade Booth tops to set up transactions without requiring the item be left in the Trade Booth (uses a ghost item). See Configuration File heading for more details.
    • New Feature: Trade Booth tops now have a wool slot at the top that allows you to decorate your Trade Booths with a wool cover.
    • Update Post - For more information.
    TradeBooth 0.4.2 - June 20, 2013
    • New Feature: When the booth transacts, it will send a redstone signal out the bottom block. The duration of the redstone signal is configurable in the mod's config file.
    TradeBooth 0.4.1 - June 15, 2013
    • Added configurable explosion resistance to config file. Default value is 9999, can be set as low as 0.
    TradeBooth 0.4 - May 24, 2013
    • Updated for Minecraft 1.5.2, Forge 710.
    • Hopefully fixed all render issues.
    TradeBooth 0.3
    • Updated for Minecraft 1.5.1, Forge 608.
    • Added block and item ID configuration file.
    TradeBooth 0.2
    • First public release.

    Donate

    Posted in: WIP Mods
  • 3

    posted a message on [SMP] Trade Booth Mod
    Trade Booth 1.7.10.2 Update Post



    Warning: This version is experimental and has had very little testing. Please avoid using on established servers and help identify bugs for me.



    The main things that I added:



    • Added an Admin Trade Booth set for unlimited transactions (also found in 0.6.4.4-0.6.4.5 versions).
    • Added a sound each time a transaction is completed.
    • Added a second price slot for each transaction set.




    So, please try to break the mod and let me know what happens.
    Posted in: WIP Mods
  • 1

    posted a message on [SMP] Trade Booth Mod
    Quote from Mattrock607»
    After the Bukkit plugin Quickshop died (along with half of the other economy plugins for Bukkit), I decided to switch all of the economy stuff over to Forge (we're using Cauldron, of course), and this is the only really viable shop mod I could find. I'm digging it, but I did have a few suggestions, if that's okay.

    • Add a second incoming trade box to the UI. This way, if you're using mods with multiple denominations of physical currency, you can use both. For instance, we're using the "Minecraft Money" mod, and I want to use this for my food shop. I can charge $3 for an item, but it would be awesome if I could instead charge $3.50 (3x $1 bills in one box, and 1x 50-cent coin in the other)
    • Add an administrative trade booth. It would have an unlimited supply, and can only be accessed by server ops. That's pretty much the only thing keeping us from going full-on Forge for our economy; we need to have shops set up with infinite supplies to sell certain items, but there's no good option for doing it

    Great suggestions. My modding time is limited, but if I get a decent chunk of time and motivation, I'll be sure to implement these. The admin trade booths were actually implemented in a previous version and for whatever reason were left out of the update to 1.7.
    Posted in: WIP Mods
  • 1

    posted a message on [SMP] Trade Booth Mod
    I updated for 1.7.10 with no changes to the code. Let me know if there are any problems.
    Posted in: WIP Mods
  • 2

    posted a message on [SMP] Trade Booth Mod
    ^^ Why all the doom and gloom? So far you're the first person to tell me it doesn't work in 1.7.10; all you have to do is ask and I'll get motivated to update. Give me a few days and I'll update for 1.7.10.
    Posted in: WIP Mods
  • 1

    posted a message on [SMP] Trade Booth Mod
    Here's an experimental version for 1.7.2 (built on Forge 1121, it probably won't work on earlier Forge versions):

    http://www.gamogora....oth.1.7.2.1.jar
    http://www.gamogora.com/mods/tradebooth.1.7.2.2.jar *Fixes a silly error from version 1.7.2.1

    It seems I got everything working right, but I have really only done testing in SSP. So test away and let me know if you find anything wrong with it. I'll release the source in around a week if no bugs are reported. Hopefully nothing is broken.

    I added a couple small features/tweaks:

    -Any player who is in creative mode will be able to access the GUIs of both the storage and top booth blocks belonging to other players as if they were the owner. This means OPs now have a way to look inside other player's storage and even edit their trades (ex: remove them if they are sold out and have gone away from the server for a long time).
    -Tweaked the chest sound to differentiate it from normal chest sounds.
    -Tooltip on the Wool Decoration Block Slot in the Top Block. People didn't seem to know what that slot was for, so it should be clearer now.
    -Added some noise to the textures so they aren't so cheap looking. (Still not very good)

    How many people would use an admin-only trade booth that dispenses unlimited amounts of a trade? And maybe counts how many unlimited transactions took place? I think someone suggested this earlier, and I was contemplating making it. It would work similarly to CustomNPC's NPC trades.
    Posted in: WIP Mods
  • 1

    posted a message on Keep Emerald Ore in Game Petition
    All ores should be spread out geographically (biomatically), it encourages exploration and trading on servers. There should be a greater strategy in selecting your first home. Instead the way it is now you can start pretty much anywhere and know that everything you need is right underneath you.
    Posted in: Recent Updates and Snapshots
  • To post a comment, please .