-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.cfg
227 lines (198 loc) · 6.28 KB
/
server.cfg
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# QBus Framework by https://github.com/qbcore-framework
#Recpie By tortonight
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
{{serverEndpoints}}
# PMA Voice Convars (Onesync Infinity Only) -- https://github.com/AvarianKnight/pma-voice
ensure pma-voice
setr voice_useNativeAudio 1
setr voice_useSendingRangeOnly 1
setr voice_zoneRadius 256
setr voice_enableProximityCycle 1
setr voice_enableRadios 1
setr voice_enablePhones 1
setr voice_enableRadioSubmix 1
setr voice_defaultCycle "N"
setr voice_defaultVolume "1.0"
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
#ensure hardcap -- Optional: Uncomment If Not Using ConnectQueue
ensure rconlog
ensure baseevents
## // Dependencies \\ ##
ensure ghmattimysql # -- https://github.com/GHMatti/ghmattimysql
ensure connectqueue # -- https://github.com/Nick78111/ConnectQueue
ensure bob74_ipl # -- https://github.com/Bob74/bob74_ipl
ensure menuv # -- https://github.com/ThymonA/menuv
ensure mhacking # -- https://github.com/GHMatti/FiveM-Scripts
ensure loadscreen
## // End Dependencies \\ ##
## // QBCore Resources \\ ##
ensure qb-core
ensure qb-adminmenu
ensure qb-afk
ensure qb-ambulancejob
ensure qb-anticheat
ensure qb-apartments
ensure qb-atms
ensure qb-banking
ensure qb-bankrobbery
#ensure qb-billing # -- Optional https://github.com/Mojito-Fivem/qb-billing
ensure qb-blackjack
ensure qb-bossmenu
ensure qb-builderjob
#ensure qb-busjob # -- Not Working
ensure qb-carwash
ensure qb-casino
ensure qb-cityhall
ensure qb-clothing
ensure qb-coke
ensure qb-commandbinding
#ensure qb-companies # -- Useless?
ensure qb-crafting
ensure qb-crypto
ensure qb-customs
ensure qb-diving
ensure qb-doorlock
ensure qb-drugs
ensure qb-fitbit
#ensure qb-gangs # -- Optional https://github.com/Mojito-Fivem/qb-gangs
ensure qb-garages
ensure qb-garbagejob
ensure qb-hotdogjob
ensure qb-houserobbery
ensure qb-houses
ensure qb-hud
ensure qb-ifruitstore
ensure qb-interior
ensure qb-inventory
ensure qb-jewelery
ensure qb-keyminigame
ensure qb-lapraces
ensure qb-lawyerjob
ensure qb-lockpick
#ensure qb-logs # -- Make Sure To Set Webhooks In Config If Enabled
ensure qb-mechanicjob
ensure qb-methlab
#ensure qb-moneysafe # -- Can be turned on but since been replaced with qb-bossmenu
ensure qb-multicharacter
ensure qb-newsjob
ensure qb-pawnshop
ensure qb-phone
#ensure qb-ping # -- Not used because phone
ensure qb-policejob
ensure qb-prison
#ensure qb-printer # -- Not Working
ensure qb-radialmenu
ensure qb-recyclejob
ensure qb-scoreboard
ensure qb-scrapyard
ensure qb-shops
ensure qb-skillbar
ensure qb-smallresources
ensure qb-spawn
ensure qb-storerobbery
ensure qb-streetraces
ensure qb-taxijob
ensure qb-towjob
ensure qb-traphouse
ensure qb-truckerjob
ensure qb-truckrobbery
ensure qb-tunerchip
ensure qb-vehiclefailure
ensure qb-vehiclekeys
ensure qb-vehiclepush
ensure qb-vehiclesales
ensure qb-vehicleshop
ensure qb-vineyard
ensure qb-weapons
ensure qb-weathersync
ensure qb-weed
## // End QBCore Resources \\ ##
## // Non-Framework \\ ##
ensure dpemotes # -- https://github.com/andristum/dpemotes
ensure rp-radio # -- https://github.com/AvarianKnight/rp-radio
ensure LegacyFuel # -- https://github.com/InZidiuZ/LegacyFuel
## // End Non-Framework \\ ##
## // Assets \\ ##
ensure breze_benefactor
## // End Assets \\ ##
## // Local \\ ##
exec resources/[local]/pmms/permissions.cfg
ensure pmms # -- https://github.com/kibook/pmms
ensure qb-hud-redux # -- https://github.com/Kurosar/qb-hud-redux
## // End Local \\ ##
## // DISCORD \\ ##
ensure ethical_discord_api
ensure EthicalSplash
ensure RichPresence
## // End DISCORD \\ ##
## // Map \\ ##
ensure vipex_store_legion_square
ensure gabz_pillbox_hospital
ensure gabz_mrpd
ensure vinewood_pd
ensure Ranch-De-Caniche # -- https://github.com/TayMcKenzieNZ/Ranch-De-Caniche
## // End Map \\ ##
## // Npc \\ ##
ensure AllServerNeed
ensure NoNpcDrop
ensure npcs
## // End Npc \\ ##
## // Vehicles \\ ##
ensure 18performante
ensure ls-addonvehicles
ensure ls-dutyvehicles
ensure Props_car
## // End Vehicles \\ ##
# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
sv_scriptHookAllowed 0
# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
#rcon_password ""
# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "default"
# A valid locale identifier for your server's primary language.
# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
sets locale "en-US"
# please DO replace root-AQ on the line ABOVE with a real language! :)
# Set an optional server info and connecting banner image url.
# Size doesn't matter, any banner sized image will be fine.
sets banner_detail "https://i.imgur.com/tUruu8P.png"
sets banner_connecting "https://i.imgur.com/yzK2AcV.png"
# Set your server's hostname
sv_hostname "{{serverName}} - QBus Framework Recipe by {{recipeAuthor}}"
# Set your server's Project Name
sets sv_projectName "[{{recipeName}}] {{serverName}}"
# Set your server's Project Description
sets sv_projectDesc "{{recipeDescription}}"
# Nested configs!
#exec server_internal.cfg
# Loading a server icon (96x96 PNG file)
load_server_icon UNIT-logo.png
# convars which can be used in scripts
set temp_convar "hey world!"
# Remove the `#` from the below line if you do not want your server to be listed in the server browser.
# Do not edit it if you *do* want your server listed.
#sv_master1 ""
# Add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
{{addPrincipalsMaster}}
# enable OneSync (required for server-side state awareness)
set onesync on
# Server player slot limit (see https://fivem.net/server-hosting for limits)
sv_maxclients {{maxClients}}
set sv_enforceGameBuild 2189
# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey "none"
# License key for your server (https://keymaster.fivem.net)
sv_licenseKey {{svLicense}}