powered by
Get the IDs of all player currently in the world.
getPlayerIds()
A numeric vector with the IDs of each player currently in the MineCraft world. Player ids are listed in the order they joined the game world.
# NOT RUN { mc_connect() getPlayerIds() # } # NOT RUN { # }
Run the code above in your browser using DataLab