$engine: 3 $onesync: on name: Qbox Stable version: 1.0.0 author: The Community description: Only includes stable, released resources. Recommend for those who want a working server out of the box. However some popular resources may be missing. 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/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/qbx_radio.zip url: https://github.com/qbox-project/qbx_radio/releases/latest/download/qbx_radio.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_radio.zip # Downloading Qbox resources - action: download_file path: ./tmp/qbx_core.zip url: https://github.com/qbox-project/qbx_core/releases/latest/download/qbx_core.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_core.zip - action: query_database file: ./resources/[qbx]/qbx_core/qbx_core.sql - action: download_file path: ./tmp/qbx_vehicles.zip url: https://github.com/qbox-project/qbx_vehicles/releases/latest/download/qbx_vehicles.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_vehicles.zip - action: query_database file: ./resources/[qbx]/qbx_vehicles/vehicles.sql - action: download_file path: ./tmp/qbx_management.zip url: https://github.com/qbox-project/qbx_management/releases/latest/download/qbx_management.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_management.zip - action: download_file path: ./tmp/qbx_diving.zip url: https://github.com/qbox-project/qbx_diving/releases/latest/download/qbx_diving.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_diving.zip - action: download_file path: ./tmp/qbx_divegear.zip url: https://github.com/qbox-project/qbx_divegear/releases/latest/download/qbx_divegear.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_divegear.zip - action: waste_time # prevent github throttling seconds: 10 - action: download_file path: ./tmp/qbx_binoculars.zip url: https://github.com/qbox-project/qbx_binoculars/releases/latest/download/qbx_binoculars.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_binoculars.zip - action: download_file path: ./tmp/qbx_truckrobbery.zip url: https://github.com/qbox-project/qbx_truckrobbery/releases/latest/download/qbx_truckrobbery.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_truckrobbery.zip - 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/qbx_garages.zip url: https://github.com/qbox-project/qbx_garages/releases/latest/download/qbx_garages.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_garages.zip - action: download_file path: ./tmp/qbx_smallresources.zip url: https://github.com/qbox-project/qbx_smallresources/releases/latest/download/qbx_smallresources.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_smallresources.zip - action: download_file path: ./tmp/qbx_density.zip url: https://github.com/Qbox-project/qbx_density/releases/latest/download/qbx_density.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_density.zip - action: download_file path: ./tmp/qbx_adminmenu.zip url: https://github.com/qbox-project/qbx_adminmenu/releases/latest/download/qbx_adminmenu.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_adminmenu.zip - action: download_file path: ./tmp/qbx_hud.zip url: https://github.com/qbox-project/qbx_hud/releases/latest/download/qbx_hud.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_hud.zip - action: download_file path: ./tmp/qbx_spawn.zip url: https://github.com/qbox-project/qbx_spawn/releases/latest/download/qbx_spawn.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_spawn.zip - action: download_file path: ./tmp/qbx_customs.zip url: https://github.com/qbox-project/qbx_customs/releases/latest/download/qbx_customs.zip - action: unzip dest: ./resources/[qbx] src: ./tmp/qbx_customs.zip # OX - action: download_file path: ./tmp/ox_lib.zip url: https://github.com/communityox/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/communityox/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/communityox/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/communityox/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/communityox/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: ./resources/[ox]/ox_fuel ref: main src: https://github.com/communityox/ox_fuel # NPWD - action: download_file path: ./tmp/npwd.zip url: https://github.com/project-error/npwd/releases/download/3.14.3/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_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 # Clean up - action: remove_path path: ./tmp