Skip to content

prp-minigames

prp-minigames is a standalone NUI minigame library used across Prodigy Studios scripts. It provides a collection of interactive challenges that can be triggered by other resources to add skill-based gameplay to various activities.

Overview

prp-minigames acts as a shared minigame provider. Instead of each script bundling its own minigame logic, they call prp-minigames through exports to display and handle challenges directly in the player's UI.

Features

  • NUI-Based: All minigames run entirely in the browser-based UI
  • Multiple Minigame Types: A variety of challenge styles suited for different gameplay scenarios. Examples available here
  • Export API: Simple export interface that any resource can use to trigger minigames
  • Callback Support: Asynchronous result handling - pass/fail is returned directly to the calling script
  • Configurable Parameters: Difficulty, timing, and other properties can be adjusted per call

Usage

prp-minigames is not a standalone gameplay script - it is a dependency used by other Prodigy Studios resources. You do not need to configure it beyond ensuring it is started and listed as a dependency in your other scripts.

Requirements

  • prp-bridge - required for all Prodigy Studios scripts (Minigames can be used without it, after making sure to apply changes in client/editableClient.lua)

Important Notes

  • prp-minigames must be started before any resource that depends on it

Support

If you encounter any issues, please ensure prp-minigames is started and that your dependent scripts reference it correctly. For further help, visit our Discord.