167: Check for highest score. [Minecraft Map Making]

Subscribers:
3,920
Published on ● Video Link: https://www.youtube.com/watch?v=aJG-XzvI7xk



Minecraft
Game:
Minecraft (2011)
Duration: 7:39
262 views
15


Ep167: Let's find out who has the highest score stored in a scoreboard objective.

Java Version: 1.19

Commands, builds and ideas for people making their own Minecraft maps.

Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ

Join the CoppitCraft server that I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/amU84KykEu

The following commands are prefixed with three letters which represent the settings of the command block. E.g IUN: = Impulse Unconditional Needs_Redstone. These prefixes need to be removed if copying the commands.

Since angled brackets are not allowed in Youtube descriptions you will have to replace "greater then" with the appropriate angled bracket. Ascii code: 62

Commands used:

Objectectives:
IUN: scoreboard objectives add myScore dummy
CUA: scoreboard objectives add myVariable dummy

Score Check:
IUN: scoreboard players set #maxScore myVariable -1
CUA: scoreboard players operation #maxScore myVariable greater than @a myScore
CUA: execute as @a if score @s myScore = #maxScore myVariable run tag @s add isHighest
CUA: execute as @a[tag=isHighest] run say @s Hello

Resets:
IUN: scoreboard players set @p myScore 1
IUN: scoreboard players set @p myScore 10
IUN: tag @a remove isHighest







Tags:
minecraft
adventure map
map making
commands
command blocks
1.18
custom commands
redstone
map ideas
map suggesstions
custom maps
1.19



Other Statistics

Minecraft Statistics For Infernal Device

At present, Infernal Device has 182,939 views spread across 869 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.