-
Notifications
You must be signed in to change notification settings - Fork 40
/
recipe.yaml
180 lines (151 loc) · 4.62 KB
/
recipe.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
$engine: 3
$minFxVersion: 7290
$onesync: on
name: ox_core
version: 1.0.0
author: Overextended
description: The official recipe for ox_core.
tasks:
## prepare recipe
- action: download_github
src: https://github.com/overextended/txAdminRecipe
ref: 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: download_github
src: https://github.com/citizenfx/cfx-server-data
ref: master
subpath: resources
dest: ./resources/[cfx]
## screenshot-basic
- action: download_file
url: https://github.com/project-error/screenshot-basic/releases/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://github.com/overextended/ox_core/releases/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://github.com/overextended/oxmysql/releases/latest/download/oxmysql.zip
path: ./tmp/oxmysql.zip
- action: unzip
src: ./tmp/oxmysql.zip
dest: ./resources/[ox]
## ox_lib
- action: download_file
url: https://github.com/overextended/ox_lib/releases/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://github.com/overextended/ox_inventory/releases/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://github.com/overextended/ox_doorlock/releases/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://github.com/overextended/ox_banking/releases/latest/download/ox_banking.zip
path: ./tmp/ox_banking.zip
- action: unzip
src: ./tmp/ox_banking.zip
dest: ./resources/[ox]
## ox_commands
- action: download_github
src: https://github.com/overextended/ox_commands
ref: main
dest: ./resources/[ox]/ox_commands
## ox_fuel
- action: download_file
url: https://github.com/overextended/ox_fuel/archive/refs/tags/v1.5.1.zip
path: ./tmp/ox_fuel.zip
- action: unzip
src: ./tmp/ox_fuel.zip
dest: ./tmp/ox_fuel
- action: move_path
src: ./tmp/ox_fuel/ox_fuel-1.5.1
dest: ./resources/[ox]/ox_fuel
## ox_target
- action: download_file
url: https://github.com/overextended/ox_target/releases/latest/download/ox_target.zip
path: ./tmp/ox_target.zip
- action: unzip
src: ./tmp/ox_target.zip
dest: ./resources/[ox]
## illenium-appearance
- action: download_github
src: https://github.com/iLLeniumStudios/illenium-appearance
ref: 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://github.com/project-error/npwd/releases/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: download_github
src: https://github.com/AvarianKnight/pma-voice
ref: main
dest: ./resources/pma-voice
## loadingscreen
- action: download_github
src: https://github.com/DokaDoka/pe-basicloading
ref: ox
dest: ./resources/[pe]/pe-basicloading
- action: replace_string
mode: all_vars
file:
- ./resources/[pe]/pe-basicloading/web/config.js
## bob74_ipl
- action: download_github
src: https://github.com/Bob74/bob74_ipl
ref: master
dest: ./resources/bob74_ipl
## cleanup
- action: remove_path
path: ./tmp