· 6 years ago · Feb 23, 2020, 06:40 PM
1# Voor vMenu
2exec permissions.cfg #Is voor vMenu
3
4# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
5endpoint_add_tcp "0.0.0.0:30120"
6endpoint_add_udp "0.0.0.0:30120"
7
8# Is voor essentialmode
9set mysql_connection_string
10set es_enableCustomData 1
11set mysql_slow_query_warning 50
12
13
14# These resources will start by default.
15
16ensure mapmanager
17ensure chat
18start esx_rpchat
19start chat-theme-gtao
20ensure spawnmanager
21ensure sessionmanager
22ensure fivem
23ensure hardcap
24ensure rconlog
25#ensure scoreboard
26
27
28
29
30
31
32
33include base.cfg
34# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
35# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
36sv_scriptHookAllowed 0
37
38# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
39#rcon_password "***"
40
41# A comma-separated list of tags for your server.
42# For example:
43# - sets tags "drifting, cars, racing"
44# Or:
45# - sets tags "roleplay, military, tanks"
46sets tags "roleplay"
47
48# A valid locale identifier for your server's primary language.
49# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
50sets locale "nl-NL"
51# please DO replace root-AQ on the line ABOVE with a real language! :)
52
53# Set an optional server info and connecting banner image url.
54# Size doesn't matter, any banner sized image will be fine.
55#sets banner_detail "https://url.to/image.png"
56#sets banner_connecting "https://url.to/image.png"
57
58# Set your server's hostname
59sv_hostname "[NL/BE]TEST"
60
61# Nested configs!
62#exec server_internal.cfg
63
64# Loading a server icon (96x96 PNG file)
65#load_server_icon myLogo.png
66
67# convars which can be used in scripts
68set temp_convar "hey world!"
69
70# Uncomment this line if you do not want your server to be listed in the server browser.
71# Do not edit it if you *do* want your server listed.
72#sv_master1 ""
73
74
75# Voor essentialmode
76add_ace resource.essentialmode command.sets allow
77add_ace resource.essentialmode command.add_principal allow
78add_ace resource.essentialmode command.add_ace allow
79
80
81# --- Admin Perms
82
83add_ace group.admin command allow # allow all commands
84add_ace group.admin command.quit deny # but don't allow quit
85
86# --- Admins
87
88
89
90# --- Moderator Perms
91
92add_ace group.moderator command.goto allow
93add_ace group.moderator command.heal allow
94add_ace group.moderator command.revive allow
95
96# --- Moderators
97
98
99
100
101# Hide player endpoints in external log output.
102sv_endpointprivacy true
103
104# Server player slot limit (must be between 1 and 32, unless using OneSync)
105sv_maxclients 32
106
107# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
108# -> replace "" with the key
109set steam_webApiKey ***
110
111#O neSync aan of uit
112onesync_enabled 1
113
114sv_licenseKey ***
115
116set sv_licensekey "***"
117
118
119restart sessionmanager