• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    ModerationError

    Error codes returned by moderation operations (Ban, Kick, Mute, etc.). Check for ModerationError.None to confirm successful operations.

    Available on: Server scripts only

    Properties

    The cursor ID provided to GetBannedUsers is invalid or expired. Start from the beginning with a nil cursor.

    The limit parameter for GetBannedUsers is invalid (too high or too low). Typical valid range is 1-100.

    The requesting player does not have permission to perform this moderation action. Only moderators and world owners can use moderation features.

    An internal server error occurred. Retry the operation.

    The specified user ID does not exist or is invalid. Verify the user ID is correct.

    None

    ServerOnly
    ReadOnly

    Operation completed successfully with no errors.

    Too many moderation requests sent too quickly. Wait before retrying. Rate limiting is in effect to prevent abuse.

    Timeout

    ServerOnly
    ReadOnly

    The operation timed out before completing. Retry the operation.

    UnknownError

    ServerOnly
    ReadOnly

    An unknown error occurred. Check server logs for details.

    Updated 13 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.