aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults')
-rw-r--r--bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults211
1 files changed, 0 insertions, 211 deletions
diff --git a/bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults b/bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults
deleted file mode 100644
index c615581..0000000
--- a/bin/config.preview.donotuseyet-v2/defaults/scriptengines.ini.defaults
+++ /dev/null
@@ -1,211 +0,0 @@
1; Script engine settings
2
3
4[XEngine]
5 ; Enable this engine in this OpenSim instance
6 Enabled = true
7
8 ; How many threads to keep alive even if nothing is happening
9 MinThreads = 2
10
11 ; How many threads to start at maximum load
12 MaxThreads = 100
13
14 ; Time a thread must be idle (in seconds) before it dies
15 IdleTimeout = 60
16
17 ; Thread priority ("Lowest", "BelowNormal", "Normal", "AboveNormal", "Highest")
18 Priority = "BelowNormal"
19
20 ; Maximum number of events to queue for a script (excluding timers)
21 MaxScriptEventQueue = 300
22
23 ; Stack size per thread created
24 ThreadStackSize = 262144
25
26 ; Rate to poll for asynchronous command replies (ms)
27 ; currently unused
28 ;AsyncLLCommandLoopms = 50
29
30 ; Save the source of all compiled scripts
31 WriteScriptSourceToDebugFile = false
32
33 ; Default language for scripts
34 DefaultCompileLanguage = lsl
35
36 ; List of allowed languages (lsl,vb,js,cs)
37 ; AllowedCompilers=lsl,cs,js,vb.
38 ; *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk.
39 AllowedCompilers=lsl
40
41 ; Compile debug info (line numbers) into the script assemblies
42 CompileWithDebugInformation = true
43
44 ; Allow the use of os* functions (some are dangerous)
45 AllowOSFunctions = false
46
47 ; Threat level to allow, one of None, VeryLow, Low, Moderate, High, VeryHigh, Severe
48 OSFunctionThreatLevel = VeryLow
49
50 ; Interval (s) between background save of script states
51 SaveInterval = 120
52
53 ; Interval (s) between maintenance runs (0 = disable)
54 MaintenanceInterval = 10
55
56 ; Time a script can spend in an event handler before it is interrupted
57 EventLimit = 30
58
59 ; If a script overruns it's event limit, kill the script?
60 KillTimedOutScripts = false
61
62 ; Sets the multiplier for the scripting delays
63 ScriptDelayFactor = 1.0
64
65 ; The factor the 10 m distances llimits are multiplied by
66 ScriptDistanceLimitFactor = 1.0
67
68 ; OS Functions enable/disable
69 ; For each function, you can add one line, as shown
70 ; The default for all functions allows them if below threat level
71
72 ; true allows the use of the function unconditionally
73 ; Allow_osSetRegionWaterHeight = true
74
75 ; false disables the function completely
76 ; Allow_osSetRegionWaterHeight = false
77
78 ; Comma separated list of UUIDS allows the function for that list of UUIDS
79 ; Allow_osSetRegionWaterHeight = 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb
80
81 ; Allow for llCreateLink and llBreakLink to work without asking for permission
82 ; only enable this in a trusted environment otherwise you may be subject to hijacking
83 ; AutomaticLinkPermission = false
84
85
86[ScriptEngine.DotNetEngine]
87 Enabled = true
88
89 ScriptDelayFactor = 1.0
90 ScriptDistanceLimitFactor = 1.0
91
92 ;
93 ; These settings are specific to DotNetEngine script engine
94 ; Other script engines based on OpenSim.Region.ScriptEngine.Common.dll will have almost identical settings, but in another section of this config file.
95 ;
96
97 ; When a script receives an event the event is queued.
98 ; Any free thread will start executing this event. One script can only have one event executed simultaneously.
99 ; If you have only one thread, and one script has a loop or does a lot of work, then no other scripts can run at the same time.
100 ; Same if you have 10 threads, then only 10 scripts can be run simultaneously.
101 ; But because most scripts exit after their task, the threads are free to go on to the next script.
102
103 ; Refresh ScriptEngine config options (these settings) every xx seconds
104 ; 0 = Do not refresh
105 ; Set it to number of seconds between refresh, for example 30.
106 ; Will allow you to change ScriptEngine settings while server is running just by using "CONFIG SET" on console
107 ; For example to increase or decrease number of threads: CONFIG SET NumberOfScriptThreads 10
108 ; NOTE! Disabled for now. Feature does not work.
109 RefreshConfig=0
110
111 ; Number of threads to use for script event execution
112 ; Threads are shared across all regions
113 NumberOfScriptThreads=2
114
115 ; Script event execution thread priority inside application.
116 ; Valid values: Lowest, BelowNormal, Normal, AboveNormal, Highest
117 ScriptThreadPriority=BelowNormal
118
119 ; How long MAX should a script event be allowed to run (per event execution)?
120 ; Do not set this too low (like 50ms) as there are some time wasted in simply executing a function
121 ; There is also a small speed penalty for every kill that is made
122 MaxEventExecutionTimeMs=5000
123
124 ; Should we enable the max script event execution thread to look for scripts that exceed their timeslice?
125 EnforceMaxEventExecutionTime=true
126
127 ; Should we stop the script completely when time exceeds?
128 ; This is useful if you have a high <MaxEventExecutionTimeMs> and want to deactivate scripts that go wrong
129 ; Note that for example physics engine can slow down the system and make scripts spend more time
130 DeactivateScriptOnTimeout=false
131
132 ; If no scripts have executed in this pass how long should we sleep before checking again
133 ; Impact:
134 ; Too low and you will waste lots of CPU
135 ; Too high and people touching object or similar will have to wait up to this amount of time before script responding
136 SleepTimeIfNoScriptExecutionMs=50
137
138 ; AppDomains are used for two things:
139 ; * Security: Scripts inside AppDomains are limited in permissions.
140 ; * Script unloading: When a script is deactivated it can not be unloaded. Only whole AppDomains can be unloaded.
141 ; AppDomains are therefore only unloaded once ALL active scripts inside it has been deactivated (removed from prims).
142 ; Each AppDomain has some memory overhead. But leaving dead scripts in memory also has memory overhead.
143 ScriptsPerAppDomain=1
144
145 ; MaintenanceLoop
146 ; How often to run maintenance loop
147 ; Maintenance loop is doing: script compile/load, script unload, reload config, adjust running config and enforce max execution time
148 MaintenanceLoopms=50
149
150 ; How many maintenanceloops between each of these.
151 ; (if 2 then function will be executed every MaintenanceLoopms*2 ms)
152 ; Script loading/unloading
153
154 ; How long load/unload thread should sleep if there is nothing to do
155 ; Higher value makes it respond slower when scripts are added/removed from prims
156 ; But once active it will process all in queue before sleeping again
157 MaintenanceLoopTicks_ScriptLoadUnload=1
158
159 ; Other tasks
160 ; check if we need to reload config, adjust running config and enforce max execution time
161 MaintenanceLoopTicks_Other=10
162
163 ; Allow the use of os* functions (some are dangerous)
164 ; Default is false
165 AllowOSFunctions = false
166
167 ; Threat level to allow if os functions are enabled
168 ; One of None, VeryLow, Low, Moderate, High, VeryHigh, Severe
169 ; Default is VeryLow
170 OSFunctionThreatLevel = VeryLow
171
172 ; Maximum number of items in load/unload queue before we start rejecting loads
173 ; Note that we will only be rejecting load. Unloads will still be able to queue.
174 LoadUnloadMaxQueueSize=100
175
176 ; Maximum number of (LSL) events that can be queued before new events are ignored.
177 EventExecutionMaxQueueSize=300
178
179 ; Async LL command sleep
180 ; If no async LL commands are waiting, how long should thread sleep before checking again
181 ; Async LL commands are LSL-commands that causes an event to be fired back with result
182 ; currently unused
183 ; AsyncLLCommandLoopms=50
184
185 ; When script is converted from LSL to C#, or just plain compiled, a copy of the script source will be put in the ScriptEngine folder
186 WriteScriptSourceToDebugFile=false
187
188 ; Specify default script compiler
189 ; If you do not specify //cs, //vb, //js or //lsl tag as the first characters of your script then the default compiler will be chosen
190 ; Valid languages are: lsl, cs, js and vb
191 DefaultCompileLanguage=lsl
192
193 ; Specify what compilers are allowed to be used
194 ; Note vb only works on Windows for now (Mono lacks VB compile support)
195 ; Valid languages are: lsl, cs, js and vb
196 ; AllowedCompilers=lsl,cs,js,vb. *warning*, non lsl languages have access to static methods such as System.IO.File. Enable at your own risk.
197 AllowedCompilers=lsl
198
199 ; Compile scripts with debugging
200 ; Probably a thousand times slower, but gives you a line number when something goes wrong.
201 CompileWithDebugInformation=true
202
203 ; Remove old scripts on next startup
204 ; currently unused
205 ;CleanUpOldScriptsOnStartup=true
206
207
208[MRM]
209 ; Enables the Mini Region Modules Script Engine. WARNING: SECURITY RISK.
210 ; default is false
211 Enabled = false