Hi guys,
I freshly installed ESX but it seems it doesn’t save the last position when I log out. Anyone has solution ?
Here is the server.cfg
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
###################### Set connection MYSQL-async
set mysql_connection_string "mysql://fivem_user:myuser@localhost/fivem?dateStrings=true"
start mysql-async
###################### Disable Couchdb from essentialmode
set es_enableCustomData 1
# ES resources
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow
add_ace resource.essentialmode command.add_ace allow
###################### libs
#start libs1
#start libs2
#start libs3
###################### Vos autres resources
# ES Base
start essentialmode
start esplugin_mysql
start es_admin2
# ES Extended
start es_extended
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
sv_scriptHookAllowed 1 -- Pour désactiver le lambda menu, mettez 0
# change this
rcon_password mypassword
sv_hostname "ESX" -- insérer ici le nom de votre serveur
# nested configs!
#exec server_internal.cfg
# loading a server icon (96x96 PNG file)
load_server_icon myLogo.png
# convars for use from script
set temp_convar "hey world!"
# disable announcing? clear out the master by uncommenting this
#sv_master1 ""
# want to only allow players authenticated with a third-party provider like Steam?
sv_authMaxVariance 1
sv_authMinTrust 5
# 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.mysteamID group.admin # add the admin to the group
# hide player endpoints in external log output
#sv_endpointprivacy true
# server slots limit (default to 24)
sv_maxclients 8
# License key for your server (https://keymaster.fivem.net)
sv_licenseKey mykey
MySQL is running well.
I saw that last position are saved in “position” everytime I log out but when I log in I spawn randomly.
It seems to be a wellknown bug as I could see in forum.
Thanks for your help !