$engine: 3 $onesync: on name: Qbox Project version: 1.0.0 author: The Community description: A FiveM core with a load of bloat. tasks: # Download Base Files - action: download_github src: https://github.com/qbox-project/txAdminRecipe ref: main dest: ./tmp/qbox - action: move_path src: ./tmp/qbox/server.cfg dest: ./server.cfg - action: move_path src: ./tmp/qbox/permissions.cfg dest: ./permissions.cfg - action: move_path src: ./tmp/qbox/ox.cfg dest: ./ox.cfg - action: move_path src: ./tmp/qbox/voice.cfg dest: ./voice.cfg - action: move_path src: ./tmp/qbox/misc.cfg dest: ./misc.cfg - action: move_path src: ./tmp/qbox/myLogo.png dest: ./myLogo.png # Prepare Database - action: connect_database - action: query_database file: ./tmp/qbox/qbox.sql # STANDALONE - action: download_github src: https://github.com/citizenfx/cfx-server-data subpath: resources dest: ./resources/[cfx-default] - action: remove_path path: ./resources/[cfx-default]/[gameplay]/chat - action: download_github dest: ./resources/[standalone]/bob74_ipl ref: master src: https://github.com/Bob74/bob74_ipl - action: download_github dest: ./resources/[standalone]/safecracker ref: main src: https://github.com/qbox-project/safecracker - action: download_file path: ./tmp/screencapture.zip url: https://github.com/itschip/screencapture/releases/latest/download/screencapture.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/screencapture.zip - action: download_github dest: ./resources/[standalone]/mhacking ref: main src: https://github.com/qbox-project/mhacking - action: download_github dest: ./resources/[standalone]/scully_emotemenu ref: main src: https://github.com/Scullyy/scully_emotemenu - action: download_github dest: ./resources/[standalone]/ultra-voltlab ref: main src: https://github.com/ultrahacx/ultra-voltlab - action: download_file path: ./tmp/Renewed-Banking.zip url: https://github.com/Renewed-Scripts/Renewed-Banking/releases/latest/download/Renewed-Banking.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/Renewed-Banking.zip - action: download_file path: ./tmp/illenium-appearance.zip url: https://github.com/iLLeniumStudios/illenium-appearance/releases/latest/download/illenium-appearance.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/illenium-appearance.zip - action: download_github dest: ./resources/[standalone]/MugShotBase64 ref: main src: https://github.com/BaziForYou/MugShotBase64 subpath: MugShotBase64 - action: download_file url: https://raw.githubusercontent.com/BaziForYou/MugShotBase64/main/README.md path: ./resources/[standalone]/MugShotBase64/README.md - action: download_file url: https://raw.githubusercontent.com/BaziForYou/MugShotBase64/main/LICENSE.md path: ./resources/[standalone]/MugShotBase64/LICENSE.md - action: download_file path: ./tmp/Renewed-Weathersync.zip url: https://github.com/Renewed-Scripts/Renewed-Weathersync/releases/latest/download/Renewed-Weathersync.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/Renewed-Weathersync.zip - action: download_file path: ./tmp/xt-prison.zip url: https://github.com/xT-Development/xt-prison/releases/latest/download/xt-prison.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/xt-prison.zip - action: download_file path: ./tmp/vehiclehandler.zip url: https://github.com/QuantumMalice/vehiclehandler/releases/latest/download/vehiclehandler.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/vehiclehandler.zip - action: download_file path: ./tmp/loadscreen.zip url: https://github.com/D4isDAVID/loadscreen/releases/latest/download/loadscreen.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/loadscreen.zip - action: copy_path src: ./myLogo.png dest: ./resources/[standalone]/loadscreen/html/assets/logo.png overwrite: true - action: download_file path: ./tmp/mana_audio.zip url: https://github.com/Manason/mana_audio/releases/latest/download/mana_audio.zip - action: unzip dest: ./resources/[standalone] src: ./tmp/mana_audio.zip # VOICE - action: download_github dest: ./resources/[voice]/pma-voice ref: main src: https://github.com/AvarianKnight/pma-voice - action: download_file path: ./tmp/mm_radio.zip url: https://github.com/qbox-project/mm_radio/releases/latest/download/mm_radio.zip - action: unzip dest: ./resources/[voice] src: ./tmp/mm_radio.zip # Downloading Qbox resources - action: download_github dest: ./resources/[qbx]/qbx_core ref: main src: https://github.com/qbox-project/qbx_core - action: query_database file: ./resources/[qbx]/qbx_core/qbx_core.sql - action: download_github dest: ./resources/[qbx]/qbx_vehicles ref: main src: https://github.com/qbox-project/qbx_vehicles - action: query_database file: ./resources/[qbx]/qbx_vehicles/vehicles.sql - action: download_github dest: ./resources/[qbx]/qbx_scoreboard ref: main src: https://github.com/qbox-project/qbx_scoreboard - action: download_github dest: ./resources/[qbx]/qbx_adminmenu ref: main src: https://github.com/qbox-project/qbx_adminmenu - action: download_github dest: ./resources/[qbx]/qbx_vehiclesales ref: main src: https://github.com/qbox-project/qbx_vehiclesales - action: query_database file: ./resources/[qbx]/qbx_vehiclesales/qbx_vehiclesales.sql - action: download_github dest: ./resources/[qbx]/qbx_vehicleshop ref: main src: https://github.com/qbox-project/qbx_vehicleshop - action: query_database file: ./resources/[qbx]/qbx_vehicleshop/vehshop.sql - action: download_github dest: ./resources/[qbx]/qbx_houserobbery ref: main src: https://github.com/qbox-project/qbx_houserobbery - action: download_github dest: ./resources/[qbx]/qbx_hud ref: main src: https://github.com/qbox-project/qbx_hud - action: download_github dest: ./resources/[qbx]/qbx_seatbelt ref: main src: https://github.com/qbox-project/qbx_seatbelt - action: download_github dest: ./resources/[qbx]/qbx_management ref: main src: https://github.com/qbox-project/qbx_management - action: download_github dest: ./resources/[qbx]/qbx_weed ref: main src: https://github.com/qbox-project/qbx_weed - action: query_database file: ./resources/[qbx]/qbx_weed/sql/qbx_weed.sql - action: download_github dest: ./resources/[qbx]/qbx_lapraces ref: main src: https://github.com/qbox-project/qbx_lapraces - action: query_database file: ./resources/[qbx]/qbx_lapraces/qbx_lapraces.sql - action: download_github dest: ./resources/[qbx]/qbx_garages ref: main src: https://github.com/qbox-project/qbx_garages - action: download_github dest: ./resources/[qbx]/qbx_ambulancejob ref: main src: https://github.com/qbox-project/qbx_ambulancejob - action: download_github dest: ./resources/[qbx]/qbx_medical ref: main src: https://github.com/qbox-project/qbx_medical - action: download_github dest: ./resources/[qbx]/qbx_radialmenu ref: main src: https://github.com/qbox-project/qbx_radialmenu - action: download_github dest: ./resources/[qbx]/qbx_police ref: main src: https://github.com/qbox-project/qbx_police - action: download_github dest: ./resources/[qbx]/qbx_properties ref: main src: https://github.com/qbox-project/qbx_properties - action: download_github dest: ./resources/[qbx]/qbx_vehiclekeys ref: main src: https://github.com/qbox-project/qbx_vehiclekeys - action: download_github dest: ./resources/[qbx]/qbx_mechanicjob ref: main src: https://github.com/qbox-project/qbx_mechanicjob - action: download_github dest: ./resources/[qbx]/qbx_vineyard ref: main src: https://github.com/qbox-project/qbx_vineyard - action: download_github dest: ./resources/[qbx]/qbx_scrapyard ref: main src: https://github.com/qbox-project/qbx_scrapyard - action: download_github dest: ./resources/[qbx]/qbx_towjob ref: main src: https://github.com/qbox-project/qbx_towjob - action: download_github dest: ./resources/[qbx]/qbx_streetraces ref: main src: https://github.com/qbox-project/qbx_streetraces - action: download_github dest: ./resources/[qbx]/qbx_storerobbery ref: main src: https://github.com/qbox-project/qbx_storerobbery - action: download_github dest: ./resources/[qbx]/qbx_spawn ref: main src: https://github.com/qbox-project/qbx_spawn - action: download_github dest: ./resources/[qbx]/qbx_smallresources ref: main src: https://github.com/qbox-project/qbx_smallresources - action: download_github dest: ./resources/[qbx]/qbx_recyclejob ref: main src: https://github.com/qbox-project/qbx_recyclejob - action: download_github dest: ./resources/[qbx]/qbx_diving ref: main src: https://github.com/qbox-project/qbx_diving - action: download_github dest: ./resources/[qbx]/qbx_divegear ref: main src: https://github.com/qbox-project/qbx_divegear - action: download_github dest: ./resources/[qbx]/qbx_cityhall ref: main src: https://github.com/qbox-project/qbx_cityhall - action: download_github dest: ./resources/[qbx]/qbx_truckrobbery ref: main src: https://github.com/qbox-project/qbx_truckrobbery - action: download_github dest: ./resources/[qbx]/qbx_pawnshop ref: main src: https://github.com/qbox-project/qbx_pawnshop - action: download_github dest: ./resources/[qbx]/qbx_taxijob ref: main src: https://github.com/qbox-project/qbx_taxijob - action: download_github dest: ./resources/[qbx]/qbx_busjob ref: main src: https://github.com/qbox-project/qbx_busjob - action: download_github dest: ./resources/[qbx]/qbx_newsjob ref: main src: https://github.com/qbox-project/qbx_newsjob - action: download_github dest: ./resources/[qbx]/qbx_jewelery ref: main src: https://github.com/qbox-project/qbx_jewelery - action: download_github dest: ./resources/[qbx]/qbx_bankrobbery ref: main src: https://github.com/qbox-project/qbx_bankrobbery - action: download_github dest: ./resources/[qbx]/qbx_truckerjob ref: main src: https://github.com/qbox-project/qbx_truckerjob - action: download_github dest: ./resources/[qbx]/qbx_garbagejob ref: main src: https://github.com/qbox-project/qbx_garbagejob - action: download_github dest: ./resources/[qbx]/qbx_drugs ref: main src: https://github.com/qbox-project/qbx_drugs - action: query_database file: ./resources/[qbx]/qbx_drugs/qbx_drugs.sql - action: waste_time # prevent github throttling seconds: 10 - action: download_github dest: ./resources/[qbx]/qbx_idcard ref: main src: https://github.com/Qbox-project/qbx_idcard - action: download_github dest: ./resources/[qbx]/qbx_binoculars ref: main src: https://github.com/Qbox-project/qbx_binoculars - action: download_github dest: ./resources/[qbx]/qbx_carwash ref: main src: https://github.com/Qbox-project/qbx_carwash - action: download_github dest: ./resources/[qbx]/qbx_fireworks ref: main src: https://github.com/Qbox-project/qbx_fireworks - action: download_github dest: ./resources/[qbx]/qbx_density ref: main src: https://github.com/Qbox-project/qbx_density - action: download_github dest: ./resources/[qbx]/qbx_customs ref: main src: https://github.com/Qbox-project/qbx_customs - action: download_github dest: ./resources/[qbx]/qbx_chat_theme ref: main src: https://github.com/Qbox-project/qbx_chat_theme # OX - action: download_file path: ./tmp/ox_lib.zip url: https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip - action: unzip dest: ./resources/[ox] src: ./tmp/ox_lib.zip - action: download_file path: ./tmp/ox_target.zip url: https://github.com/overextended/ox_target/releases/latest/download/ox_target.zip - action: unzip dest: ./resources/[ox] src: ./tmp/ox_target.zip - action: download_file path: ./tmp/oxmysql.zip url: https://github.com/overextended/oxmysql/releases/latest/download/oxmysql.zip - action: unzip dest: ./resources/[ox] src: ./tmp/oxmysql.zip - action: download_file path: ./tmp/ox_doorlock.zip url: https://github.com/overextended/ox_doorlock/releases/latest/download/ox_doorlock.zip - action: unzip dest: ./resources/[ox] src: ./tmp/ox_doorlock.zip - action: download_file path: ./tmp/ox_inventory.zip url: https://github.com/overextended/ox_inventory/releases/latest/download/ox_inventory.zip - action: unzip dest: ./resources/[ox] src: ./tmp/ox_inventory.zip - action: move_path src: ./tmp/qbox/items.lua dest: ./resources/[ox]/ox_inventory/data/items.lua overwrite: true - action: download_github dest: ./tmp/qbox/ ref: main src: https://github.com/Qbox-project/qbx_invimages - action: move_path src: ./tmp/qbox/images dest: ./resources/[ox]/ox_inventory/web/images overwrite: true - action: download_github dest: ./resources/[ox]/ox_fuel ref: main src: https://github.com/overextended/ox_fuel # NPWD - action: download_file path: ./tmp/npwd.zip url: https://github.com/project-error/npwd/releases/download/3.16.0/npwd.zip - action: unzip dest: ./resources/[npwd]/ src: ./tmp/npwd.zip - action: query_database file: ./resources/[npwd]/npwd/import.sql - action: download_github dest: ./resources/[npwd]/qbx_npwd ref: main src: https://github.com/Qbox-project/qbx_npwd - action: move_path src: ./resources/[npwd]/qbx_npwd/config.json dest: ./resources/[npwd]/npwd/config.json overwrite: true - action: download_file path: ./tmp/npwd_qbx_garages.zip url: https://github.com/Qbox-project/npwd_qbx_garages/releases/latest/download/npwd_qbx_garages.zip - action: unzip dest: ./resources/[npwd-apps] src: ./tmp/npwd_qbx_garages.zip - action: download_file path: ./tmp/npwd_qbx_mail.zip url: https://github.com/Qbox-project/npwd_qbx_mail/releases/latest/download/npwd_qbx_mail.zip - action: unzip dest: ./resources/[npwd-apps] src: ./tmp/npwd_qbx_mail.zip - action: download_github dest: ./resources/[assets]/pillbox ref: main src: https://github.com/Lorenc95/pillbox # Clean up - action: remove_path path: ./tmp