๐ŸŽฒ Pogue Liar's Game For RedM

Welcome to Pogue Liar's Game, a fun and strategic card game designed to bring excitement and bluffing tactics to your RedM server!

๐Ÿ’ฌ Support


๐Ÿ“œ Overview

The Pogue Liar's Game script provides dynamic card-based gameplay with a focus on bluffing, strategy, and competitive interactions. Players compete to empty their hands while managing bluffs and penalties. The latest features introduce job-based commissions, configurable entry fees, prize distribution, and a robust database system to track commissions.


โœจ Features

๐Ÿ‘ฅ Multiplayer Gameplay

  • 2 to 4 players can join a single game.

๐Ÿคฅ Bluffing Mechanics

  • Trick and outplay your opponents with strategic bluffing.

๐Ÿƒ Special Joker Rules

  • Adds depth and strategy to gameplay.

๐ŸŽ Prize System

  • Configurable rewards for the game winner.

๐Ÿ’ผ Job-Based Commissions

  • Assign a specific job (e.g., dealer) to manage commissions.

  • The job-holder earns a commission from the entry fee for each player joining the game.

  • Commissions are tracked in the pogue_laircommission.sql table.

๐Ÿ’ฐ Commission Management Commands

  • /viewcommission: View the current commission balance for the job.

  • /withdrawcommission: Withdraw the accumulated commission.

๐Ÿ“ Proximity-Based Commission Management

  • Job holders must be within a configurable distance (TableRadius) of the game table to withdraw commissions.

๐ŸŽ Prize and Entry Fee Updates

  • Enable or disable the entry fee and prize distribution via config.lua.

  • Entry fees are split between the prize pool and job-holder commission.

  • ๐Ÿ› ๏ธ Example Scenario

    • Entry Fee: $100 per player

    • Commission Rate: 10%

    • Players Per Game: 4

    In this example:

    • Total Entry Fees Collected: $400

    • Commission Earned by Job Holder: $40 (10%)

    • Prize Pool Distributed Among Players: $360

๐ŸŒ Multilingual Support

  • Play in English or dynamic language options.

๐Ÿ–ฅ๏ธ Interactive User Interface

  • Smooth gameplay experience with in-game prompts and user-friendly UI.


๐Ÿ“‚ File Structure

๐Ÿ“ก Server-Side Files

  • server/server.lua: Handles player participation, card distribution, bluff detection, prize allocation, and commission management.

๐Ÿ’ป Client-Side Files

  • client/client.lua: Manages gameplay actions and UI prompts.

  • client/ui/: Contains the NUI interface for interactive gameplay.

โš™๏ธ Configuration

  • config.lua: Customize settings, including:

    • ๐ŸŒ Language Options: Switch between English and More.

    • ๐Ÿ’ฐ Entry Fee: Enable or disable the fee and set the amount.

    • ๐Ÿ’ผ Job Name and Commission Rate: Assign a job and configure the percentage.

    • ๐Ÿ“ Table Radius: Set the distance within which commission can be managed.

    • ๐ŸŽ Prize Distribution: Toggle prize rewards for winners.

    • ๐Ÿ“ Table Position: Define the table's coordinates for proximity checks.


๐Ÿ”ง Installation Instructions

1. Add the Script to Your Server

  1. Download the pogue_liarsgame folder.

  2. Place the folder in your RedM resources directory.

  3. Add the script to your server configuration file (server.cfg):

    ensure pogue_liarsgame

2. Set Up the Database

  1. Run the following SQL files:

    • pogue_liarcommission.sql: Tracks the accumulated commissions for job holders.

    • Other SQL Files (if applicable for related features).

3. Configure Settings

  • Open the config.lua file to adjust:

    • Language preferences.

    • Entry fees and prize distribution.

    • Job and commission settings.


๐Ÿ› ๏ธ Requirements

  • VORP Core Framework: Ensure vorp_core is installed and functional.

  • RSG Core Framework: Ensure rsg_core is installed and functional.


๐ŸŽฎ How It Works

1. Joining the Game

  • Players join via in-game prompts integrated into the user interface.

2. Card Distribution

  • Cards are randomly distributed to players at the start of the game.

3. Bluffing and Gameplay

  • Players take turns playing cards and can choose to bluff.

  • Opponents can call out bluffs, resulting in success or penalties.

4. Prize Distribution and Commissions

  • Entry fees are pooled, with a percentage going to the job-holder as commission.

  • The remaining pool is distributed among the winners.

5. Managing Commissions

  • The job-holder uses /viewcommission to check their balance and /withdrawcommission to collect their earnings.

  • They must be within the specified distance of the table to withdraw funds.

6. Winning the Game

  • The first player to run out of cards wins and receives the configured prize.


๐Ÿ“‹ Special Considerations

  • Immersive Roleplay: Perfect for integrating into roleplay events or casual gameplay.

  • Dynamic Gameplay: Bluffing mechanics and special rules keep the game engaging and unpredictable.

  • Job-Based Economy: Adds a unique role for managing game commissions.

  • Customizable Settings: Tailor entry fees, commission rates, and prize pools to suit your server's economy in config.lua.

  • Database Integration: Tracks commissions in the pogue_liarcommission.sql table for accurate and secure handling.


For questions or additional resources, join our Discord or visit our Tebex store.

Enjoy the Pogue Liar's Game and its exciting new features! Bluff your way to victory and create a thriving server economy. ๐ŸŽ‰

Last updated