This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
recipe.yaml
186 lines (154 loc) · 5.54 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
181
182
183
184
185
186
$engine: 3
$onesync: legacy
name: PlumeESXLegacy
version: 3.3.0
author: Tabarra & SaltySea
description: A full featured and highly configurable yet lightweight ESX Legacy base that can be easily extended.
tasks:
# Download default CFX resources
- action: download_github
src: https://github.com/citizenfx/cfx-server-data
ref: master
subpath: resources
dest: ./resources/[cfx-default]
# Download and prepare server.cfg / loadingscreen / database
- action: download_github
src: https://github.com/tabarra/PlumeESX-recipe
ref: main
dest: ./tmp/plume_esx
- action: move_path
src: ./tmp/plume_esx/server.cfg
dest: ./server.cfg
- action: move_path
src: ./tmp/plume_esx/loadingscreen
dest: ./resources/loadingscreen
- action: connect_database
- action: query_database
file: ./tmp/plume_esx/plume.sql
# Download basic resources and ESX dependencies
- action: download_github
src: https://github.com/esx-framework/esx-legacy
ref: 8153f6a9221baeef0affb0176e5811007b8f5e3b
dest: ./resources/[legacy]
- action: download_github
src: https://github.com/tabarra/simpledrift
ref: 2ed57c224ae70549fbcfccc957a00ff496b78c77
dest: ./resources/simpledrift
- action: download_github
src: https://github.com/Bob74/bob74_ipl
ref: e949c08c67bdfe3fb981bf4f77477faf26d187e6
dest: ./resources/bob74_ipl
- action: download_github
src: https://github.com/brouznouf/fivem-mysql-async
ref: c5fa317a65acfe2eef453257e19e3b4fde137089
dest: ./resources/mysql-async
- action: download_github
src: https://github.com/AvarianKnight/pma-voice
ref: 4754a4dfff1e897f14df6d7d0e06c7fbfbaa20d5
dest: ./resources/pma-voice
- action: download_github
src: https://github.com/AvarianKnight/rp-radio
ref: 558e14d3eb7eed62e780a30c2867eadb61ffe0ac
dest: ./resources/rp-radio
- action: download_github
src: https://github.com/thelindat/linden_outlawalert
ref: a28b0ab65b1a4a9fed4063a26566cf697c263fc8
dest: ./resources/shotspotter
- action: download_github
src: https://github.com/Blumlaut/EasyAdmin
ref: 776ac8f3898182e5c075d533bbd89e92efa017e9
dest: ./resources/EasyAdmin
- action: download_github
src: https://github.com/thelindat/mdt
ref: 0c804de3cd497d70d8ae76bf1699d76d4c9d94fc
dest: ./resources/mdt
- action: download_github
src: https://github.com/DevTestingPizza/vSync
ref: 65f0e3cdd5692b619985a7df6297ffca7db41525
dest: ./tmp/vSync
- action: move_path
src: ./tmp/vSync/vSync
dest: ./resources/vSync
## GCPhone stuff
- action: download_file
url: https://github.com/Re-Ignited-Development/Re-Ignited-Phone/releases/download/V1.5/resources-1.2.zip
path: ./tmp/gcphone.zip
- action: unzip
src: ./tmp/gcphone.zip
dest: ./tmp
- action: move_path
src: ./tmp/resources-1.2/gcphone
dest: ./resources/gcphone
## vstancer stuff
- action: download_file
url: https://github.com/carmineos/fivem-vstancer/releases/download/v1.4/vstancer-v1.4.0.zip
path: ./tmp/vstancer.zip
- action: unzip
src: ./tmp/vstancer.zip
dest: ./tmp
- action: move_path
src: ./tmp/vstancer
dest: ./resources/vstancer
## Downloading & Patching configs: cosmo hud
- action: download_github
src: https://github.com/nojdh/cosmo_hud
ref: eed8fd7b8cbe8a02ae7339d4dee05b5d56a8097c
subpath: cosmo_hud
dest: ./resources/[hud]/cosmo_hud
- action: replace_string
file: ./resources/shotspotter/config.lua
search: 'Config.Default911 = false'
replace: 'Config.Default911 = true'
- action: replace_string
file: ./resources/[legacy]/[esx_addons]/esx_status/config.lua
search: " Config.Display = true"
replace: " Config.Display = false"
- action: replace_string
file: ./resources/[hud]/cosmo_hud/config.lua
search: 'Config.AlwaysShowRadar = false'
replace: 'Config.AlwaysShowRadar = true'
## Patching configs: esx_basicneeds
- action: replace_string
file: ./resources/[legacy]/[esx_addons]/esx_basicneeds/config.lua
search: 'Config.Visible = true'
replace: 'Config.Visible = false'
## Patching configs: multicharacter
- action: replace_string
file: ./resources/[legacy]/[esx]/es_extended/config.lua
search: 'Config.Multichar = false'
replace: 'Config.Multichar = true '
- action: replace_string
file: ./resources/[legacy]/[esx_addons]/esx_multicharacter/server/main.lua
search: "Config.Database = 'es_extended'"
replace: "Config.Database = '{{dbName}}'"
## Patching configs: rp-radio
- action: replace_string
file: ./resources/rp-radio/config.lua
search: |
Name = "INPUT_REPLAY_START_STOP_RECORDING_SECONDARY", -- Control name"
replace: |
Name = "INPUT_SELECT_CHARACTER_MICHAEL", -- Control name"
- action: replace_string
file: ./resources/rp-radio/config.lua
search: 'Key = 289, -- F2'
replace: 'Key = 166, -- F5'
- action: replace_string
mode: all_vars
file:
- ./resources/loadingscreen/config.js
- ./resources/[legacy]/[esx_addons]/esx_multicharacter/server/main.lua
## Cleanup
- action: remove_path
path: ./tmp
- action: remove_path
path: ./resources/esx_example
- action: remove_path
path: ./resources/server.cfg
- action: remove_path
path: ./resources/[legacy]/esx_example
- action: remove_path
path: ./resources/[legacy]/[esx_addons]/esx_whitelist
- action: remove_path
path: ./resources/[legacy]/[esx_addons]/esx_voice
- action: remove_path
path: ./resources/[legacy]/[esx_addons]/esx_phone