forked from AbstractBunnyy/QBCore-V500
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.cfg
81 lines (68 loc) · 2.25 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
# ____ ____ _____
# / __ \| _ \ / ____|
# | | | | |_) | | ___ _ __ ___
# | | | | _ <| | / _ \| '__/ _ \
# | |__| | |_) | |___| (_) | | | __/
# \___\_\____/ \_____\___/|_| \___|
## FiveM Documentation
## https://aka.cfx.re/server-commands
## QBCore Documentation
## https://docs.qbcore.org
## You CAN edit the following:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_maxclients 48
set steam_webApiKey "none"
sets tags "default, deployer, qbcore, qb-core"
## You MAY edit the following:
sv_licenseKey "cfxk_1JAdSgobPXC9gic1bPaNB_3XYZJu"
sv_hostname "qbcore beta built with QBCore 2.0 Framework by JericoFx & Kakarot & Hamy & Bunny!"
sets sv_projectName "[QBCore 2.0 Framework] qbcore beta"
sets sv_projectDesc "An advanced FiveM RP framework including jobs, gangs, housing & more!"
sets locale "en-US"
load_server_icon myLogo.png
set sv_enforceGameBuild 2944
set mysql_connection_string "mysql://root@localhost/QBCoreFramework_5F2FA4?charset=utf8mb4"
# Voice config
setr voice_useNativeAudio true
setr voice_useSendingRangeOnly true
setr voice_defaultCycle "GRAVE"
setr voice_defaultVolume 0.3
setr voice_enableRadioAnim 1
setr voice_syncData 1
# QBCore locale config
setr qb_locale "en"
# QBCore UseTarget
setr UseTarget true
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents
# QBCore & Extra stuff
ensure ox_lib
ensure qb-core
ensure illenium-appearance
ensure [qb]
ensure [ox]
ensure [ps]
ensure [standalone]
ensure [voice]
ensure [defaultmaps]
ensure [cars]
ensure [lf-cars-sounds]
## Permissions ##
add_ace group.admin command allow # allow all commands
add_principal identifier.fivem:1126281 group.admin #ReflexDrxgz
add_principal identifier.discord:840537177264095242 group.admin #ReflexDrxgz
# Resources
add_ace resource.qb-core command allow # Allow qb-core to execute commands
# Gods
add_ace qbcore.god command allow # Allow all commands
# Inheritance
add_principal qbcore.god group.admin # Allow gods access to the main admin group used to get all default permissions
add_principal qbcore.god qbcore.admin # Allow gods access to admin commands
add_principal qbcore.admin qbcore.mod # Allow admins access to mod commands