๐ฒ 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.
๐ 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
Download the pogue_liarsgame folder.
Place the folder in your RedM resources directory.
Add the script to your server configuration file (
server.cfg
):ensure pogue_liarsgame
2. Set Up the Database
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