-
Notifications
You must be signed in to change notification settings - Fork 39
/
server.cfg
71 lines (56 loc) · 1.73 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
{{serverEndpoints}}
sv_maxclients {{maxClients}}
sv_licenseKey "{{svLicense}}"
sv_scriptHookAllowed 0
set steam_webApiKey "none"
## https://docs.fivem.net/docs/server-manual/server-commands/#sv_enforcegamebuild-build
set sv_enforceGameBuild 3095
## https://forum.cfx.re/t/discussion-on-the-built-in-request-control-filtering-feature/4887321
set sv_filterRequestControl 2
## SQL connection string (use one, switch if there are issues with special characters in the user or password)
set mysql_connection_string "{{dbConnectionString}}"
# set mysql_connection_string "user={{dbUsername}};database={{dbName}};password={{dbPassword}}"
sv_hostname "{{serverName}} built with {{recipeName}} by {{recipeAuthor}}!"
load_server_icon oxpog.png
sets tags "overextended, ox_core"
sets locale "en-US"
sets sv_projectName "[{{recipeName}}] {{serverName}}"
sets sv_projectDesc "{{recipeDescription}}"
## Permissions
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
add_ace group.admin command allow
{{addPrincipalsMaster}}
## Ox
setr ox:locale "en"
setr inventory:target true
## Misc
setr resources_useSystemChat true
## HUD https://github.com/0xDEMXN/dx_hud
setr hud:seatbelt true
setr hud:stress true
setr hud:stamina true
setr hud:fuel true
setr hud:persistentRadar true
setr hud:circleMap false
setr hud:voice true
setr hud:logo false
## Resources
start chat
start sessionmanager
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_commands
start ox_doorlock
start ox_fuel
start dx_hud
start npwd