Minecraft Grand Exchange Plugin
Example 1a
Player A puts in sell offer for 1 diamond for $1,200 at 12:00 PMPlayer B puts in a buy offer for 1 diamond for $1,500 at 12:05 PM
Player B instantly receives the diamond and also gets back $300 because the buy offer was placed after the sell offer, $1,200 was the lowest outstanding sell offer and $300 is the difference of the two offers.
Example 1b
Player A puts in buy offer for 1 diamond for $1,500 at 12:00 PMPlayer B puts in sell offer for 1 diamond for $1,200 at 12:05 PM
Player B instantly receives $1,500 for the diamond even though they only put it up for $1,200 because $1,500 was the highest outstanding buy offer.
Example 2a
Let’s say we have five outstanding buy offers that are waiting to be filled but are waiting for a satisfactory sell offer:Player A puts in buy offer for $500 at 12:00 PM
Player B puts in buy offer for $450 at 12:05 PM
Player C puts in buy offer for $525 at 12:10 PM
Player D puts in buy offer for $510 at 12:15 PM
Player E puts in buy offer for $525 at 12:20 PM
Finally, at 12:25, player F puts in a sell offer for $450 at 12:25 PM
In this scenario, who will end up buying the item from player F? The answer is player C because they have the highest offer. While Player E also has a matching offer that creates a tie for highest offer, Player C’s offer takes precedence because that offer is older.
Example 2b
Player A puts in sell offer for $500 at 12:00 PM
Player B puts in sell offer for $450 at 12:05 PM
Player C puts in sell offer for $525 at 12:10 PM
Player D puts in sell offer for $510 at 12:15 PM
Player E puts in sell offer for $450 at 12:20 PM
Player F puts in buy offer for $550 at 12:25 PM
In this scenario, who will end up selling the item to player F? The answer is player B because they have the lowest offer. While Player E also has a matching offer that creates a tie for lowest offer, Player B’s offer takes precedence because that offer is older.
Example of the Grand Exchange GUI upon opening it:
Each of the 9 chests represent a single buy OR sell offer that a player can utilize. For example, a player can have a max total of 5 buy offers and 4 sell offers simultaneously. Or in another scenario a player could have a total of 3 buy offers and 6 sell offers simultaneously.
Upon Lclicking(buy) the chat prompts the player to type an item/block name they want to buy in chat. Once the player does that, open GUI in the example picture below ↓
Upon Rclicking(sell) the plugin brings up the same gui as shown above^ Except instead of “Buying” its “selling”.
Estimated Market Prices are governed by the laws of supply and demand: If an item's demand is higher than supply, then its price will increase. If an item's supply is higher than demand, then its price will decrease. I need you to make the algorithm for this. I think the estimated price can be averaged in some way from previous transactions in the past month or week.
My budget for this is $40
Discord:Spotsindude#1089
- Type
- Requesting
Last edited:
