-
Notifications
You must be signed in to change notification settings - Fork 40
/
server.cfg
63 lines (52 loc) · 1.74 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
# Please read the fivem documentation:
# https://aka.cfx.re/server-commands
# https://docs.fivem.net/docs/server-manual/setting-up-a-server/
## You SHOULD edit the following:
sv_hostname "{{serverName}} built with {{recipeName}}!"
sets sv_projectName "[{{recipeName}}] {{serverName}}"
sets sv_projectDesc "{{recipeDescription}}"
sets tags "deployer, ox_core"
sets locale "root-AQ"
load_server_icon oxpog.png
## You CAN edit the following:
sv_licenseKey "{{svLicense}}"
sv_maxclients {{maxClients}}
{{serverEndpoints}}
set steam_webApiKey "none"
set resources_useSystemChat true
## https://docs.fivem.net/docs/server-manual/server-commands/#sv_enforcegamebuild-build
set sv_enforceGameBuild 3095
## https://docs.fivem.net/docs/server-manual/server-commands/#sv_filterrequestcontrol-mode
set sv_filterRequestControl -1
## https://overextended.dev/oxmysql#installation
set mysql_connection_string "{{dbConnectionString}}"
# set mysql_connection_string "user={{dbUsername}};database={{dbName}};password={{dbPassword}}"
## These resources will start by default.
ensure chat
ensure sessionmanager
## Add system admins
add_ace group.admin command allow
add_ace resource.ox_lib command.add_ace allow
add_ace resource.ox_lib command.remove_ace allow
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allow
{{addPrincipalsMaster}}
###############################################################################################
## Ox
setr ox:locale "en"
setr inventory:target true
## Resources
start pe-basicloading
start bob74_ipl
start pma-voice
start oxmysql
start ox_lib
start ox_core
start ox_target
start illenium-appearance
start ox_inventory
start ox_banking
start ox_commands
start ox_doorlock
start ox_fuel
start npwd