#Player Count
1 messages · Page 1 of 1 (latest)
let player_count = world.getAllPlayers().length;
Crossposting is not allowed!
Please leave your frustration not in this thread. Thank you. I need help with getting the player count
🙂
I will try that quick.
Doesnt work.
Do you mind showing your code
of course
the dimension runcommand is wrong. but the function at is own is not working
i want it to update every tick
but if i use world.XXX in a world event system says it isnt a function
TickEvent has been removed
Use this instead
system.runInterval(
() => {
//code
},
);
Import it
What should I add these js to?
Yes, it worked. Thank you 😄
Wdym? Youre in the wrong thread?
No problem!
Jeder fängt klein an