Skip to content
Roblox API Reference

ModerationService

Server-side service for submitting player captures to content moderation review and receiving the results asynchronously.
  • Not creatable
  • Not replicated
  • Service
Memory category
Instances
Own members
7
Inherited members
75
Subclasses
0
Siblings
608

Properties23

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Methods48

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byModerationService6
  • ModerationService:BindReviewableContentEventProcessor(priority: number,callback: (...any) -> ...any,): RBXScriptConnection
    Registers a server-side processor, ordered by priority, that is invoked for each moderation review event on reviewable content.
    • Capabilities: Consequences
    Parameters
    ParameterDescription
    priority: number
    Determines the order in which this processor is invoked relative to other bound processors.
    callback: (...any) -> ...any
    The function invoked for each reviewable-content event. It receives a table describing the event and should return true to acknowledge the event or false to leave it for redelivery.
    Returns
    TypeDescription
    RBXScriptConnection
    A connection that can be disconnected to unregister the processor.
  • ModerationService:BindViolationProcessor(priority: number,callback: (...any) -> ...any,): RBXScriptConnection
    • Capabilities: Consequences
    Parameters
    Parameter
    priority: number
    callback: (...any) -> ...any
  • ModerationService:CreateReviewableContentAsync(config: { [string]: any }): string
    Registers user-generated captures for moderation review and triggers the owning clients to upload them, returning the reviewable-content ID.
    • Yields
    • Capabilities: Consequences
    Parameters
    ParameterDescription
    config: { [string]: any }
    A table of parameters describing the content to review, including an optional Id, an optional Ref, and a Content list of image or video items.
    Returns
    TypeDescription
    string
    The ID of the created reviewable content.
  • ModerationService:CreateReviewableContentKey(content: Content): string
    Returns an opaque key that identifies a screenshot or video capture for use with CreateReviewableContentAsync().
    • Capabilities: Consequences
    Parameters
    ParameterDescription
    content: Content
    A Content referring to a screenshot or video capture (a temporary URI from CaptureService:CaptureScreenshot(), a ScreenshotCapture, or a VideoCapture).
    Returns
    TypeDescription
    string
    An opaque content key identifying the capture.
  • ModerationService:InternalRequestReviewableContentReviewAsync(config: { [string]: any })
    • Yields
    • Capabilities: Consequences + InternalTest
    Parameters
    Parameter
    config: { [string]: any }
  • ModerationService:MockViolationCallbackAsync(report: { [string]: any })
    • Capabilities: Consequences
    Parameters
    Parameter
    report: { [string]: any }

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byModerationService1