Shared
With this module you will be able to gather all of your server's resources in an array
lib.resources
lib.resources(exclude)Parameters
- exclude:
string | array
Return
array: all of the resources
Example
local resources = lib.resources()
for i, resource in ipairs(resources) do
print(resource)
end
-- output ['tr_lib', 'tr_kit', 'tr_adapter', ...]