Skip to main content

world.get_loaded_sites

Overview

  • Returns all loaded sites in the current map with localized names.

Metadata

FieldValue
DisplayGet Loaded Sites
Categoryworld
AccessPublic
ScopeB1Standalone
Tags
AliasesGetLoadedSites

Parameters

  • This command takes no parameters.

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
map_idstringyesCurrent map identifier
sitesarrayyesLoaded sites in the current map
sites[].idstringyesSite identifier
sites[].l10nstringyesLocalized site name
sites[].entity_identityIdyesSite area actor entity id (0 if none)

Usage

await inzoi.cli.execute('world.get_loaded_sites');