F.A.Q

Here's some answers to frequently asked questions

FXServer Start Order

When you're downloading scripts, especially ES Extended scripts there are "requirements". Which are vital to them running properly. The start order of your scripts in your config.cfg is important. Requirements for a script must be above the script that requires it, if it's loaded afterwards the script may not work as intended. So having your start order correct is vital.

Example config.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
72
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_listingIPOverride "YOUR_IP_ADRESS"

set sv_licenseKey "XXXXXXXXXXXXXXXXXXX" # https://keymaster.fivem.net/
set steam_webApiKey "none"
set mysql_connection_string "server=adress;database=dbname;userid=user;password=psswd"

sv_maxClients 5
sv_hostname "Your Server Label"
sv_scriptHookAllowed 0
sv_endpointPrivacy true

add_principal group.admin group.user
add_ace resource.es_extended command.add_ace allow
add_ace resource.es_extended command.add_principal allow
add_ace resource.es_extended command.remove_principal allow

#### FIVEM DEFAULT ####
    start mapmanager
    start chat
    start spawnmanager
    start sessionmanager
    restart sessionmanager
    start fivem
    start hardcap
    start rconlog
    start scoreboard

#### ESSENTIAL
    start mysql-async
    start es_extended

#### ESX REQUIRED MODS
    start instance
    start cron
    start skinchanger
    start esx_skin
    start esx_menu_default
    start esx_menu_list
    start esx_menu_dialog
    start esx_phone
    start esx_addonaccount
    start esx_addoninventory
    start esx_datastore
    start esx_society
    start esx_service
    start esx_billing

#### ESX JOBS
    start esx_jobs
    start esx_joblisting
    start esx_taxijob
    start esx_mecanojob
    start esx_policejob
    start esx_property
    start esx_realestateagentjob
    start esx_bankerjob
    start esx_ambulancejob
    start esx_vehicleshop

#### ESX ANY OTHER MODS
    start esx_status
    start esx_basicneeds
    start esx_clotheshop
    start esx_garage
    start esx_holdup
    start esx_drugs
    start esx_atm

#### ANY NON ESX MODS
    #start nonESXmod