About Me
Better Markets is a Minecraft Survival Multiplayer Addon/Datapack that allows players in a server to sell their items in exchange for other items (bartering). It uses the Minecraft Villager Trading UI as FOUNDATION for the Market Listing Display And Interaction.
Features
-
Create Multiple Listings!
Players can create AS MANY LISTINGS as they want! They can also ask for a combination of at-most TWO ITEMS
(similar to how villagers can accept/ask for two items in exchange for a single item)
-
Infinite Market Length!
A server can have a NEARLY INFINITE NUMBER of Market Listings available for player to navigate through! This allows room for multiple offers for the same item! There is no restriction to applicable offers!
-
Item Bank!
Players can also buy items from offline players! Every purchase made is transferred to a virtual storage that can only be withdrawn by their owners! It returns the items bartered/traded for in a bundle which disappears after their contents are withdrawn!
How To ..
-
create a Market Listing?
Any and ALL players can create a Market Listing by running the command:
/trigger pm-createListing
. You will be sent a tellraw message instructing you on how to set-up your inventory, mainly your offhand and your hotbar's first two slots, Slot 0 and Slot 1. To create a listing,
- Put the item that you are willing to sell in your offhand.
- Put the items you want in your First Slot and Second Slot.
- Then, run the command
/trigger pm-createListing set 2
-
withdraw/receive items from a Trade/Barter?
All your trade items are stored in a "bank" type storage. To access the list of transactions you own, run the command
/trigger pm-itemBank
. Then, click on any of the given Bank Vault ID to receive your items in a bundle.
-
make a purchase/browse the PlayerMarket?
This datapack adds a custom structure to the worldgen which houses a villager with a custom tag "_listingvillager". If you load this datapack on a world with preloaded chunks, you should try generating newer chunks to find the structure that houses the "PlayerMarket Listing Villager" Any and all Market Listings made in the World/Server will be available as a "Trade" when right-clicking the above villager.