Skip to content

Importer

Import from other admin systems.

Importer.Systems

A table of supported imports.

luau
Importer.Systems: { string }
luau
local Systems = Importer.Systems

if table.find(Systems, "EXE_6") == nil then
    return { false, "Importing from Exe 6 is not supported." }
end

Importer.GetData

Returns a serialized list of everything found from a given system.

luau
Importer.GetData(
    SystemName: string
)
luau
Importer.GetData("HD_ADMIN")
luau
{
    true,
    {
        Commands = {},
        Ranks = {},
        Admins = {
            {
                MemberType = "Group",
                RankName = "Administrator",
                ID = 128231,
                GroupRankID = 12
            }
        },
        Logs = {}
    }
}
luau
{
    false,
    "The requested system was either not found or is not installed."
}

Importer.ListFoundSystems

Gets a list of installed admin systems and returns how many commands, ranks, and admins they have.

luau
Importer.ListFoundSystems()
luau
print(Importer.ListFoundSystems.HD_ADMIN)

Importer.Import

Imports from a requested system.

WARNING

This function is not finished and does not work.

luau
Importer.Import(
    SystemName: string
)
luau
Importer.Import(
    "HD_ADMIN"
)
luau
{
    true,
    "Done!"
luau
{
    false,
    "The requested system was either not found or is not installed."
}