Minecraft Maps / Redstone Device

Currency System Tutorial in 1.13.2 [FULL TUTORIAL]

  • 2,145 views, 2 today
  • 2
  • 0
StrangeCurse's Avatar StrangeCurse
Level 30 : Artisan Toast
2
Scoreboards:

Scoreboards are updated and easier to use in 1.13, and they are very useful. You can make currency systems, death counts, and many other things.

The two kinds of scoreboard commands are these:

/scoreboard objectives


/scoreboard players

Currency System Tutorial in 1.13.2 [FULL TUTORIAL] Minecraft Map

You can add objectives by using /scoreboard objectives add [Name] [Objective] ["DisplayName"]

Currency System Tutorial in 1.13.2 [FULL TUTORIAL] Minecraft Map

You can also make colored objectives by modifying the display name and making it colored by adding {"text":"Kills","color":"red"}

Currency System Tutorial in 1.13.2 [FULL TUTORIAL] Minecraft Map

All the colors are:
aqua
black
blue
dark_aqua
dark_blue
dark_gray
dark_green
dark_purple
dark_red
gold
gray
green
light_purple
red
white
yellow

Before you decide which color, make your scoreboard visible!



And then add players to the sidebar to make it show.



Now add any number score and it will add your sidebar.

Currency System:

To make a currency system, you can either use a dummy objective or player kill count. For this tutorial, I will show you how to make a kill currency system.


First, you need to make an appropriate name.

Add this: /scoreboard objectives modify Kills displayname {"text":"$Money$","color":"green","bold":true}

To make a kill currency system I have this set up:






This is for a single diamond that costs $50.

I have two sides:

One side has a command block testing if the player has a kill count 49 or lower, and then an always active, conditional chain command block giving a message, and an always active conditional chain command block that plays a sound.

The other side has a command block testing if I have 50 or more, which runs into an always active conditional chain command block that gives the diamond, then into an identical command block that plays a message and another that plays a sound.

Side One:

Impulse, Unconditional, Needs Redstone: /execute if entity @p[distance=..8,scores={Kills=..49}]

Chain, Conditional, Always Active: /tellraw @p ["",{"text":"NOT ENOUGH MONEY","color":"red","bold":true}]

Chain, Conditional, Always Active: /playsound minecraft:block.note_block.bass player @p

Side two:

Impulse, Unconditional, Needs Redstone: /scoreboard players remove @p[distance=..8,scores={Kills=50..}] Kills 50

Chain, Conditional, Always Active: /give @p minecraft:diamond

Chain, Conditional, Always Active: /tellraw @p ["",{"text":"Transaction Successful: Thank You! Enjoy!","color":"green","bold":true}]

Chain, Conditional, Always Active: /playsound minecraft:block.note_block.chime player @p

Put a redstone repeater on one tick before the successful transaction side.

These messages play:




Thank You For Reading!

Soon I will post another tutorial going more into depth about making a shop.

If you want to join my realm and check this out for yourself please go to my recent post here.
Progress100% complete
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome