🎲Dice Game & Basketball Game & Notebook System

🎲 Dice Game

The prison system includes a dice mini-game that allows players to challenge each other and gamble with in-game money.

🎮 How It Works

  • Players can send dice game requests to other nearby players with a specified bet amount.

  • Once accepted, a synchronized dice-rolling interface opens and both players take turns.

  • The player with the higher dice result wins the round and receives the total wager.

📘 Commands

  • /dicesend [target_id] [amount] Send a dice challenge to a nearby player with the given amount. Example: /dicesend 5 100 sends a challenge to player ID 5 with a 100$ wager.

  • /diceaccept Accept the incoming dice challenge.

  • /dicedeny Reject the incoming dice challenge.

🧠 Notes

  • The mini-game runs through a custom NUI interface.

  • Dice roll outcomes and winner announcements are fully synced across clients.

  • The system ensures fair and immersive interactions inside prison or any other configured location.


📝 Notebook Feature

Players can use a notebook item to take notes and track their escape plan or findings.

📖 How It Works

  • Players receive an item named prison_notebook.

  • When used, a simple text-based UI is displayed, allowing the player to write and save notes.

✨ Highlights

  • Content is saved and linked to the player.

  • Notes are persistent across sessions.

  • Useful for roleplay, investigation, or coordination within the prison.


🏀 Basketball Mini-Game

Inside the prison yard, players can access a basketball court to relax and play with others.

🏗 Setup

  • Balls are spawned using a command defined in FRKN.General.Commands (default: /basket)

  • The maximum number of balls that can exist simultaneously is defined by FRKN.General.Limit (default: 5)

🎯 Gameplay Features

  • Pick up and dribble the ball

  • Change dribbling style

  • Shoot and drop the ball

This mini-game adds a fun and immersive recreational element to the prison experience.

Last updated