# 国内直连版配方 —— 由 cn-fivem-hub 自动生成(2026-09-05) # 在官方配方基础上,把所有 GitHub 下载改写为本站镜像中转;请勿手工编辑 # 官方源:https://raw.githubusercontent.com/overextended/txAdminRecipe/refs/heads/main/recipe.yaml $engine: 3 $minFxVersion: 12913 $onesync: on name: ox_core(国内直连) version: 1.0.0 author: Overextended description: The official recipe for ox_core. tasks: ## prepare recipe - action: ensure_dir path: ./tmp - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/overextended/txAdminRecipe/main path: ./tmp/cnmirror/txAdminRecipe.zip - action: unzip src: ./tmp/cnmirror/txAdminRecipe.zip dest: ./tmp/cnmirror/txAdminRecipe - action: move_path src: ./tmp/cnmirror/txAdminRecipe/txAdminRecipe-main dest: ./tmp/ox - action: move_path src: ./tmp/ox/server.cfg dest: ./server.cfg - action: move_path src: ./tmp/ox/oxpog.png dest: ./oxpog.png - action: connect_database ## default CFX resources - action: ensure_dir path: ./resources - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/citizenfx/cfx-server-data/master path: ./tmp/cnmirror/cfx-server-data.zip - action: unzip src: ./tmp/cnmirror/cfx-server-data.zip dest: ./tmp/cnmirror/cfx-server-data - action: move_path src: ./tmp/cnmirror/cfx-server-data/cfx-server-data-master/resources dest: ./resources/[cfx] ## screenshot-basic - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/project-error/screenshot-basic/download/1.0.1/screenshot-basic.zip path: ./tmp/screenshot-basic.zip - action: unzip src: ./tmp/screenshot-basic.zip dest: ./resources/[cfx]/screenshot-basic ## ox_core - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_core/latest/download/ox_core.zip path: ./tmp/ox_core.zip - action: unzip src: ./tmp/ox_core.zip dest: ./resources/[ox] - action: replace_string file: ./resources/[ox]/ox_core/sql/install.sql search: "overextended" replace: "{{dbName}}" - action: replace_string mode: all_vars file: - ./resources/[ox]/ox_core/sql/install.sql - action: query_database file: ./resources/[ox]/ox_core/sql/install.sql ## oxmysql - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/oxmysql/latest/download/oxmysql.zip path: ./tmp/oxmysql.zip - action: unzip src: ./tmp/oxmysql.zip dest: ./resources/[ox] ## ox_lib - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_lib/latest/download/ox_lib.zip path: ./tmp/ox_lib.zip - action: unzip src: ./tmp/ox_lib.zip dest: ./resources/[ox] ## ox_inventory - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_inventory/latest/download/ox_inventory.zip path: ./tmp/ox_inventory.zip - action: unzip src: ./tmp/ox_inventory.zip dest: ./resources/[ox] ## ox_doorlock - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_doorlock/latest/download/ox_doorlock.zip path: ./tmp/ox_doorlock.zip - action: unzip src: ./tmp/ox_doorlock.zip dest: ./resources/[ox] ## ox_banking - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_banking/latest/download/ox_banking.zip path: ./tmp/ox_banking.zip - action: unzip src: ./tmp/ox_banking.zip dest: ./resources/[ox] ## ox_commands - action: ensure_dir path: ./resources/[ox] - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/overextended/ox_commands/main path: ./tmp/cnmirror/ox_commands.zip - action: unzip src: ./tmp/cnmirror/ox_commands.zip dest: ./tmp/cnmirror/ox_commands - action: move_path src: ./tmp/cnmirror/ox_commands/ox_commands-main dest: ./resources/[ox]/ox_commands ## ox_fuel - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_fuel/latest/download/ox_fuel.zip path: ./tmp/ox_fuel.zip - action: unzip src: ./tmp/ox_fuel.zip dest: ./resources/[ox] ## ox_target - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/overextended/ox_target/latest/download/ox_target.zip path: ./tmp/ox_target.zip - action: unzip src: ./tmp/ox_target.zip dest: ./resources/[ox] ## illenium-appearance - action: ensure_dir path: ./resources - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/iLLeniumStudios/illenium-appearance/main path: ./tmp/cnmirror/illenium-appearance.zip - action: unzip src: ./tmp/cnmirror/illenium-appearance.zip dest: ./tmp/cnmirror/illenium-appearance - action: move_path src: ./tmp/cnmirror/illenium-appearance/illenium-appearance-main dest: ./resources/illenium-appearance - action: query_database file: ./resources/illenium-appearance/sql/playerskins.sql - action: query_database file: ./resources/illenium-appearance/sql/player_outfits.sql ## npwd - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/release/project-error/npwd/latest/download/npwd.zip path: ./tmp/npwd.zip - action: unzip src: ./tmp/npwd.zip dest: ./resources/[pe] - action: query_database file: ./resources/[pe]/npwd/import.sql - action: replace_string file: ./resources/[pe]/npwd/config.json search: '"level": "silly"' replace: '"level": "error"' ## pma-voice - action: ensure_dir path: ./resources - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/AvarianKnight/pma-voice/main path: ./tmp/cnmirror/pma-voice.zip - action: unzip src: ./tmp/cnmirror/pma-voice.zip dest: ./tmp/cnmirror/pma-voice - action: move_path src: ./tmp/cnmirror/pma-voice/pma-voice-main dest: ./resources/pma-voice ## loadingscreen - action: ensure_dir path: ./resources/[pe] - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/DokaDoka/pe-basicloading/ox path: ./tmp/cnmirror/pe-basicloading.zip - action: unzip src: ./tmp/cnmirror/pe-basicloading.zip dest: ./tmp/cnmirror/pe-basicloading - action: move_path src: ./tmp/cnmirror/pe-basicloading/pe-basicloading-ox dest: ./resources/[pe]/pe-basicloading - action: replace_string mode: all_vars file: - ./resources/[pe]/pe-basicloading/web/config.js ## bob74_ipl - action: ensure_dir path: ./resources - action: download_file url: https://zerodelay.com.cn/api/mirror/gh/zipball/Bob74/bob74_ipl/master path: ./tmp/cnmirror/bob74_ipl.zip - action: unzip src: ./tmp/cnmirror/bob74_ipl.zip dest: ./tmp/cnmirror/bob74_ipl - action: move_path src: ./tmp/cnmirror/bob74_ipl/bob74_ipl-master dest: ./resources/bob74_ipl ## cleanup - action: remove_path path: ./tmp