๐ฒ 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.
&#xNAN;Example:/dicesend 5 100sends 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.
<figure><img src="../../.gitbook/assets/image (92).png" alt=""><figcaption></figcaption></figure>
๐ 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.
<figure><img src="../../.gitbook/assets/image (94).png" alt=""><figcaption></figcaption></figure>
๐ 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.
