Available since Version 1.0.
Retrieves all main mods that have been added by joined players.
Syntax
Session.GetMainMods()Arguments
No arguments.
Return Values
- (table): A table where the keys are the unique identifiers of the main mods.
Examples
local mainMods = Session.GetMainMods()
for id, mod in pairs(mainMods) do
print(id)
end