Frontend
Functions for communicating with the Administer frontend.
FrontendAPI.VersionCheck
Performs an Administer version check based on your default AOS URL /pub/versions
. Eventually, this will check for app versions too, just not yet.
luau
FrontendAPI.VersionCheck(
Player: Player
)
luau
FrontendAPI.VersionCheck(game.Players.pyxfluff)
luau
{
provided_information: {any},
versions: {any}
}
luau
{
false,
{...}
}
FrontendAPI.UpdateHomePage
Updates the saved widgets for a given player.
luau
FrontendAPI.UpdateHomePage(
Player: Player,
NewData: {
EventType: "UPDATE" | "REMOVE",
WidgetID: string,
NewIdentifier: string
}
)
luau
FrontendAPI.UpdateHomePage(
game.Players.pyxfluff,
{
EventType = "UPDATE",
WidgetID = "LargeBox1",
NewIdentifier = "PlayerManagement\\ServerStats"
}
)
luau
{
Success = true,
Message = "Done!"
}
luau
{
Success = false,
Message = "Something happened on Roblox's end, please try again later."
}