Learn R Programming

miner (version 0.2.2)

getPlayerIds: Get player IDs

Description

Get the IDs of all player currently in the world.

Usage

getPlayerIds()

Arguments

Value

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.

See Also

getPlayerId(), getPlayerName()

Examples

Run this code
# NOT RUN {
mc_connect()
getPlayerIds()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab