How To Make A TimePlayed System In Minecraft Bedrock Command Blocks
ฝัง
- เผยแพร่เมื่อ 3 ต.ค. 2024
- In Minecraft Bedrock, you can set up a TimePlayed system using command blocks to keep track of the total playtime for individual players. This system can be a valuable addition to your server or map, allowing you to reward players based on the time they've spent in the game.
IBeToxic specializes in Minecraft tutorials and tips. Don't forget to subscribe for more exciting Minecraft content! Let us know in the comments how you plan to use the TimePlayed system on your server or map. Happy gaming!
Stay In Touch
-
Discord - N/A
Threads - N/A
Instagram - N/A
-
I found the cause for why the seconds won’t make the minutes increase. It has to do with the action bar command. If you have a different name for the scoreboard objective name for your minutes, or hours then you need to replace it in the Action bar command block
Absolutely perfect thanks so much
Perfect Everything works like it should Thank you very much ❤
I’ve done it all and reversed the stuff at the end and it still shows the massive line of commands
Wdym
@@IBeToxicit just shows a bunch of code instead of the time played
Weird I have never encountered that issue before it's probably a minecraft bug
@@IBeToxic Yea i hate Minecraft bugs so much
Are you sure you put in the write variable title?
?
I followed all of the commands thoroughly and did it two times, but my minutes aren’t changing over to hours
Can you send me the command for the minutes and hours
you did the Right Scoreboard Name? And the Right ( or {
@@skrekday what do you do
@@CujoBanded ?
You so {
Everything works, its just spamming chat, could you tell me how to fix this?
/gamerule commandblockfeedback false
For all the guys whose scoreboard is in chat and not in actionbar use this.
/titleraw @a actionbar {"rawtext":[{"text":"§gTime Played"},{"score":{"name":"*","objective":"test"}},{"text":"
§aH: "},{"score":{"name":"*","objective":"hour"}},{"text":"§f, §bM: "},{"score":{"name":"*","objective":"minute"}},{"text":"§f, §gS: "},{"score":{"name":"*","objective":"seconds"}},{"text":"§g"}]}
Could you if possible copy and paste the last command here plz?
Someone sent it in the comments already
Syntax error: unexpected "hour": at "bjective":>>hour
You don't have ":"hour or you don't have that scoreboard defined
My seconds don’t go up it stays saying seconds and minute it doesn’t show number
Make sure you wrote all of the code correctly
So for the scoreboards there a little different you wanna do /scoreboard players add @a[scores={sec=60}] run scoreboard players add @a min o1
That's impossible that isn't apart of bedrock also /scoreboard players add @a[scores={sec=60}] minute 1
Is way shorter than your way
I wasnt making fun of him. I was suggesting a shorter way of coding that command. Also, what are the 3 "clips" that you have of me since I haven't been playing online games in a bit
Ok I don't remember that but go for it
I'm not a big enough youtuber for anyone to care additionally a bunch of other creators made fun of their fans to some extent your blackmail won't work
@@IBeToxic no problem man don’t fear this guy he’s a nobody your fine he’s in the wrong
I have a problem: in my command block it gives me a syntax error where is there mark score":{"name it tells me that there is an error with the parenthesis
if you have discord i will send you a screenshot
@@brighterpine1021 hi im sorry your having a issue with my command send me the pic on discord my name is: catastic3512
which command are you ecountering this problem
@@IBeToxicwhat is your #
@@brighterpine1021 just add me they removed the #
Hi is it possible to reset the timer automatically at midnight?
Use a daylight sensor
@@IBeToxiche means irl
@HattanJap ?????
@@IBeToxic in real life
You would need to sync the timer with the IRL time and make it so that the seconds, minutes and hours are all reset when hours = 24
My seconds just keep going past 60 and are now at 4000 and it just says no targets matched selector for the reset blocks
Try reseting the time and make sure the 2nd command block testing for the seconds is setup correctly
Also make sure the 2nd command block is setup like this
Repeat
Always active
/scoreboard players add @a[scores=[seconds=60]] hours 1
Chain
Conditional
/scoreboard players remove @a[same command as the one above] seconds 0
@@IBeToxic ah it's all good man. Decided I didn't need a timer thing. Thanks for the help though, good vid.
@@IBeToxic I have the same issue even with everything being correct. I think I’ll just start using different commands using ticks to tell when to reset the seconds instead
Ticks aren't reliable in this situation I suggest using my way idk why this is happening for you guys
this man is a W
For some reason When I finished the last command block, it said Syntax error: Unexpected ":": at "}},{"text">>,
Did I do something wrong
Can you dm me on discord and send me the command and error
Discord: catastic3512
Yep
@@IBeToxic i sent you a friend request please respond
What would be the command if I just wanted to do hours?
Just write until you reach the hour objective
Why is my timer in chat and not in actionbar
Same idk what to do
@@gioaponte5875 check out my other pinned comment.
It worked although the numbers didn't really showed up
Wdym
Pls put the commands in desc so I can copy and paste on iPad
I lost the world os I won't he able to do that
its working but its not reseting the seconds and minutes
scoreboard players add @a[scores={S=60..}] M 1
scoreboard players remove @a[scores={S=60..}] S 60
1: repeat unconditional always active
2: chain conditional always active
S is second
M is minute
Can you please please paste the Tell raw command in the comments?
Ok fine I'll do it in a Lil bit
Unexpected ‘’ . ‘’: at ‘’MEPLAYED’’}>>.
You put a period not a comma
everything works besides the fact that the seconds never resets and i never gain a minute
Make sure you wrotea all of the commands correctly
@@IBeToxici have the same issue and ive went over it 6 times and its all written correctly
Look through the comment section for S3BSK1 I also went over it in the video using tags for some reason Minecraft made it so that specific command doesn't work
Just do “/add ..}] to the end insted
??
Bro every time I type it deletes the character
Weird idk why that's happening
dose it work with muluplayer
Is there any way to centre the new line
Wdym
@@IBeToxic the
you used to make a new line. It is aligned to the left. Is there any way to align it to the centre
@je36gaming no
@@IBeToxic damn
How can I reset the timer
Just add the score back to everybody
my seconds and minutes work but not my hours what did i do wrong ??
Idk just do the same commands as the rest of em but eith different scoreboard
@@IBeToxic tried it still wont go up
@justinf214 idk can you send some of the errors
@@IBeToxic not getting any errors for it but the hours don't go up ?
@@IBeToxic just a bit confused like
multiplayer compatible?
Yes watch my other videos to make this system even better
If I run away it will fade out and time will stop...
Can you download mods?
@@IBeToxicnein
@@IBeToxicno
Just do /tickingarea add and then put the cords of a box you’d like to have tick without you being there
You can use what this comment says to make it work I don't have enough experience so I didn't comment it
It goes past 60 s
Please help
Make sure to have the other command block detecting if the player time Is at or above 60
im getting a syntax error: Unexpected "text": at ""test}},{">>text
Hi sorry that your encountering a error please add me on discord and send me the image of the code you typed and the error discord name: catastic
I can't help unless I see the entire code
If your still receiving the error message join the discord so I can help discord.gg/8eR57UZe
"Unexpected "text": at ""text}}" here --> " ""text}} "
@@IBeToxicyo!! I need help to
when i go too far everything stops working
This might work
th-cam.com/video/gU9P1VGa7S0/w-d-xo.htmlsi=VkW0l2re1mT8VkD3
@@IBeToxicnah your such a W
Do you have it in a tickingarea?
You'll need it in a ticking area for it to work when your far away from the command blocks
Write that code on caht on the command_block you paste and it will work:
/tickingarea add circle ~~~ 4 a
Hi can you tell me how to make this counting down
Please help me
I'll make a vid sokn
Thx
Yo doesnt work not the title but the time
It does work you probably did something wrong
@@IBeToxic it sayd something with couldn’t find and the seconds were over 60
@@IBeToxic ill try it again
For me it doesnt woek
It should work
I cant go on the action bat
Wdym?
@@IBeToxicthe time doesn’t go to the action bar
my seconds dont go up
Make sure you included all of thr command blocks
Nothing work
Idk I need more info
Download link pls
Wdym
doesnt work...
It does work
You spelt something wrong or did a typo
it was an issue on my end but i managed to fix it, ty for sayin it though becuase i would of just dropped it
@@IBeToxic
It doesnt work
@@Ybbirc1978 it does
@@IBeToxic it prob does
It says error
Could you please clarify your question?
@@IBeToxic never mind I got it to work
@@Itzz_ghost11how???
Does it work for multiplayer?
Yeah
Syntax error at actionbar
I need the full error text
@@IBeToxicdo u have dc?
heyo, sent you a friend request cuz i'm havin some problems. My user is Kaden?
Can you add me on discord it will be a lot easier
I did!@@IBeToxic