Minecraft Blogs / Tutorial

How to make a shop in minecraft

  • 4,140 views, 0 today
  • 3
  • 1
  • 3
Dudamesh's Avatar Dudamesh
Level 62 : High Grandmaster Senpai
73
This is Outdated Please visit this tutorial instead for Version 1.13 Minecraft!





First of all Turn on Cheats

Then type
scoreboard objectives add dummy Name of Virtual Money

You can change dummy to totalKillCount or playerKillCount

then type
scoreboard objectives setdisplay sidebar Name of Virtual Money


then depending on your objective (dummytotalKillCountplayerKillCount)
it will add 1 to your money

Then how to make the Shop
First make a Wall about 1x3x3
then make a button

make a command block with this command in there
/scoreboard players remove @p[r=5,score_a_min=b] a b
a= Name of Virtual Money
b= How much
How to make a shop in minecraft

then make another one command block with this in it
/give @p[r=5,score_a_min=b] c d
a= Name of Virtual Money
b= How much
c= what item (ex: minecraft:diamond_sword)
d= How many items (If you don't put any number it will auto-choose 1
How to make a shop in minecraft

Then hook both of the command blocks in the button
Then if you have enough Money for the thing you will buy it will give you it :D

Notes:

Might add a new player in the sidebar: @p[r=5,score_a_min=b], If it did remove "r=5," on the command blocks

You will not receive any items if your Money isn't enough

Gallery:
How to make a shop in minecraft
Tags

3 Update Logs

Update #3 : by Dudamesh 08/02/2018 10:25:50 pmAug 2nd, 2018

OUTDATED
LOAD MORE LOGS

Create an account or sign in to comment.

Thatthi2
02/21/2015 1:26 am
Level 27 : Expert Button Pusher
Thatthi2's Avatar
Well DONE!
1
DieDad
02/18/2015 9:34 pm
Level 1 : New Crafter
DieDad's Avatar
Nice job. :P
1
turbokek
02/18/2015 12:12 pm
Level 1 : New Miner
turbokek's Avatar
Very good way!
1

Welcome