mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset add the RegionReady module code. The module sends a message on a configurable channel when an oar file has finished loading or if the script engine has emptied its queue for the first time (eg server startup). Config is something like this: [RegionReady] enabled = true channel_notify = -800 The module also knows if there was an error with startup.
This commit is contained in:
@@ -1012,3 +1012,14 @@ InterregionComms = "RESTComms"
|
||||
|
||||
; Density of tree population
|
||||
tree_density = 1000.0
|
||||
|
||||
[RegionReady]
|
||||
; Enable this module to get notified once all items and scripts in the region have been completely loaded and compiled
|
||||
enabled = false
|
||||
|
||||
; Channel on which to signal region readiness through a message
|
||||
; formatted as follows: "{0|1},n,[oar error]"
|
||||
; - the first number indicating whether the OAR file loaded ok (1 == ok, 0 == error)
|
||||
; - the second number indicates how many scrips failed to compile
|
||||
; - "oar error" if supplied, provides the error message from the OAR load
|
||||
channel_notify = -800
|
||||
|
||||
Reference in New Issue
Block a user