CONTENT CONTRACT · VERSION 1
AuthorityScript
Authority script source, event, effect capabilities and parameter declarations.
Signature
{ effects: {EffectKind}, event: EventKind, id: ContentId, parameters: {ParameterDeclaration}, path: ScriptPath, random_streams: {Name}, target_packages: {PackageId} }Fields
| Name | Type | Meaning |
|---|---|---|
effects | {EffectKind} | Unique effect capabilities the handler is permitted to return. Items: 0…4096; Unique entries |
event | EventKind | Event kind or typed event payload selected by the handler declaration. |
id | ContentId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
parameters | {ParameterDeclaration} | Ordered declarations of the exact parameter names, scalar types and bounds. Items: 0…4096; Unique entries |
path | ScriptPath | Package-relative source file; traversal and aliases are forbidden. Length: 1…4096; Pattern: ^(?:[a-z0-9_][a-z0-9_-]*/)*[a-z0-9_][a-z0-9_-]*\.luau$ |
random_streams | {Name} | Unique deterministic RNG stream names allowed for this script. Items: 0…4096; Unique entries |
target_packages | {PackageId} | Requested target packages; effective rights also require host approval and event scope. Items: 1…64; Unique entries |