Problem with Addon vehicles

I set up my own FiveM server 3 days ago. It is a VPS running on Ubuntu, have 1 core + 2GB of RAM. So today a few hours ago i added 6-7 addon vehicles in resource directory & also added them in esx_vehicleshop DB. After that, i restarted the server and some players including me were able to see & purchase these addon vehicles from vehicleshop while others did not see it at all. Seems like for them the model did not download properly or caching problem. So i figured out that we have 2 addon vehicles with bigger files (bigger than 15MB). So, i delete those 2 specific model from the folder and restarted the server again (after clearing cache). Now nobody can see or spawn these addon vehicles at all. I tried so many ways and watched some youtube tutorials mentioned in other posts, but still stuck. Now i removed all vehicles and kept only one addon vehicles for testing purpose, but still same result. I am also getting Resource time warning sometimes. I am really confused and looking for a solution desperately. Any suggestion/support is appreciated. My server.cfg file is as follows:

# You probably don't want to change these!
# Only change them if you're using a server with multiple network interfaces.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"


#convar for essentialmode mysql
set es_enableCustomData 1
set database_driver "mysql-async"
#essentialmode mysql connection string
set mysql_connection_string "server=127.0.0.1;database=XXXXXXXXX;userid=XXXX;password=XXXXXX"


#essentialmodes commands
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow
add_ace resource.essentialmode command.add_ace allow



# These resources will start by default.
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start playerblips

#essentialmode setup
start mysql-async
start essentialmode
start esplugin_mysql
start async
start es_extended
start es_admin2

#esx menu scripts
start esx_menu_default
start esx_menu_list
start esx_menu_dialog

#esx scripts
start esx_phone
start esx_atm
start esx_addoninventory
start esx_policejob
start esx_billing
start esx_datastore
start esx_identity
start esx_license
start esx_dmvschool
start skinchanger
start esx_skin
start esx_clotheshop
start esx_addonaccount
start esx_jobs
start esx_society
start esx_shops
start esx_vehicleshop
start esx_joblisting
start esx_garage

start esx_marker


#custom cars
#start r8prior
#start vulcan
#start vgt12
#start prius
#start onyx
start assets <------ inside this folder i have only one addon vehicle mod

# This allows players to use scripthook based plugins such as lambda menu.
# Set this to 0 to disallow scripthook.
sv_scriptHookAllowed 1

# Uncomment this to enable RCON. Make sure to change the password.
rcon_password XXXXXXXX

# 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, ltbd"

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

# Set your server's hostname
sv_hostname "XXXXXXXXXXXXXXX"

# 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!"

set es_permissionDenied "Pesky rat! You don't have permission for this!!"
set es_startingCash 10000
set es_startingBank 15000
set es_enableRankDecorators 1
set es_moneyIcon "-"
set es_nativeMoneySystem 1
set es_commandDelimeter "/"
set es_enableLogging 1
set es_enableCustomData 1


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

# Want to only allow players authenticated with a third-party provider like Steam?
# Don't forget Social Club is a third party provider too!
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.steam:110000112345678 group.admin # add the admin to the group

# Hide player endpoints in external log output.
sv_endpointprivacy true

# Server player slot limit (must be between 1 and 32)
sv_maxclients 15

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

Thank you in advance. :slight_smile:

you removed the cache of the server and the client? if that doesn’t work you can try changing the car folder, I have one that you can use

Hi @Joan_Goma, thank you for your reply. I found the problem finally, sorry did not reply earlier. The problem was, i uploaded 10 add-on vehicles in my server, one of them had broken resource. Seems like this single broken vehicle stopped the server from loading any other resource from that same folder. What i did was i went through all the resources one by one and figured out the reason. So, if anybody bumps to my question, i will have one single advice, check your resources one by one before uploading them to the main server. :slight_smile:

2 Likes

Perfect, congratulations