· 6 years ago · Dec 08, 2019, 03:20 PM
1## START sESX ADD ##
2set es_enableCustomData 1
3set mysql_connection_string "server=localhost;uid=root;password=password;database=fivem"
4## END sESX ADD ##
5
6# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
7endpoint_add_tcp "0.0.0.0:30120"
8endpoint_add_udp "0.0.0.0:30120"
9
10# These resources will start by default.
11exec resources.cfg
12
13## START sESX ADD ##
14start mysql-async
15start essentialmode
16set mysql_debug false
17start esplugin_mysql
18start es_admin2
19start async
20start es_extended
21start esx_menu_default
22start esx_menu_list
23start esx_menu_dialog
24start sesx_assets
25
26add_ace resource.essentialmode command.add_ace allow
27add_ace resource.essentialmode command.add_principal allow
28## END sESX ADD ##
29
30
31# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
32# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
33sv_scriptHookAllowed 0
34
35# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
36#rcon_password ""
37
38# A comma-separated list of tags for your server.
39# For example:
40# - sets tags "drifting, cars, racing"
41# Or:
42# - sets tags "roleplay, military, tanks"
43sets tags "default"
44
45# A valid locale identifier for your server's primary language.
46# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
47sets locale "he-IL"
48# please DO replace root-AQ on the line ABOVE with a real language! :)
49
50# Set an optional server info and connecting banner image url.
51# Size doesn't matter, any banner sized image will be fine.
52#sets banner_detail "https://url.to/image.png"
53#sets banner_connecting "https://url.to/image.png"
54
55sets banner_detail "https://snworksceo.imgix.net/dtc/55d4aac3-fffc-4cc5-a7f9-0d1206853c1b.sized-1000x1000.jpg?w=1000"
56sets banner_connecting "https://i.ytimg.com/vi/_ae5Ap77b7k/maxresdefault.jpg"
57
58# Set your server's hostname
59sv_hostname "TestServer"
60
61# Nested configs!
62#exec server_internal.cfg
63
64# Loading a server icon (96x96 PNG file)
65#load_server_icon OldTownRoad.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# Add system admins
75add_ace group.admin command allow # allow all commands
76add_ace group.admin command.quit deny # but don't allow quit
77add_principal identifier.fivem:1 group.admin # add the admin to the group
78add_principal identifier.steam:11000013bea9d3c group.admin
79add_principal identifier.steam:110000136acba9b group.admin
80add_principal identifier.steam:11000011b736e45 group.admin
81
82# Hide player endpoints in external log output.
83sv_endpointprivacy true
84
85# Server player slot limit (must be between 1 and 32, unless using OneSync)
86sv_maxclients 5
87
88# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
89# -> replace "" with the key
90set steam_webApiKey "56E2B97A6A4D235350E1B8341C08205A"
91
92# License key for your server (https://keymaster.fivem.net)
93sv_licenseKey oi9uic2o4mf50uv5i06z7davr432csfu