SCRIPT ERROR: @es_extended/server/main.lua:133:

hi guys, i got a problem with loading in to the server because i says (awaiting scripts) this is what error i get from the console:

Connecting: timmylwd
Access denied for command add_principal.
server thread hitch warning: timer interval of 538 milliseconds
Access denied for command add_principal.
SCRIPT ERROR: @es_extended/server/main.lua:133: attempt to index a nil value (field ‘?’)

ref (@es_extended/server/main.lua:133)
(@mysql-async/mysql-async.js:15543)
SCRIPT ERROR: @es_extended/server/main.lua:133: attempt to index a nil value (field ‘?’)
ref (@es_extended/server/main.lua:133)
(@mysql-async/mysql-async.js:15543)


my server.cfg:

start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2
start async

These resources will start by default.

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure hardcap
ensure ■■■■■■■

start FiveM-Material_Load-Loading-Screen
#start z-loadscreen
#start loqscript-material_load-loadingscreen
#start fivem_loadingscreen

start cron
start es_extended
start esx_menu_default
start esx_menu_dialog
start esx_menu_list

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit allow # but don’t allow quit
add_principal identifier.fivem: group.admin # add the admin to the group
add_principal identifier.steam: group.admin # Naam van de admin zet je hier, en naast steam het steamgedeelte uit de database
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow


my database:

Imgur


what i tried is adding these lines:

add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow


The server config look a lot deifferent ofcourse but those are the keys and passwords that needs to be hidden.

hopefully someone can help me out with this because i really cant find the problem.

i re-installed es_extended and it worked fine i dont know why

i think base on your database is there no table of users

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