Exports - Server Side
Groups
Read Groups for more info.
CreateGroup
@param name string
@param attributes table
@return groupTable table
CreateGroup(name, attributes)This is used to create a group after the initial start of the script.
DoesGroupExist
@param name string
@return exists boolean
DoesGroupExist(name)Checks if the group exists.
AddPlayerToGroup
@param playerId int
@param name string
@return success boolean
AddPlayerToGroup(playerId, name)Adds a player to the specified group.
RemovePlayerFromGroup
Removes the player from the group.
GetPlayerGroup
Gets the group the specified player is in.
IsPlayerInGroup
Check if the player is in the group.
SetGroupAttribute
A setter for group attributes, you can also use this to remove any attributes by passing nil as a value.
GetGroupAttribute
A getter for group attributes.
Lobbies
See Lobbies for more info.
CreateLobby
This is used to create a lobby after the initial start of the script.
DeleteLobby
This is used to delete a lobby after the initial start of the script.
DoesLobbyExist
Checks if the specified lobby exists.
AddPlayerToLobby
Adds a player to the specified lobby.
RemovePlayerFromLobby
Removes the player from the lobby.
GetPlayerLobby
Gets the lobby the specified player is in.
SetLobbyAttribute
A setter for lobby attributes, you can also use this to remove any attributes by passing nil as a value.
GetLobbyAttribute
A getter for lobby attributes.
AddGroupToLobby
Adds every member of a group to a lobby.
RemoveGroupFromLobby
Removes every member of a group from a lobby.
Last updated