[ESX] SF Minigame – Number Puzzle, Tetris & Leaderboards | ScriptForge
SF Minigame adds two ready-to-use minigames with a dedicated NUI, multiple difficulty levels, and server-based leaderboards to your FiveM server.
The games can be launched through the ScriptForge Tablet or integrated into other resources using the available exports and events.
Included Minigames
Number Puzzle
Players must move the numbered tiles into the correct order.
Included features:
- Easy, Medium, and Hard difficulty levels
- Time and move tracking
- Limited hints
- Mouse and arrow-key controls
- Personal best scores
- Server-based leaderboard
Tetris
Tetris includes both objective-based rounds and an endless mode.
Included features:
- Completed rows as the round objective
- Endless Tetris mode
- Next-piece preview
- Ghost-piece position
- Arrow-key and spacebar controls
- Row and playtime tracking
- Personal best scores
- Server-based leaderboard
Leaderboards
Results are processed and stored server-side.
For the number puzzle, the ranking considers moves, used hints, and completion time. Endless Tetris records completed rows and playtime.
The script provides:
- Personal best scores
- Top 10 leaderboards
- Server records
- Notifications for new personal bests
- Notifications when an existing record is beaten
ScriptForge Integration
SF Minigame is fully integrated with the ScriptForge Tablet.
Players can:
- Start the number puzzle
- Start Tetris
- Select a difficulty level
- View their personal results
- View the server leaderboard
New personal bests and beaten records can be stored permanently in the Tablet Notification Center.
If SF Notify is installed and authorized, an additional live in-game notification is displayed.
Integration with Other Resources
Developers can use the provided client export or start event. The current minigame status can also be checked, and an active minigame can be cancelled in a controlled manner.
Available exports:
exports['sf_minigame']:Start(options)
exports['sf_minigame']:IsActive()
exports['sf_minigame']:Cancel()
Start via event:
TriggerEvent('sf_minigame:client:start', options)
After a game ends, a completion event provides the result, recorded game values, and completion reason.
Requirements
- ESX Legacy
- oxmysql
- SF Tablet
- Valid product entitlement through the connected Tablet license slot
- SF Tablet is available free of charge
SF Minigame does not operate without a running and authorized SF Tablet installation.
Screenshots
Number Puzzle
Live number puzzle showing the remaining time, move counter, difficulty, and hint function.
Successful Completion
Immediate feedback after placing all numbers in the correct order.
Endless Tetris
Real gameplay showing completed rows, the next piece, and keyboard controls.
Leaderboards
Personal best scores and the current top results on the server.
Support and Links
- Website: https://www.sfscripts.de/
- Product page: https://scriptforge-webstore.tebex.io/package/7592817
- ScriptForge Panel: https://panel.sfscripts.de
- Discord: SCRIPTFORGE
- Documentation: https://docs.sfscripts.de
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 945 lines |
| Requirements | ESX Legacy, oxmysql, SF Tablet |
| Support | Yes |




