Installation
This guide will walk you through installing prp-dartboard on your FiveM server.
Installation steps
1
Download the resources
Download both
prp-dartboard and prp-dartboard-assets from the CFX portal and place them in your resources folder.2
Add to server.cfg
Add both resources to your
server.cfg after all dependencies, with the assets resource before the main script. ensure ox_lib
ensure oxmysql
ensure prp-bridge
ensure prp-dartboard-assets
ensure prp-dartboard3
Database
The
dartboards table is created automatically on first start. No manual SQL is required.4
Optional: webhook
Set
Config.LogWebhookURL in editable/sv_config.lua for logs to Discord.5
Place dartboard
Start the resource and use the
/placedartboard command in-game to place your first dartboard (requires admin permission).