🪶Commands & Export
💬 Commands
The script includes a variety of built-in commands for administrative control, player interaction, and minigame access.
🧑⚖️ Jail Commands
/jailmenuOpens the jail management interface for authorized users. This menu allows you to jail nearby players, set durations, assign tasks, and review player details.
/jailListDisplays a full list of all current inmates along with their jail time, tasks completed, and escape status. Only accessible by authorized staff.
🏀 Basketball Command
/basket(or your configured command name) Spawns a basketball in the yard if the player is inside a valid basketball zone. The command respects a maximum spawn limit defined in the config.After spawning the ball, players are prompted with controls for:
Picking up the ball
Changing dribble style
Shooting the ball
Detaching the ball

🎲 Dice Game Commands
/dicesend [id] [amount]Sends a dice game request to a nearby player with the specified bet amount./diceacceptAccepts an incoming dice game request./dicedenyRejects an incoming dice game request.
Export: JailPlayer
Send players to jail from any external resource (MDT, policejob, etc.).
Usage (Server-Side)
Parameters
copSource
number
Server ID of the officer sending the player to jail
targetSource
number
Server ID of the player being jailed
jailTime
number
Jail duration in minutes
reason
string
Reason for imprisonment
Example
What It Does
Teleports the player to prison
Saves and clears the player's inventory
Assigns prison tasks (Dish Washing, Exercise, Cleaning)
Creates a database record
Automatically releases the player and restores inventory when time is up
Last updated