We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

3

Block/entity/ player count command

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    To count players and store the result in scoreboard:

    execute store result score playerCount data if entity @a[...]

    To count entities:

    execute store result score playerCount data if entity @e[...]