How To Make Command Block Shop Using Scoreboard in Minecraft
Setting up Scoreboard and Sidebar
Input 1:
/scoreboard objectives add currency dummy CURRENCY
Input 2:
/scoreboard objectives setdisplay sidebar descending
Input 3:
/scoreboard players add [Player] currency 0
—————————————————
Selling An Item to Shop
Input 1:
/clear @p [Item] 0 [Amount] — Removes an specified item from players inventory
Input 2:
/scoreboard players add @p currency [Amount] — Adds a desired amount of crystals to players balance
Input 3:
/title @p actionbar [Message] — Sends a message to player after a successful trade
—————————————————
Buying An Item from Shop
Input 1:
/scoreboard players test @p currency [Amount] 100000 — Checks if player has enough balance to purchase the item
Input 2:
/scoreboard players add @p -[Amount] — Deducts a specified amount to players balance
Input 3:
/give @p [Item] — Gives player an item after a successful purchase
Input 4:
/title @p [Message] — Sends a message after a successful purchase
—————————————————
Play with me, join us at:
https://discord.gg/Sy368zK
—————————————————
Track Info
Title: Journey by Atch
Genre and Mood: Dance & Electronic + Inspirational
—————————————————
I hope that helps!
Please subscribe if you haven't already, and stay tuned for more videos.
Видео How To Make Command Block Shop Using Scoreboard in Minecraft канала JustCrysisJack
Input 1:
/scoreboard objectives add currency dummy CURRENCY
Input 2:
/scoreboard objectives setdisplay sidebar descending
Input 3:
/scoreboard players add [Player] currency 0
—————————————————
Selling An Item to Shop
Input 1:
/clear @p [Item] 0 [Amount] — Removes an specified item from players inventory
Input 2:
/scoreboard players add @p currency [Amount] — Adds a desired amount of crystals to players balance
Input 3:
/title @p actionbar [Message] — Sends a message to player after a successful trade
—————————————————
Buying An Item from Shop
Input 1:
/scoreboard players test @p currency [Amount] 100000 — Checks if player has enough balance to purchase the item
Input 2:
/scoreboard players add @p -[Amount] — Deducts a specified amount to players balance
Input 3:
/give @p [Item] — Gives player an item after a successful purchase
Input 4:
/title @p [Message] — Sends a message after a successful purchase
—————————————————
Play with me, join us at:
https://discord.gg/Sy368zK
—————————————————
Track Info
Title: Journey by Atch
Genre and Mood: Dance & Electronic + Inspirational
—————————————————
I hope that helps!
Please subscribe if you haven't already, and stay tuned for more videos.
Видео How To Make Command Block Shop Using Scoreboard in Minecraft канала JustCrysisJack
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How To Make Custom Villager Trades in Minecraft! | BedWars Shop](https://i.ytimg.com/vi/OqBKFlHoxH8/default.jpg)
![How To Make an Item Generator in Minecraft | Very Easy, No Redstone!](https://i.ytimg.com/vi/nbH8ynA8kTA/default.jpg)
![How to Make Elimination Effects in Minecraft! | SkyWars, Minigames](https://i.ytimg.com/vi/zviYhcJfT7I/default.jpg)
![How To Make Leaderboards in Minecraft! | Scoreboard, Sidebar](https://i.ytimg.com/vi/XCPM07rnWkg/default.jpg)
![Minecraft: Bedrock Edition | Sky Flicker Minigame | Map Trailer + Download](https://i.ytimg.com/vi/xDnHr6yDCUw/default.jpg)
![- Sun Jun 09 08:51:08 GMT+08:00 2019](https://i.ytimg.com/vi/3wKTsCabLJw/default.jpg)
![Cooking Fever - Unlimited Coins and Gems (MOD NO ROOT)](https://i.ytimg.com/vi/w05iwg-_AdE/default.jpg)
![Last Day on Earth - Mod Apk 2018 (Latest Version)](https://i.ytimg.com/vi/PlQHoWSq-h8/default.jpg)
![How To Make a Realistic Hot Tub in Minecraft!](https://i.ytimg.com/vi/UlNqGTaF3q0/default.jpg)
![How To Make Bed Wars Custom | Complete Set | Minecraft Bedrock Edition](https://i.ytimg.com/vi/b7fpHVPQqUY/default.jpg)
![How To Make An Infinite Arrow Dispenser in Minecraft!](https://i.ytimg.com/vi/c0xCtmpTfRY/default.jpg)
![How To Make Item Generator in Minecraft PE/Windows 10/Xbox using Command Block](https://i.ytimg.com/vi/LKupnGwPVv8/default.jpg)
![Bed Wars Detection using Command Block (Minecraft 1.5.0.0)](https://i.ytimg.com/vi/prMSQg4nr9Q/default.jpg)
![Corridor Z | Mod Apk & File | Free Download](https://i.ytimg.com/vi/krBU2oBLVqU/default.jpg)
![How To Make An Infinite Railway in Minecraft!](https://i.ytimg.com/vi/ghqao4dHZto/default.jpg)
![Umbrella Hive HQ Map in Minecraft! | Map Download | PE/Windows 10](https://i.ytimg.com/vi/axDOiF5_l4I/default.jpg)
![How To Make An Automatic Piston Door in Minecraft! [Part 2 - Updated]](https://i.ytimg.com/vi/TYkUwmwYpgg/default.jpg)
![How To Make An Instant Explosion Trap in Minecraft! [Instant Death - No Mod]](https://i.ytimg.com/vi/L9vSXWF2Z9w/default.jpg)
![How To Make A Jumpscare in Minecraft! [PE/10/Xbox]](https://i.ytimg.com/vi/dS6F6i8pow8/default.jpg)
![How To Make An Automatic Sensor Door in Minecraft!](https://i.ytimg.com/vi/qY_WpujKHvM/default.jpg)