We have built custom interfaces in Minecraft on our JAVA server. First of all we have build a custom command “/Shop” that opens up the Market Shop. The interface is showing a market place where players can see trends and current price for the item where it’s possible to buy and sell resources. It is based on an agent in Microsoft Foundry that analyses the market and updates the value of PointCoins .

When the mouse hovers over one of the tradable item, the user can see information about the current price, price trends and available actions.
How it works
All the data is fetched from a wrapper API for Dataverse we deployed as an Azure Function.
Once we get all the information corresponding to historical price data, we process it to get the percentages and the time trend.
Here is a small code example showing how we create the cool chart:

Information in the interface
Price: shows the current value of the item.
Last hour (1h)/ last day(24h) changes (%): we perform some simple calculations over the historical data to see how prices changed over 1 hour.
Price Trend: it shows whether the price dropped down or raised up over the last six hours.
Left-click: Shows the current buy price for the item.
Right-click: Shows the current sell price for the item (bank always wins, as it’s 5% down the buy price).