hi, i run a small server, that is basically a mmo, but i want to have certain scoreboard objectives show to diffrent players. like for one player it would say: stats: money: 600 xp: 120. but for another player it would say: stats: money: 205 xp: 600. i play servers like mineplex which have this exact thing, but i cant figure out how. i tried: "/scoreboard objectives setdisplay sidebar Stats" but this then shows "stats" to ALL players.
edit: for clarification, i want to have a objective called "stats" that shows always on the side of your screen. but, then have a dummy player called money: and have it show your current money, under stats. the issue is that every player would then see the eact same thing. i just need help. i dont want to make a new dummy for each player, because it would take forever, and i can't even figure out how to show specific ones to the player even if i did that.
/execute as @a at @s run title @a actionbar ["",{"text":"Money: "},{"score":{"name":"@s","objective":"OBJECTIVE"}},{"text":" EXP: "},{"score":{"name":"@s","objective":"OBJECTIVE"}}]
This will display whatever objective you put to the player.
Replace "OBJECTIVE" with whatever objective you want.
i see. ok. im thinking of using the red number to show the score. not the name of it.
like mineplex has "Gems:1000" 5 to keep it in the same spot. but can you just alter the red number instead?
my goal is to have a dummy player called money, and have it show YOUR money, and nobody else money. the way i have it set up rn, is you see a list of people, and thier money. but is their truly no way to show a certain thing to a certain player?
for example: having a survival server where there are no sidebars. but the admins are shown a side bar that displayes the players with the most diamonds.
im quite good at command blocks/commands. i can figure out a way for the money value to change/be used. but the command: /scoreboard objectives setdisplay sidebar Stats
/execute as @a at @s run actionbar ["",{"text":"Money: "},{"score":{"name":"@s","objective":"OBJECTIVE"}},{"text":" EXP: "},{"score":{"name":"@s","objective":"OBJECTIVE"}}]
i use 1.12.2, and i have to know. what are the: "", for in [" ",{-- ? the 1.11.2-1.12.2 command is
/execute as @a at @s run actionbar ["",{"text":"Money: "},{"score":{"name":"@s","objective":"OBJECTIVE"}},{"text":" EXP: "},{"score":{"name":"@s","objective":"OBJECTIVE"}}]
i use 1.12.2, and i have to know. what are the: "", for in [" ",{-- ? the 1.11.2-1.12.2 command is
/execute as @a at @s run title @a actionbar ["",{"text":"Money: "},{"score":{"name":"@s","objective":"OBJECTIVE"}},{"text":" EXP: "},{"score":{"name":"@s","objective":"OBJECTIVE"}}]
This will display whatever objective you put to the player.
Replace "OBJECTIVE" with whatever objective you want.
/execute is not needed. its just /title (selector) action bar {text}. nothing to do with execute. but, can this be shown with /scoreboard objective setdisplay (objective name) sidebar?
/execute is not needed. its just /title (selector) action bar {text}. nothing to do with execute. but, can this be shown with /scoreboard objective setdisplay (objective name) sidebar?
I did it so that it display's individual scores. Because if you don't use execute, it will try to display everyone's scores to everyone. And they want to show individual stats to each player.
I did it so that it display's individual scores. Because if you don't use execute, it will try to display everyone's scores to everyone. And they want to show individual stats to each player.
but, why? there is no need for /execute @a ~ ~ ~ etc.. if you can just display it with /title (player name) actionbar {text}.
and even if the /execute is needed. it would work fine wit just the /title command.
unlike 1.13 (i think) i have already stated. but, when doing said commands with the action bar, you need to have another repeating command block set to repeating to have the action bar appear. not to mention said action will stop the use of /title commands there after because it will instantly disappear due to repeating command block, and you must set the title times of all players to at least 0 - -.
my point: this is not a vaible method unless i am wrong about something.
hi, i run a small server, that is basically a mmo, but i want to have certain scoreboard objectives show to diffrent players. like for one player it would say: stats: money: 600 xp: 120. but for another player it would say: stats: money: 205 xp: 600. i play servers like mineplex which have this exact thing, but i cant figure out how. i tried: "/scoreboard objectives setdisplay sidebar Stats" but this then shows "stats" to ALL players.
edit: for clarification, i want to have a objective called "stats" that shows always on the side of your screen. but, then have a dummy player called money: and have it show your current money, under stats. the issue is that every player would then see the eact same thing. i just need help. i dont want to make a new dummy for each player, because it would take forever, and i can't even figure out how to show specific ones to the player even if i did that.
You can display them in actionbar instead
This will display whatever objective you put to the player.
Replace "OBJECTIVE" with whatever objective you want.
I think this is how it goes for 1.12
*Fixed Command For 1.13+
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!
but is there a way to make it work on the side of your screen?
Most servers with things on the sidebar like that use plugins to accomplish things that are beyond the scope of Minecraft's base mechanics.
Check out my mod! You can find it on CurseForge here:
https://www.curseforge.com/minecraft/mc-mods/the-spookjams-mod
i see. ok. im thinking of using the red number to show the score. not the name of it.
like mineplex has "Gems:1000" 5 to keep it in the same spot. but can you just alter the red number instead?
my goal is to have a dummy player called money, and have it show YOUR money, and nobody else money. the way i have it set up rn, is you see a list of people, and thier money. but is their truly no way to show a certain thing to a certain player?
for example: having a survival server where there are no sidebars. but the admins are shown a side bar that displayes the players with the most diamonds.
im quite good at command blocks/commands. i can figure out a way for the money value to change/be used. but the command: /scoreboard objectives setdisplay sidebar Stats
shows the objective "stats' to all players.
Quote from CowsDaBestYTnext
i use 1.12.2, and i have to know. what are the: "", for in [" ",{-- ? the 1.11.2-1.12.2 command is
/title (playername) actionbar [{"text":"Money: "},{"score":{"name":"@s","objective":"OBJECTIVE"}},{"text":" EXP: "},{"score":{"name":"@s","objective":"OBJECTIVE"}}]
then in new chain command block or repeating command block:
/title @a title {"text":" "}
I fixed my command and I think that the other command i just added should work. Not entirely sure though.
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!
/execute is not needed. its just /title (selector) action bar {text}. nothing to do with execute. but, can this be shown with /scoreboard objective setdisplay (objective name) sidebar?
I did it so that it display's individual scores. Because if you don't use execute, it will try to display everyone's scores to everyone. And they want to show individual stats to each player.
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!
but, why? there is no need for /execute @a ~ ~ ~ etc.. if you can just display it with /title (player name) actionbar {text}.
and even if the /execute is needed. it would work fine wit just the /title command.
unlike 1.13 (i think) i have already stated. but, when doing said commands with the action bar, you need to have another repeating command block set to repeating to have the action bar appear. not to mention said action will stop the use of /title commands there after because it will instantly disappear due to repeating command block, and you must set the title times of all players to at least 0 - -.
my point: this is not a vaible method unless i am wrong about something.