Difference between revisions of "Scripting Whitelist"
From Space Engineers Wiki
Line 7: | Line 7: | ||
==Ingame and Mod Scripts== | ==Ingame and Mod Scripts== | ||
{| class="wikitable sortable" width="95%" | {| class="wikitable sortable" width="95%" | ||
− | !style = "background-color:#ffffcc;" colspan = | + | !style = "background-color:#ffffcc;" colspan = 3 |
|- | |- | ||
− | !Fully Qualified Name !! Assembly | + | !Type (ModAPI, Ingame, Both) !! Fully Qualified Name !! Assembly |
+ | |Both || System.Collections.* || mscorlib | ||
|- | |- | ||
− | |System.Collections.* || mscorlib | + | |Both || System.Collections.Generic.* || mscorlib |
|- | |- | ||
− | |System.Collections.Generic.* || | + | |Both || System.Collections.Generic.* || System.Core |
|- | |- | ||
− | |System.Collections.Generic.* || System | + | |Both || System.Collections.Generic.* || System |
|- | |- | ||
− | |System.Collections. | + | |Both || System.Collections.Concurrent.* || mscorlib |
|- | |- | ||
− | |System.Collections.Concurrent.* || | + | |Both || System.Collections.Concurrent.* || System |
|- | |- | ||
− | |System. | + | |Both || System.Linq.* || System.Core |
|- | |- | ||
− | |System. | + | |Both || System.Text.* || mscorlib |
|- | |- | ||
− | |System.Text.* || | + | |Both || System.Text.RegularExpressions.* || System |
|- | |- | ||
− | |System. | + | |Both || System.Globalization.* || mscorlib |
|- | |- | ||
− | |System. | + | |ModApi || System.Timers.* || System |
|- | |- | ||
− | | | + | |ModApi || System.Diagnostics.TraceEventType+* || System |
|- | |- | ||
− | |System. | + | |ModApi || System.Reflection.AssemblyProductAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyDescriptionAttribute+* || mscorlib |
|- | |- | ||
− | |System. | + | |ModApi || System.Reflection.AssemblyConfigurationAttribute+* || mscorlib |
|- | |- | ||
− | |System. | + | |ModApi || System.Reflection.AssemblyCompanyAttribute+* || mscorlib |
|- | |- | ||
− | |System. | + | |ModApi || System.Reflection.AssemblyCultureAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyVersionAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyFileVersionAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyCopyrightAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyTrademarkAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Reflection.AssemblyTitleAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Runtime.InteropServices.ComVisibleAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.ComponentModel.DefaultValueAttribute+* || System |
|- | |- | ||
− | | | + | |ModApi || System.SerializableAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Runtime.InteropServices.GuidAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Runtime.InteropServices.StructLayoutAttribute+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Runtime.InteropServices.LayoutKind+* || mscorlib |
|- | |- | ||
− | | | + | |ModApi || System.Guid+* || mscorlib |
|- | |- | ||
− | | | + | |Both || object+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IDisposable+* || mscorlib |
|- | |- | ||
− | | | + | |Both || string+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.StringComparison+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Math+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Enum+* || mscorlib |
|- | |- | ||
− | | | + | |Both || int+* || mscorlib |
|- | |- | ||
− | | | + | |Both || short+* || mscorlib |
|- | |- | ||
− | | | + | |Both || long+* || mscorlib |
|- | |- | ||
− | | | + | |Both || uint+* || mscorlib |
|- | |- | ||
− | | | + | |Both || ushort+* || mscorlib |
|- | |- | ||
− | | | + | |Both || ulong+* || mscorlib |
|- | |- | ||
− | | | + | |Both || double+* || mscorlib |
|- | |- | ||
− | | | + | |Both || float+* || mscorlib |
|- | |- | ||
− | | | + | |Both || bool+* || mscorlib |
|- | |- | ||
− | | | + | |Both || char+* || mscorlib |
|- | |- | ||
− | | | + | |Both || byte+* || mscorlib |
|- | |- | ||
− | | | + | |Both || sbyte+* || mscorlib |
|- | |- | ||
− | | | + | |Both || decimal+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.DateTime+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.TimeSpan+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Array+* || mscorlib |
|- | |- | ||
− | |System.Xml.Serialization. | + | |Both || System.Xml.Serialization.XmlElementAttribute+* || System.Xml |
|- | |- | ||
− | |System.Xml.Serialization. | + | |Both || System.Xml.Serialization.XmlAttributeAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlArrayAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlArrayItemAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAnyAttributeAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAnyElementAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAnyElementAttributes+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlArrayItemAttributes+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAttributeEventArgs+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAttributeOverrides+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlAttributes+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlChoiceIdentifierAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlElementAttributes+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlElementEventArgs+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlEnumAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlIgnoreAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlIncludeAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlRootAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlTextAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Xml.Serialization.XmlTypeAttribute+* || System.Xml |
|- | |- | ||
− | |System. | + | |Both || System.Runtime.CompilerServices.RuntimeHelpers+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.Stream+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.TextWriter+* || mscorlib |
|- | |- | ||
− | |System.IO. | + | |Both || System.IO.TextReader+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.BinaryReader+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.BinaryWriter+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.NullReferenceException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.ArgumentException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.ArgumentNullException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.InvalidOperationException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.FormatException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Exception+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.DivideByZeroException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.InvalidCastException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.FileNotFoundException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.NotSupportedException+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Nullable<T>+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.StringComparer+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IEquatable<T>+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IComparable+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IComparable<T>+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.BitConverter+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.FlagsAttribute+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.IO.Path+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Random+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Convert+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.StringSplitOptions+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.DateTimeKind+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.MidpointRounding+* || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.EventArgs+* || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Reflection.MemberInfo || mscorlib |
|- | |- | ||
− | |System. | + | |Both || System.Reflection.MemberInfo.Name || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type.FullName || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type.GetTypeFromHandle(System.RuntimeTypeHandle) || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type.GetFields(System.Reflection.BindingFlags) || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type.IsEquivalentTo(System.Type) || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Type.operator ==(System.Type || System.Type) |
|- | |- | ||
− | | | + | |Both || System.Type.ToString() || mscorlib |
|- | |- | ||
− | | | + | |Both || System.ValueType || mscorlib |
|- | |- | ||
− | | | + | |Both || System.ValueType.Equals(object) || mscorlib |
|- | |- | ||
− | | | + | |Both || System.ValueType.GetHashCode() || mscorlib |
|- | |- | ||
− | | | + | |Both || System.ValueType.ToString() || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Environment || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Environment.CurrentManagedThreadId || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Environment.NewLine || mscorlib |
|- | |- | ||
− | | | + | |Both || System.Environment.ProcessorCount || mscorlib |
|- | |- | ||
− | | | + | |Both || System.RuntimeType || mscorlib |
|- | |- | ||
− | | | + | |Both || System.RuntimeType.operator !=(System.RuntimeType || System.RuntimeType) |
− | |||
− | |||
− | ! | ||
|- | |- | ||
− | + | |Both || System.RuntimeType.GetFields(System.Reflection.BindingFlags) || mscorlib | |
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} |
Revision as of 08:42, 6 January 2017
Space Engineers restricts the types and methods allowed in scripts to stop programmers from creating dangrous mods or scripts that could compromise a player's computer. The following tables list what is allowed in Ingame Scripts and the Modding API.
- * means all types in the listed namespace are whitelisted.
- + means all members of the listed type are whitelisted. If a type doesn't have this symbol the allowed members can be found elsewhere in the list.
Contents
Ingame and Mod Scripts
style = "background-color:#ffffcc;" colspan = 3 | |||||
---|---|---|---|---|---|
Type (ModAPI, Ingame, Both) | Fully Qualified Name | Assembly | Both | System.Collections.* | mscorlib |
Both | System.Collections.Generic.* | mscorlib | |||
Both | System.Collections.Generic.* | System.Core | |||
Both | System.Collections.Generic.* | System | |||
Both | System.Collections.Concurrent.* | mscorlib | |||
Both | System.Collections.Concurrent.* | System | |||
Both | System.Linq.* | System.Core | |||
Both | System.Text.* | mscorlib | |||
Both | System.Text.RegularExpressions.* | System | |||
Both | System.Globalization.* | mscorlib | |||
ModApi | System.Timers.* | System | |||
ModApi | System.Diagnostics.TraceEventType+* | System | |||
ModApi | System.Reflection.AssemblyProductAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyDescriptionAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyConfigurationAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyCompanyAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyCultureAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyVersionAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyFileVersionAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyCopyrightAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyTrademarkAttribute+* | mscorlib | |||
ModApi | System.Reflection.AssemblyTitleAttribute+* | mscorlib | |||
ModApi | System.Runtime.InteropServices.ComVisibleAttribute+* | mscorlib | |||
ModApi | System.ComponentModel.DefaultValueAttribute+* | System | |||
ModApi | System.SerializableAttribute+* | mscorlib | |||
ModApi | System.Runtime.InteropServices.GuidAttribute+* | mscorlib | |||
ModApi | System.Runtime.InteropServices.StructLayoutAttribute+* | mscorlib | |||
ModApi | System.Runtime.InteropServices.LayoutKind+* | mscorlib | |||
ModApi | System.Guid+* | mscorlib | |||
Both | object+* | mscorlib | |||
Both | System.IDisposable+* | mscorlib | |||
Both | string+* | mscorlib | |||
Both | System.StringComparison+* | mscorlib | |||
Both | System.Math+* | mscorlib | |||
Both | System.Enum+* | mscorlib | |||
Both | int+* | mscorlib | |||
Both | short+* | mscorlib | |||
Both | long+* | mscorlib | |||
Both | uint+* | mscorlib | |||
Both | ushort+* | mscorlib | |||
Both | ulong+* | mscorlib | |||
Both | double+* | mscorlib | |||
Both | float+* | mscorlib | |||
Both | bool+* | mscorlib | |||
Both | char+* | mscorlib | |||
Both | byte+* | mscorlib | |||
Both | sbyte+* | mscorlib | |||
Both | decimal+* | mscorlib | |||
Both | System.DateTime+* | mscorlib | |||
Both | System.TimeSpan+* | mscorlib | |||
Both | System.Array+* | mscorlib | |||
Both | System.Xml.Serialization.XmlElementAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAttributeAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlArrayAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlArrayItemAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAnyAttributeAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAnyElementAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAnyElementAttributes+* | System.Xml | |||
Both | System.Xml.Serialization.XmlArrayItemAttributes+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAttributeEventArgs+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAttributeOverrides+* | System.Xml | |||
Both | System.Xml.Serialization.XmlAttributes+* | System.Xml | |||
Both | System.Xml.Serialization.XmlChoiceIdentifierAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlElementAttributes+* | System.Xml | |||
Both | System.Xml.Serialization.XmlElementEventArgs+* | System.Xml | |||
Both | System.Xml.Serialization.XmlEnumAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlIgnoreAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlIncludeAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlRootAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlTextAttribute+* | System.Xml | |||
Both | System.Xml.Serialization.XmlTypeAttribute+* | System.Xml | |||
Both | System.Runtime.CompilerServices.RuntimeHelpers+* | mscorlib | |||
Both | System.IO.Stream+* | mscorlib | |||
Both | System.IO.TextWriter+* | mscorlib | |||
Both | System.IO.TextReader+* | mscorlib | |||
Both | System.IO.BinaryReader+* | mscorlib | |||
Both | System.IO.BinaryWriter+* | mscorlib | |||
Both | System.NullReferenceException+* | mscorlib | |||
Both | System.ArgumentException+* | mscorlib | |||
Both | System.ArgumentNullException+* | mscorlib | |||
Both | System.InvalidOperationException+* | mscorlib | |||
Both | System.FormatException+* | mscorlib | |||
Both | System.Exception+* | mscorlib | |||
Both | System.DivideByZeroException+* | mscorlib | |||
Both | System.InvalidCastException+* | mscorlib | |||
Both | System.IO.FileNotFoundException+* | mscorlib | |||
Both | System.NotSupportedException+* | mscorlib | |||
Both | System.Nullable<T>+* | mscorlib | |||
Both | System.StringComparer+* | mscorlib | |||
Both | System.IEquatable<T>+* | mscorlib | |||
Both | System.IComparable+* | mscorlib | |||
Both | System.IComparable<T>+* | mscorlib | |||
Both | System.BitConverter+* | mscorlib | |||
Both | System.FlagsAttribute+* | mscorlib | |||
Both | System.IO.Path+* | mscorlib | |||
Both | System.Random+* | mscorlib | |||
Both | System.Convert+* | mscorlib | |||
Both | System.StringSplitOptions+* | mscorlib | |||
Both | System.DateTimeKind+* | mscorlib | |||
Both | System.MidpointRounding+* | mscorlib | |||
Both | System.EventArgs+* | mscorlib | |||
Both | System.Reflection.MemberInfo | mscorlib | |||
Both | System.Reflection.MemberInfo.Name | mscorlib | |||
Both | System.Type | mscorlib | |||
Both | System.Type.FullName | mscorlib | |||
Both | System.Type.GetTypeFromHandle(System.RuntimeTypeHandle) | mscorlib | |||
Both | System.Type.GetFields(System.Reflection.BindingFlags) | mscorlib | |||
Both | System.Type.IsEquivalentTo(System.Type) | mscorlib | |||
Both | System.Type.operator ==(System.Type | System.Type) | |||
Both | System.Type.ToString() | mscorlib | |||
Both | System.ValueType | mscorlib | |||
Both | System.ValueType.Equals(object) | mscorlib | |||
Both | System.ValueType.GetHashCode() | mscorlib | |||
Both | System.ValueType.ToString() | mscorlib | |||
Both | System.Environment | mscorlib | |||
Both | System.Environment.CurrentManagedThreadId | mscorlib | |||
Both | System.Environment.NewLine | mscorlib | |||
Both | System.Environment.ProcessorCount | mscorlib | |||
Both | System.RuntimeType | mscorlib | |||
Both | System.RuntimeType.operator !=(System.RuntimeType | System.RuntimeType) | |||
Both | System.RuntimeType.GetFields(System.Reflection.BindingFlags) | mscorlib |