ESX does not work

Hi guys, I am suffering with the ESX installation. I have seen several videos and followed what the documentation says, but I can’t get it to work for me. Currently when I enter the GTA I do not see any menu and when I try to open the inventory it gives an error. I will show how I have it done, I hope someone can help me!

Resources → [local] → [essential] → async
Resources → [local] → [essential] → mysql-async
Resources → [local] → [essential] → es_extended

Resources → [local] → [esx] → [ui] → esx_menu_default
Resources → [local] → [esx] → [ui] → esx_menu_dialog
Resources → [local] → [esx] → [ui] → esx_menu_list

IMG BDD:

Server.cfg

This file is a minimal version of the default config file.

This is NOT supposed to be enough for a fully running server.

Please read the fivem documentation:

Server Commands

Setting up a server

You CAN edit the following:

endpoint_add_tcp “0.0.0.0:30120”

endpoint_add_udp “0.0.0.0:30120”

sv_maxclients 32

set steam_webApiKey “none”

sets tags “default, deployer”

You MAY edit the following:

sv_licenseKey “hsgtkqgvg8zlujyy0tp104tmduyn5bze”

sv_hostname “Matrix RP built with CFX Default by Tabarra!”

sets sv_projectName “[CFX Default] Matrix RP”

sets sv_projectDesc “Recipe for the base resources required to run a minimal FiveM server.”

sets locale “root-AQ”

set mysql_connection_string “server=127.0.0.1;database=es_extended;userid=root;password=zxasqw123q”

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_principal identifier.fivem:2752299 group.admin #Matias_Giorgieff

Add Group Systems

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

add_ace resource.es_extended command.stop allow

These resources will start by default.

ensure mapmanager

ensure chat

ensure spawnmanager

ensure sessionmanager

ensure basic-gamemode

ensure hardcap

ESSENTIAL

start mysql-async

start es_extended

start esx_menu_default

start esx_menu_list

start esx_menu_dialog

start loadingmain

# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

# These resources will start by default.
ensure chat
ensure sessionmanager
ensure hardcap
ensure rconlog
ensure scoreboard

set mysql_connection_string "mysql://ton_username:ton_password@localhost/es_extended"

start mysql-async
start es_extended

start esx_menu_default
start esx_menu_list
start esx_menu_dialog


# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
sv_scriptHookAllowed 0

# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
#rcon_password ""

# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "default"

# A valid locale identifier for your server's primary language.
# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
sets locale "root-AQ" 
# please DO replace root-AQ on the line ABOVE with a real language! :)

# Set an optional server info and connecting banner image url.
# Size doesn't matter, any banner sized image will be fine.
#sets banner_detail "https://url.to/image.png"
#sets banner_connecting "https://url.to/image.png"

# Set your server's hostname
sv_hostname "Le nom de votre serveur"

# Nested configs!
#exec server_internal.cfg

# Loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

# convars which can be used in scripts
set temp_convar "hey world!"

# Uncomment this line if you do not want your server to be listed in the server browser.
# Do not edit it if you *do* want your server listed.
#sv_master1 ""

# 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_principal identifier.fivem:1 group.admin # add the admin to the group

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

# Hide player endpoints in external log output.
sv_endpointprivacy true

# enable OneSync with default configuration (required for server-side state awareness)
onesync_enabled false

# Server player slot limit (must be between 1 and 32, unless using OneSync)
sv_maxclients 32

# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey ""

# License key for your server (https://keymaster.fivem.net)
sv_licenseKey votre_license

If you are using the latest version of ESX Legacy you need to disable basic-gamemode. If those are all you’re resources you should get some other things like skinchanger and esx_skin.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.