VERGELua API

steam

Steam identity and party / matchmaking groups.

steam

steam.GetSteamID():string

Return your Steam ID as STEAM_0:Y:Z.

steam.GetPlayerName(steamID:string):string

Return the persona name for a Steam ID.

steam.IsFriend(steamID:string):boolean

Return whether the Steam ID is on your friends list.

steam.GetFriends():table

Return a table of friend Steam IDs.

steam.ToSteamID64(steamID:string):number

Convert a STEAM_0:Y:Z string to a 64-bit Steam ID.

party

party.GetMembers():table?

Return a table of party member Steam IDs, or nil outside a party.

party.GetLeader():string?

Return the party leader's Steam ID, or nil.

party.GetPendingMembers():table?

Return invited-but-not-joined party members, or nil.

party.GetMemberActivity(index:number):PartyMemberActivity?

Return member details (name, team, online state) for an index.

party.QueueUp(matchGroup:number?)

Queue for a matchmaking group.

party.CancelQueue(matchGroup:number?)

Cancel the queue for a matchmaking group.

party.GetAllMatchGroups():table

Return all match groups keyed by name, e.g. Casual.

party.GetQueuedMatchGroups():table?

Return the match groups you are currently queued for.

party.CanQueueForMatchGroup(matchGroup:MatchGroup):boolean|table

Return true, or a table of reasons the group cannot be queued for.