Menu

Roblox Integration

New to BetaHub? BetaHub is a bug tracking and feedback platform for game developers. This integration adds an in-game feedback widget to your Roblox experience. Learn more →

Add a polished in-game feedback form to your Roblox experience, letting players submit bug reports and feature suggestions directly to BetaHub.

Overview

The BetaHub Roblox widget provides:

  • Unified feedback form — Bug reports and feature suggestions in a single dark-themed UI
  • Dual log capture — Both client and server console logs attached to bug reports, with server logs automatically marked as developer-private
  • Client-side validation — Minimum character counts with live feedback indicators
  • Server-side error display — API rejection reasons shown to the player
  • Per-player rate limiting — Configurable cooldown between submissions
  • Secure credentials — Uses Roblox HttpService:GetSecret() for API tokens
Suggestion Form Bug Report Form
Suggestion Form Bug Report Form

Prerequisites

Before you begin, ensure you have:

  • Roblox Studio installed
  • A BetaHub projectCreate one if you haven’t already
  • Project ID — Find it in Settings → Integrations → Auth Tokens tab (format: pr-XXXXXXXXXX)
  • Project Auth Token — Create one in Settings → Integrations → Auth Tokens with can_create_bug_report and can_create_feature_request permissions. See Project Auth Tokens for details.

Quick Start

1. Download the Widget

Download the latest BetaHubFeedbackWidget.rbxl from the GitHub repository.

2. Import into Your Game

  1. Open BetaHubFeedbackWidget.rbxl in Roblox Studio alongside your game
  2. In the Explorer panel, copy these instances from the widget file into your game:
Instance Copy To Purpose
StarterGui > BetahubFeedbackUi Your game’s StarterGui The feedback form UI
StarterGui > ExampleOpenCloseButton Your game’s StarterGui Example toggle button
ReplicatedStorage > BetahubFeedback Your game’s ReplicatedStorage Client-server communication
ServerScriptService > BetahubFeedbackServer Your game’s ServerScriptService Server-side API handler

3. Configure Secrets

The widget uses Roblox’s built-in secrets management to keep your API credentials secure.

  1. In Roblox Studio, go to File > Experience Settings > Security
  2. Under Secrets, add two entries:
    • Name: BH_PROJECT_IDValue: Your BetaHub project ID (e.g., pr-5287510306)
    • Name: BH_AUTH_TOKENValue: Your BetaHub project auth token (e.g., tkn-...)

4. Enable HTTP Requests

  1. In Roblox Studio, go to File > Experience Settings > Security
  2. Enable Allow HTTP Requests

5. Test It

Press Play in Roblox Studio. Click the “Example Open or Close Ui” button to open the feedback form. Try submitting a suggestion or bug report — you should see it appear in your BetaHub project dashboard.

Configuration

The server script (BetahubFeedbackServer) has configurable values at the top:

Setting Default Description
API_BASE_URL https://app.betahub.io BetaHub API endpoint
RATE_LIMIT 20 Seconds between submissions per player
RESET_RATE_LIMIT_ON_FAILURE false Whether to reset the rate limit when a submission fails. Keep false to prevent request spam if the API is down.

How It Works

Bug Reports

When a player submits a bug report:

  1. The player selects Bug, fills in a description (minimum 50 characters) and steps to reproduce
  2. The client captures a snapshot of its console log
  3. The server submits the bug report to BetaHub’s API
  4. If successful, the server uploads the client console log as an attachment
  5. The server also captures and uploads its own server console log, automatically marked as developer-private so it is hidden from players
  6. The player sees a success or error confirmation

Note: Server logs are automatically marked as developer-private — players will never see them. Only project members with developer access can view server logs in BetaHub.

Feature Suggestions

When a player submits a suggestion:

  1. The player selects Suggestion and fills in a description (minimum 80 characters)
  2. The server submits the suggestion to BetaHub’s API
  3. The player sees a success or error confirmation

Data Submitted

Field Bug Reports Suggestions
Description Yes Yes
Steps to reproduce Yes
Client console logs Yes (auto-captured)
Server console logs Yes (auto-captured, developer-private)
Roblox user ID Yes Yes
Report source “in-game”

Customizing the Toggle Button

The included ExampleOpenCloseButton is a simple example. You can trigger the feedback form from anywhere in your game by toggling the MainFrame.Visible property:

local betahubUi = game.Players.LocalPlayer.PlayerGui:WaitForChild("BetahubFeedbackUi")
betahubUi.MainFrame.Visible = not betahubUi.MainFrame.Visible

Tip: The included ExampleOpenCloseButton checks whether a confirmation prompt is open before toggling. Consider adding a similar guard in your custom implementation — you may also want to check for the error prompt (ErrorPrompt.Visible).

For example, you could open the feedback form from a settings menu, a keybind, or a custom button in your game’s UI.

Troubleshooting

“HTTP FAILURE” Error

  • Ensure Allow HTTP Requests is enabled in Experience Settings > Security
  • Verify your internet connection in Studio

Submissions Fail With Credentials Error

  • Check the Output console for warnings about missing secrets — the server logs a clear message at startup if BH_PROJECT_ID or BH_AUTH_TOKEN are not configured
  • Verify the project ID starts with pr- and the token starts with tkn-
  • Ensure the auth token has can_create_bug_report and can_create_feature_request permissions

“Error Occurred” After Submitting

  • The error message from the API is displayed in the error prompt
  • Common causes: description too short (server-side validation), invalid project ID, expired auth token

Widget Doesn’t Appear In-Game

  • Verify BetahubFeedbackUi is in StarterGui
  • Check the Output console for script errors
  • Ensure BetahubFeedback RemoteFunction exists in ReplicatedStorage

Getting Help

For support:

See Also

Roblox Integration

New to BetaHub? BetaHub is a bug tracking and feedback platform for game developers. This integration adds an in-game feedback widget to your Roblox experience. Learn more →

Add a polished in-game feedback form to your Roblox experience, letting players submit bug reports and feature suggestions directly to BetaHub.

Overview

The BetaHub Roblox widget provides:

  • Unified feedback form — Bug reports and feature suggestions in a single dark-themed UI
  • Dual log capture — Both client and server console logs attached to bug reports, with server logs automatically marked as developer-private
  • Client-side validation — Minimum character counts with live feedback indicators
  • Server-side error display — API rejection reasons shown to the player
  • Per-player rate limiting — Configurable cooldown between submissions
  • Secure credentials — Uses Roblox HttpService:GetSecret() for API tokens
Suggestion Form Bug Report Form
Suggestion Form Bug Report Form

Prerequisites

Before you begin, ensure you have:

  • Roblox Studio installed
  • A BetaHub projectCreate one if you haven’t already
  • Project ID — Find it in Settings → Integrations → Auth Tokens tab (format: pr-XXXXXXXXXX)
  • Project Auth Token — Create one in Settings → Integrations → Auth Tokens with can_create_bug_report and can_create_feature_request permissions. See Project Auth Tokens for details.

Quick Start

1. Download the Widget

Download the latest BetaHubFeedbackWidget.rbxl from the GitHub repository.

2. Import into Your Game

  1. Open BetaHubFeedbackWidget.rbxl in Roblox Studio alongside your game
  2. In the Explorer panel, copy these instances from the widget file into your game:
Instance Copy To Purpose
StarterGui > BetahubFeedbackUi Your game’s StarterGui The feedback form UI
StarterGui > ExampleOpenCloseButton Your game’s StarterGui Example toggle button
ReplicatedStorage > BetahubFeedback Your game’s ReplicatedStorage Client-server communication
ServerScriptService > BetahubFeedbackServer Your game’s ServerScriptService Server-side API handler

3. Configure Secrets

The widget uses Roblox’s built-in secrets management to keep your API credentials secure.

  1. In Roblox Studio, go to File > Experience Settings > Security
  2. Under Secrets, add two entries:
    • Name: BH_PROJECT_IDValue: Your BetaHub project ID (e.g., pr-5287510306)
    • Name: BH_AUTH_TOKENValue: Your BetaHub project auth token (e.g., tkn-...)

4. Enable HTTP Requests

  1. In Roblox Studio, go to File > Experience Settings > Security
  2. Enable Allow HTTP Requests

5. Test It

Press Play in Roblox Studio. Click the “Example Open or Close Ui” button to open the feedback form. Try submitting a suggestion or bug report — you should see it appear in your BetaHub project dashboard.

Configuration

The server script (BetahubFeedbackServer) has configurable values at the top:

Setting Default Description
API_BASE_URL https://app.betahub.io BetaHub API endpoint
RATE_LIMIT 20 Seconds between submissions per player
RESET_RATE_LIMIT_ON_FAILURE false Whether to reset the rate limit when a submission fails. Keep false to prevent request spam if the API is down.

How It Works

Bug Reports

When a player submits a bug report:

  1. The player selects Bug, fills in a description (minimum 50 characters) and steps to reproduce
  2. The client captures a snapshot of its console log
  3. The server submits the bug report to BetaHub’s API
  4. If successful, the server uploads the client console log as an attachment
  5. The server also captures and uploads its own server console log, automatically marked as developer-private so it is hidden from players
  6. The player sees a success or error confirmation

Note: Server logs are automatically marked as developer-private — players will never see them. Only project members with developer access can view server logs in BetaHub.

Feature Suggestions

When a player submits a suggestion:

  1. The player selects Suggestion and fills in a description (minimum 80 characters)
  2. The server submits the suggestion to BetaHub’s API
  3. The player sees a success or error confirmation

Data Submitted

Field Bug Reports Suggestions
Description Yes Yes
Steps to reproduce Yes
Client console logs Yes (auto-captured)
Server console logs Yes (auto-captured, developer-private)
Roblox user ID Yes Yes
Report source “in-game”

Customizing the Toggle Button

The included ExampleOpenCloseButton is a simple example. You can trigger the feedback form from anywhere in your game by toggling the MainFrame.Visible property:

local betahubUi = game.Players.LocalPlayer.PlayerGui:WaitForChild("BetahubFeedbackUi")
betahubUi.MainFrame.Visible = not betahubUi.MainFrame.Visible

Tip: The included ExampleOpenCloseButton checks whether a confirmation prompt is open before toggling. Consider adding a similar guard in your custom implementation — you may also want to check for the error prompt (ErrorPrompt.Visible).

For example, you could open the feedback form from a settings menu, a keybind, or a custom button in your game’s UI.

Troubleshooting

“HTTP FAILURE” Error

  • Ensure Allow HTTP Requests is enabled in Experience Settings > Security
  • Verify your internet connection in Studio

Submissions Fail With Credentials Error

  • Check the Output console for warnings about missing secrets — the server logs a clear message at startup if BH_PROJECT_ID or BH_AUTH_TOKEN are not configured
  • Verify the project ID starts with pr- and the token starts with tkn-
  • Ensure the auth token has can_create_bug_report and can_create_feature_request permissions

“Error Occurred” After Submitting

  • The error message from the API is displayed in the error prompt
  • Common causes: description too short (server-side validation), invalid project ID, expired auth token

Widget Doesn’t Appear In-Game

  • Verify BetahubFeedbackUi is in StarterGui
  • Check the Output console for script errors
  • Ensure BetahubFeedback RemoteFunction exists in ReplicatedStorage

Getting Help

For support:

See Also

BetaHub Help
AI