In today’s video I’m going to show you how to make a scoreboard shop in Minecraft so you can buy and sell items in the game using command blocks hello everyone and welcome to video my name is Dan or via command today in this video I’m going to show you how to make a Minecraft scoreboard shop using command blocks and scoreboards it’s very simple only uses these command blocks here and a few extra commands as well so first of all what you need to do is you need to set up your scoreboard and to do this you can type into the chat and follow me In command now I put the commands in command blocks but you can just use them in chat the reason they’re in command blocks is just so I can show them to you easier so the first command you need is slash scoreboard objective add money dummy and this will cravate your Scoreboard objective so type that in the chat and then the next two are to set the display of the money so this will basically mean that you’ll be able to set money so it can display next to your name in the pause menu and also show in-game underneath your name for other Players so slash scoreboard objective set display money list ascending or the same thing depending on the order you wanted to be and again type that one in the chat and then the other one is slash scoreboard objective set display and then below name and that will set it Below your name is well in-game so you want to do both of those now if you want to give yourself some money for testing purposes you can do so by using this command slash scoreboard a player adds @p up money and then the amount of money You want to add and that will just add some more money to your scoreboard for you and then this is how the shop works so you can buy diamonds and you can sell diamonds as well so you can keep doing that you can keep buying keep buying Keep buying and keep selling and selling and selling however this does not work if you don’t have the money to buy or the money to sell so if you want to buy even I’m going to sell this will no longer work so the command blocks for This all you need to do is have these command blocks and these are the things that do need to be in command blocks you can’t do these ones in the chat you’ve gotta be in command blocks so the first command is /scoreboard players test @p money and then your price so in this Case it’s 500 the next one is /scoreboard players of the move @p 500 and the next one is give diamonds of /give P diamonds so this is for buying items so basically what happens here is when you hit the button these free command blocks will work the first command block Can just be a normal command block in these redstone to activate and the opportunity to be conditional chain command blocks which need to be always active so that’s uh buying items now for the selling so for selling items it’s slightly easier only requires two command blocks rather than the three so Firstly what you want to do is slash clear @p for the closest player and then the item the data value of the item and then the amount so in this case it’s diamond zero one and then what you need to do is give the player the money so This is a command block of that again it’s a chain command book it’s conditional and it’s always active and the command you need is /scoreboard player adds @p money and in the amount of money you need so instead of removing it which on this side you need to remove Money on that side you need to add money so they’re very similar however this one does require another command block to this one as you need to test to make sure that the even person has enough money to buy them so this is how you Make it you can buy you can sell items like this now if you have any questions about this do be sure to let me know them in the comment section down below the cool thing about this is it’s easily expandable and you can also add more Command blocks to make it to wire you can have ever messages if it doesn’t work if like for example you have enough money you can set error messages and different errors for stuff like that however that’s very complicated I wanted to keep it very simple today so I’m Gonna leave all the command blocks in the description down below and like I said earlier these command blocks here can be done in chat where is the ones behind the shop need to be done with the shop and as an extra detail you can also add into the item frames like I Have for what each of the items are like you can buy one of diamonds for five hundred and one diamond for 450 one thing I do want to point out is that you need to make sure that the amount you sell the item for is less than the Amount of you buy the item for because otherwise it could be a duplication glitch for example if you could buy a diamond for six hundred dollars and then you could sell with I’m at seven hundred and fifty dollars you’d be making one hundred and fifty dollars every single time you sell And buy a diamond because of the way that this works so you need to make sure that the amount that you buy an item for is higher than the amount that you can sell the item for because this way you will lose money every time you sell instead of gaining money and therefore It won’t be a duplication glitch hopefully that makes sense like I said if you have any questions and let me know them in the comment section down below thank you very much for watching and I’ll see you later good bye Video Information
This video, titled ‘How To Make a Command Block Shop In Minecraft Xbox/PE’, was uploaded by VIPmanYT on 2019-08-22 16:05:00. It has garnered 90757 views and 1733 likes. The duration of the video is 00:04:52 or 292 seconds.
In this video I show you how to make a command block shop in minecraft. This custom command block shop works for all versions of minecraft bedrock edition, mcpe, xbox one, switch and windows 10..This command block shop is simple and uses scoreboards to implement a money system. hope you Enjoy!
Commands /scoreboard object add money dummy /scoreboard objective setdisplay Money list ascending /scoreboard objective setdisplay Money belowname ascending
Buy Impulse /scoreboard players test @p Money 500
Chain conditional /scoreboard players remove @p Money 500
Chain conditional /give @p diamond
Sell Impulse /clear @p diamond 0 1
Chain Conditional /scoreboard players add @p Money 450
Change the commands to fit the items and prices you are trying to buy or sell.
🔔 Find my content helpful and entertaining? Subscribe for more free Minecraft videos! https://www.youtube.com/channel/UC3S-zXyxn46PiIcqlLKzJ_Q?sub_confirmation=1
🔥Join my discord server to meet other subscribers, talk to me and get updates on what’s going on with the channel https://discord.gg/ZzxEjgg
►Follow me on twitter – https://twitter.com/VIPmanYT
✅Recommended playlists:
New to VIPmanYT, start here! https://www.youtube.com/watch?v=jw-pkAb0Qy4&list=PL7TR2F28qaw54wvg4l6ffIvB9JO6nBKnv&index=2&t=0s
How to get mods on Minecraft Xbox One https://www.youtube.com/watch?v=jSkmWzDplxI&list=PL7TR2F28qaw5DwKzIfgqkJhpI7E2XPMcM&index=2&t=0s
All minecraft ps4 Bedrock edition news and discussion videos https://www.youtube.com/watch?v=AwnhxlAExPo&list=PL7TR2F28qaw61FEcajvwX_wHO4pMmJULQ&index=4&t=0s