get

-- ARGUMENTS
-- matchData: table {
--   uniqueId: string (optional)
-- } (optional)

-- RETURNS
-- table [{
--   uniqueId: string
-- },...]

local allPlayers = ti.db.players.get()

local somePlayer = ti.db.players.get({
  uniqueId = "char1:abcdef"
})[1]

Last updated