forked from tabarra/PlumeESX-recipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.yaml
150 lines (127 loc) · 4.31 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
$engine: 3
$onesync: legacy
name: ESX Legacy
version: 4.0.0
author: Tabarra & SaltySea & ESX Team
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/Sub-Zero-Interactive/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: main
dest: ./resources/[legacy]
- action: download_github
src: https://github.com/Bob74/bob74_ipl
ref: master
dest: ./resources/bob74_ipl
- action: download_github
src: https://github.com/AvarianKnight/pma-voice
ref: main
dest: ./resources/[standalone]
- action: download_github
src: https://github.com/AvarianKnight/rp-radio
ref: master
dest: ./resources/rp-radio
- action: download_github
src: https://github.com/thelindat/linden_outlawalert
ref: master
dest: ./resources/shotspotter
- action: download_github
src: https://github.com/thelindat/mdt
ref: master
dest: ./resources/mdt
- action: download_github
src: https://github.com/DevTestingPizza/vSync
ref: master
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
- action: download_file
path: ./tmp/files/oxmysql-1.9.3.zip
url: https://github.com/overextended/oxmysql/releases/download/v1.9.3/oxmysql-v1.9.3.zip
- action: unzip
dest: ./resources/[standalone]
src: ./tmp/files/oxmysql-1.9.3.zip
## 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: ./resources/vstancer
## Downloading & Patching configs: cosmo hud
- action: download_github
src: https://github.com/joe-rogan-0001/joehud
ref: main
dest: ./resources/[hud]/joehud
## 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 -- Enable support for esx_multicharacter'
replace: 'Config.Multichar = true -- Enable support for esx_multicharacter'
## 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
## 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