Skip to main content

Server

Server

Server Only

This class is only available on server

Methods

integer[] GetClients()

string[] GetUsersID()

integer GetUserID(integer clientID)

boolean IsVRClient(integer clientID)

nil DisconnectClient(integer clientID)

integer GetScriptsVersion()

string GetScript(string scriptName)

nil LuaReset()

string[] GetLuaFilesList()

string[] GetVoxelFilesList()

Voxel files in the Montage/Voxels, those you saved in your montage and they are not necessary uploaded to the cloud already. local montage assets

string[] GetMakerAssetsList()

Assets in cloud of maker that made this montage

string[] GetCommonAssetsList()

Common, those we provide cloud with as free to use

string[] GetCommonScenesList()

Common scenes

string[] GetPrefabsList()

Object InsertPrefab(integer id)

Object InsertPrefab(integer id, boolean deepCopy)

Object InsertPrefab(string name)

Object InsertPrefab(string name, boolean setSave)

Object InsertPrefab(string name, string newName)

Object InsertPrefab(string name, string newName, boolean setSave)

Object InsertPrefab(string name, string newName, boolean setSave, boolean deepCopy)

nil MakePrefab(string name)

table GetInsertPrefabStats()

nil PreloadVDRsForPrefab(string name, integer count)

nil SaveScene()

nil SaveSceneHierarchy()

nil ReloadScene()

nil BackupMontage()

nil OnLuaLog()

boolean IsClient()

boolean IsServer()

boolean DevMode()

integer GetCurrentUIActionID()

nil ScrollToLastestLuaLog()

CommandLine GetCommandLine()

table GetVersion()

System GetSystem()

string GetDateTime()

integer GetMemoryUsage()

table GetErrors()

integer GetMaxConnections()

nil HttpPost(string url, table headers, string data, function onResponse)

nil HttpGet(string url, table headers, function onResponse)

nil HttpDownload(string url, table headers, function onResponse)

integer GetPing(integer clientID)

boolean MoveFileToMontageVoxelsFolder(File fileLua, string subPath)

nil MakeUrlForFile(File fileLua, function eventUpdate, function eventFinish)

string GetLogTime(string logName)

table GetLogTimers(string logName)

number GetLogValue(string logName)

number GetFPS()

table GetStreamingStats()

table GetMainDispatcherStats()

nil TriggerCrash()

nil TriggerException()

nil TriggerCriticalError()

nil Restart()

nil AnalyticsServer(string name, table props)

nil AnalyticsClient(integer clientID, string name, table props)

integer GetCollectionPreferredLoad(integer collectionIndex)

nil SetCollectionPreferredLoad(integer collectionIndex, integer preferredLoad)

nil GenTestVoxelScene()

nil GenTestVoxelScene2()

nil GenTestVoxelScene3()

nil MakeVoxelScene(integer maxZ, integer maxY, integer maxX, integer patternSize)

nil RebuildLODsBrightnessMethod()

nil RebuildLODsBrightnessMethod(Vec3i minPos, Vec3i maxPos)

boolean RebuildLODsGradientMethod()

boolean RebuildLODsGradientMethod(Vec3i minPos, Vec3i maxPos)

boolean ShowAllNormalsPerVoxel(integer lodI)

boolean ShowAllNormalsPerBT(integer lodI)

nil PBRTranscodeToPBR0Ver1()

Properties

integer clientID

boolean EditMode

boolean ModeChangeReloadGeom