Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
3 июня 2020 г. 19:30:40
00:14:38
Яндекс.Метрика