forked from SOZ-Faut-etre-Sub/SOZ-FiveM-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.cfg
49 lines (38 loc) · 1.56 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
#
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
# Set DLC level (rewritable in env.cfg) - if new clothes are added, update gta-server/resources/[soz]/soz-core/src/shared/drawable.ts
sv_enforceGameBuild 3095
# Environment config with specific variables depending where the server is located
# Copy the `env.cfg-dist` file to `env.cfg` and replace any necessary values
exec global.cfg
exec env.cfg
# Voice config
setr voice_useNativeAudio true
setr voice_use3dAudio false
setr voice_use2dAudio false
setr voice_useSendingRangeOnly true
setr voice_useAudioContext false
setr mumble_maxClientsPerIP 512
# acl, allow soz_core to update acl in realtime
add_ace resource.soz-core command.add_principal allow
add_ace resource.soz-core command.remove_principal allow
add_ace resource.soz-core command.add_ace allow
# Load modules
exec modules.cfg
# uncomment next line and comment the one above to run a vanilla server, to check if a behavior is native or due to our script
#exec vanilla.cfg
# Disable the client crosshair
setr cl_customCrosshair false
# Disallow players to use scripthook-based plugins such as the legacy Lambda Menu..
sv_scriptHookAllowed 0
# A comma-separated list of tags for your server.
sets tags "roleplay"
# A valid locale identifier for your server's primary language.
sets locale "fr-FR"
# Add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_ace resource.soz-reboot command.quit allow
# enable OneSync (required for server-side state awareness)
set onesync on