Couldn't find resource esplugin_mysql

**Server Artifact Version:3539
**Operating System (Windows/Linux):linux ubuntu 16.04
**Server config (server.cfg):

set es_enableCustomData 1
set mysql_connection_string "server=;uid=root;password=xxxx;database=redemrp"
ensure esplugin_mysql
ensure mysql-async
ensure redem
ensure redem_roleplay
ensure redemrp_respawn
ensure redemrp_menu_base
ensure redemrp_skin
ensure redemrp_clothing
ensure redemrp_identity
ensure interiors

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

sv_maxclients 32

# These resources will start by default.
start mapmanager
start chat
start spawnmanager
start sessionmanager-rdr3
start redm-map-one
start hardcap
start ■■■■■■■
#start scoreboard

# 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 xxxx

# A comma-separated list of tags for your server.
# For example:
# Or:

# 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 "fr-FR" 
# 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 ""
#sets banner_connecting ""

# Set your server's hostname
sv_hostname "Boo"

# License key for your server (
sv_licenseKey xxxx

# Nested configs!
#exec server_internal.cfg

# Loading a server icon (96x96 PNG file)
load_server_icon zap96x96.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.
#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

# Hide player endpoints in external log output.
sv_endpointprivacy true

sets tags "rp"

add_ace group.admin webadmin allow
add_principal identifier.steam:1100001012e381c group.admin
add_principal identifier.steam:11000010686ffbd group.admin
stop webadmin
set steam_webApiKey "xxxx"

**Path to server files:/home/redm/server-files
**Path to cfx-server-data files:/home/redm/server-data

I followed the tutorial here Installation | Kane's Documentation

but when I start the server there is a problem with esplugin_mysql

Found new resource esplugin_mysql in /home/redm/server-data/resources//esplugin_mysql
Resource loading for esplugin_mysql failed:
Could not parse resource metadata file /home/redm/server-data/resources//esplugin_mysql/fxmanifest.lua: ...edm/serverdata/resources//esplugin_mysql/fxmanifest. lua:19: unexpected symbol near '#'

and so later

Couldn't find resource esplugin_mysql.

And when I want to create a new character, I got lot of errors

SCRIPT ERROR: @redem_roleplay/server/sv_main.lua:66: attempt to index a nil value (local 'user')
> addCharacter (@redem_roleplay/server/sv_main.lua:66)
> ref (@redem_roleplay/server/sv_main.lua:22)
> handler (@redem/server/sv_player.lua:138)
> handler (@redem_roleplay/server/sv_main.lua:21)
SCRIPT ERROR: @redemrp_respawn/server/sv_main.lua:15: attempt to index a nil value (local 'user')
> ref (@redemrp_respawn/server/sv_main.lua:15)
> handler (@redem_roleplay/server/sv_main.lua:78)
> handler (@redemrp_respawn/server/sv_main.lua:14)

i found a way

I now use an older version cfx-server-data, and its working

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