This is unrelated to essentialmode. Please contact the correct technical manager of that collection of lines for further assistance.
Hello everyone, today i worked on setup a new rp server, actually i already put some mods. It was working great, but i tried to install essentialmode with Mysql database, and here is the problem. I have installed correctly es_admin, essentialmode( I had before a message who tell me than essentialmode was ok). I have install MySQL-Async & esplugin_mysql, everything looks normal. My database is working, when i log in, it created me on the table âusersâ with an amount of money and bank money. The problem is when i log in, i canât have any acess to this money, i donât have any UI, i donât have the message on logs server than told me than essentialmode is correctly setup and i have this:
[MySQL] [Slow Query Warning] [esplugin_mysql] [24756ms] SELECT * FROM users WHERE identifier
=âsteam:XXXXXXXXXXXXXâ; (I donât see âXXXXXXXXXXXXâ but my steam ID, the request is correct.)
[ERROR] [MySQL] [esplugin_mysql] An error happens on MySQL for query â[object Object]â: connect ETIMEDOUT
e[91mError: (node:318) UnhandledPromiseRejectionWarning: Error: connect ETIMEDOUT
at PoolConnection.Connection._handleConnectTimeout (mysql-async.js:1009:13)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:106:13)
at Socket.emit (events.js:208:7)
at Socket._onTimeout (net.js:420:8)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
at Protocol._enqueue (mysql-async.js:5807:48)
at Protocol.handshake (mysql-async.js:5714:23)
at PoolConnection.connect (mysql-async.js:720:18)
at Pool.getConnection (mysql-async.js:4577:16)
at Pool.query (mysql-async.js:4731:8)
at Promise (mysql-async.js:4970:12)
at new Promise ()
at execute (mysql-async.js:4967:26)
at Object.global.exports [as callback] (mysql-async.js:4993:5)
at citizen:/scripting/v8/main.js:87:41e[0m
e[91mError: (node:318) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)e[0m
If someone knows how i can correct this it would be wondefull <3
hey im having an issue using the es_admin2 everytime i use it by pressing home every pops up but when i try to do something it says: Access denied for command add_principal. i dont know if i have something configured wrong or not but even after if i close it the curser remains and i cant move in game
So I have had this issue for a while now, whenever someone joins my server for the first time they spawn as an npc (no job, no inventory, no phone etc)
I have no idea why and have contacted multiple coders and zaphosting asveel but nothing has worked. There is a table called user and everything is exactly like its supposed to be. Now I have to fill in each players user and my server is starting to grow rapidly so it takes a lot of time
Any form of support is extremely appreciated.
I am trying to replace the money icon ($).
I changed it everywhere possible, but it still shows $
Wtf?
Hello,
Iâve tried everything. Literally. I have NO clue what any of these errors are on what to do with them. All I know is that they are causing issues in-gameâŚ
https://gyazo.com/0d193dd1d09c051be76b6cbc22f0c543
https://gyazo.com/b2159f6985f8701d236a23ab51e2797d
https://gyazo.com/74b66fd5f3bcbb452993be0af5c596ca
Does anyone have a clue on how to fix these, or who to contact about it?
plz send halp <3
You can replace the bank and dirty money in es_extended --> html --> img --> accounts
You can replace the essentialmode/ui.html at line 18 or line 26. Looks like itâs a textbased $ though
So iâve set up EssentialMode 5 and es_admin from the release section, i set up and installed couchdb with root:1202 as username and password, i also changed the configuration file for the server to reflect said changes in server.cfg i have the following:
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âset mysql_connection_string âserver=127.0.0.1;database=essentialmode;userid=root;password=1202â
set es_enableCustomData 1start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start â â â â â â â
start scoreboard
start playernames
start essentialmode
start es_adminstart BrockALPR
start ToastysCruiseControl
start bpcharger
start sirencontrols
start unmarked-police-pack
start audir8
start audirs3
start audirs4
start audirs5
start audirs6
start audirs7
start bmwf82
start bmwi8
start bmwi8_2
start bmwm2
start bmwm3
start bmwm5
start bmwm6
start brabus
start mclaren650s
start mercc63
start mercedesg65
start nissangtr
start rangeroverevoque
start vwtouregr50
start pack1
start xnonlinegarage
start LSCS-Packsv_scriptHookAllowed 1
change this
rcon_password master
sv_hostname âRawfflesCorpâ
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 5add 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:76561198070424043 group.admin # add the admin to the groupremove the # to hide player endpoints in external log output
#sv_endpointprivacy true
server slots limit (must be between 1 and 31)
sv_maxclients 32
license key for server (https://keymaster.fivem.net)
sv_licensekey âu3zowptjd465wuz03x5qslmvpeiku16gâ
Whenever i start the server everything runs fine, just like a vanilla server, but as soon as i try to interact with ESX i get the following:
[ 172088182] Initializing Mono
[ 172088198] Initializing Mono completed
[ 172088213] Hello!
[ 172088245] Resolved live-internal.fivem.net:30110 to 178.32.9.100:30110
[ 172088291] Found new resource audir8 in g:/RawfflesCorp\cfx-server-data-master/resources//audir8
[ 172088307] Found new resource audirs3 in g:/RawfflesCorp\cfx-server-data-master/resources//audirs3
[ 172088323] Found new resource audirs4 in g:/RawfflesCorp\cfx-server-data-master/resources//audirs4
[ 172088323] Found new resource audirs5 in g:/RawfflesCorp\cfx-server-data-master/resources//audirs5
[ 172088338] Found new resource audirs6 in g:/RawfflesCorp\cfx-server-data-master/resources//audirs6
[ 172088369] Found new resource audirs7 in g:/RawfflesCorp\cfx-server-data-master/resources//audirs7
[ 172088385] Found new resource bmwf82 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwf82
[ 172088401] Found new resource bmwi8 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwi8
[ 172088416] Found new resource bmwi8_2 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwi8_2
[ 172088416] Found new resource bmwm2 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwm2
[ 172088432] Found new resource bmwm3 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwm3
[ 172088447] Found new resource bmwm5 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwm5
[ 172088463] Found new resource bmwm6 in g:/RawfflesCorp\cfx-server-data-master/resources//bmwm6
[ 172088479] Found new resource bpcharger in g:/RawfflesCorp\cfx-server-data-master/resources//bpcharger
[ 172088494] Found new resource brabus in g:/RawfflesCorp\cfx-server-data-master/resources//brabus
[ 172088510] Found new resource BrockALPR in g:/RawfflesCorp\cfx-server-data-master/resources//BrockALPR
[ 172088510] Found new resource essentialmode in g:/RawfflesCorp\cfx-server-data-master/resources//essentialmode
[ 172088525] Found new resource es_admin in g:/RawfflesCorp\cfx-server-data-master/resources//es_admin
[ 172088541] Found new resource fivem in g:/RawfflesCorp\cfx-server-data-master/resources//fivem
[ 172088557] Found new resource fivem-awesome1501 in g:/RawfflesCorp\cfx-server-data-master/resources//fivem-awesome1501
[ 172088572] Found new resource fivem-map-hipster in g:/RawfflesCorp\cfx-server-data-master/resources//fivem-map-hipster
[ 172088588] Found new resource fivem-map-skater in g:/RawfflesCorp\cfx-server-data-master/resources//fivem-map-skater
[ 172088588] Found new resource LSCS-Pack in g:/RawfflesCorp\cfx-server-data-master/resources//LSCS-Pack
[ 172088603] Found new resource mclaren650s in g:/RawfflesCorp\cfx-server-data-master/resources//mclaren650s
[ 172088619] Found new resource mercc63 in g:/RawfflesCorp\cfx-server-data-master/resources//mercc63
[ 172088635] Found new resource mercedesg65 in g:/RawfflesCorp\cfx-server-data-master/resources//mercedesg65
[ 172088650] Found new resource nissangtr in g:/RawfflesCorp\cfx-server-data-master/resources//nissangtr
[ 172088650] Found new resource pack1 in g:/RawfflesCorp\cfx-server-data-master/resources//pack1
[ 172088666] Found new resource rangeroverevoque in g:/RawfflesCorp\cfx-server-data-master/resources//rangeroverevoque
[ 172088681] Found new resource runcode in g:/RawfflesCorp\cfx-server-data-master/resources//runcode
[ 172088697] Found new resource sirencontrols in g:/RawfflesCorp\cfx-server-data-master/resources//sirencontrols
[ 172088713] Found new resource ToastysCruiseControl in g:/RawfflesCorp\cfx-server-data-master/resources//ToastysCruiseControl
[ 172088728] Found new resource unmarked-police-pack in g:/RawfflesCorp\cfx-server-data-master/resources//unmarked-police-pack
[ 172088728] Found new resource vwtouregr50 in g:/RawfflesCorp\cfx-server-data-master/resources//vwtouregr50
[ 172088744] Found new resource xnonlinegarage in g:/RawfflesCorp\cfx-server-data-master/resources//xnonlinegarage
[ 172088759] Found new resource race in g:/RawfflesCorp\cfx-server-data-master/resources//[gamemodes]/race
[ 172088775] Found new resource race-test in g:/RawfflesCorp\cfx-server-data-master/resources//[gamemodes]/race-test
[ 172088791] Found new resource channelfeed in g:/RawfflesCorp\cfx-server-data-master/resources//[gameplay]/channelfeed
[ 172088791] Found new resource irc in g:/RawfflesCorp\cfx-server-data-master/resources//[gameplay]/irc
[ 172088806] Found new resource obituary in g:/RawfflesCorp\cfx-server-data-master/resources//[gameplay]/obituary
[ 172088822] Found new resource obituary-deaths in g:/RawfflesCorp\cfx-server-data-master/resources//[gameplay]/obituary-deaths
[ 172088837] Found new resource playernames in g:/RawfflesCorp\cfx-server-data-master/resources//[gameplay]/playernames
[ 172088853] Found new resource mapmanager in g:/RawfflesCorp\cfx-server-data-master/resources//[managers]/mapmanager
[ 172088869] Found new resource baseevents in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/baseevents
[ 172088884] Found new resource chat in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/chat
[ 172088900] Found new resource hardcap in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/hardcap
[ 172088900] Found new resource â â â â â â â in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/â â â â â â â
[ 172088915] Found new resource scoreboard in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/scoreboard
[ 172088931] Found new resource sessionmanager in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/sessionmanager
[ 172088947] Found new resource spawnmanager in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/spawnmanager
[ 172088962] Found new resource betaguns in g:/RawfflesCorp\cfx-server-data-master/resources//[test]/betaguns
[ 172088978] Found new resource gameInit in g:/RawfflesCorp\cfx-server-data-master/resources//[test]/gameInit
[ 172088993] Found new resource keks in g:/RawfflesCorp\cfx-server-data-master/resources//[test]/keks
[ 172089040] Started resource sessionmanager
[ 172089056] Started resource mapmanager
[ 172089071] Started resource chat
[ 172089087] Started resource spawnmanager
[ 172089087] Started gametype Freeroam
[ 172089103] Started resource fivem
[ 172089118] Started resource hardcap
[ 172089134] Started resource â â â â â â â
[ 172089134] Started resource scoreboard
[ 172089165] Started resource playernames
[ 172089181] Started resource essentialmode
[ 172089196] Started resource es_admin
[ 172089212] Started resource BrockALPR
[ 172089212] Started resource ToastysCruiseControl
[ 172089227] Started resource bpcharger
[ 172089243] Started resource sirencontrols
[ 172089259] Started resource unmarked-police-pack
[ 172089274] Started resource audir8
[ 172089290] Started resource audirs3
[ 172089305] Started resource audirs4
[ 172089305] Started resource audirs5
[ 172089321] Started resource audirs6
[ 172089337] Started resource audirs7
[ 172089368] Started resource bmwf82
[ 172089383] Started resource bmwi8
[ 172089399] Started resource bmwi8_2
[ 172089415] Started resource bmwm2
[ 172089430] Started resource bmwm3
[ 172089446] Started resource bmwm5
[ 172089446] Started resource bmwm6
[ 172089461] Started resource brabus
[ 172089477] Started resource mclaren650s
[ 172089477] Started resource mercc63
[ 172089493] Started resource mercedesg65
[ 172089508] Started resource nissangtr
[ 172089508] Started resource rangeroverevoque
[ 172089524] Started resource vwtouregr50
[ 172089555] Started resource pack1
[ 172089571] Started resource xnonlinegarage
[ 172089586] Started resource LSCS-Pack
[ 172089602] Authenticating server license keyâŚ
[ 172090444] Server license key authentication succeeded. Welcome!
[ 172090507] Sending heartbeat to live-internal.fivem.net:30110
[ 172090522]
[ 172090522] Current version: 5.1.0
[ 172090538] Updater version: 5.1.0
[ 172090538]
[ 172090538] Everything is fine!
[ 172090553]
[ 172090569] Started map fivem-map-hipster
[ 172090569] Started resource fivem-map-hipster
[ 172092160] Error running call reference function for resource es_admin: citizen:/scripting/lua/scheduler.lua:351: server.lua:367: attempt to index a nil value (local âuserâ)
[ 172092160] stack traceback:
[ 172092176] server.lua:367: in upvalue ârefâ
[ 172092176] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 172092191] [C]: in function âxpcallâ
[ 172092191] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 172092191] stack traceback:
[ 172092207] [C]: in function âerrorâ
[ 172092207] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 172092269] Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:351: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 172092269] stack traceback:
[ 172092269] [C]: in function âerrorâ
[ 172092285] citizen:/scripting/lua/MessagePack.lua:830: in method âunderflowâ
[ 172092285] citizen:/scripting/lua/MessagePack.lua:465: in field âanyâ
[ 172092301] citizen:/scripting/lua/MessagePack.lua:860: in field âunpackâ
[ 172092301] citizen:/scripting/lua/scheduler.lua:563: in upvalue âcallbackâ
[ 172092316] server/main.lua:186: in upvalue ârefâ
[ 172092316] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 172092332] [C]: in function âxpcallâ
[ 172092332] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 172092332] stack traceback:
[ 172092347] [C]: in function âerrorâ
[ 172092347] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 172092363] hitch warning: frame time of 241 milliseconds
Any help would be greatly appreciated
i keep getting this error when i use /admin
Sending heartbeat to live-internal.fivem.net:30110
Error running system event handling function for resource esplugin: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:15: attempt to index a nil value (global âMySQLâ)
stack traceback:
server.lua:15: in upvalue âhandlerâ
citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
stack traceback:
[C]: in function âerrorâ
citizen:/scripting/lua/scheduler.lua:41: in field âCreateThreadNowâ
citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
Sending heartbeat to live-internal.fivem.net:30110
Sending heartbeat to live-internal.fivem.net:30110
Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:359: server.lua:362: attempt to index a nil value (local âuserâ)
stack traceback:
server.lua:362: in upvalue ârefâ
citizen:/scripting/lua/scheduler.lua:345: in function <citizen:/scripting/lua/scheduler.lua:344>
[C]: in function âxpcallâ
citizen:/scripting/lua/scheduler.lua:344: in function <citizen:/scripting/lua/scheduler.lua:343>
stack traceback:
[C]: in function âerrorâ
citizen:/scripting/lua/scheduler.lua:359: in function <citizen:/scripting/lua/scheduler.lua:328>
Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:359: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function âerrorâ
citizen:/scripting/lua/MessagePack.lua:830: in method âunderflowâ
citizen:/scripting/lua/MessagePack.lua:465: in field âanyâ
citizen:/scripting/lua/MessagePack.lua:860: in field âunpackâ
citizen:/scripting/lua/scheduler.lua:578: in upvalue âcallbackâ
server/main.lua:186: in upvalue ârefâ
citizen:/scripting/lua/scheduler.lua:345: in function <citizen:/scripting/lua/scheduler.lua:344>
[C]: in function âxpcallâ
citizen:/scripting/lua/scheduler.lua:344: in function <citizen:/scripting/lua/scheduler.lua:343>
stack traceback:
[C]: in function âerrorâ
citizen:/scripting/lua/scheduler.lua:359: in function <citizen:/scripting/lua/scheduler.lua:328>
Sending heartbeat to live-internal.fivem.net:30110
Is it possible to use mysql instead of couchdb and how? If not, how do I configure couchdb with the tables?
iâm getting an error
Error: (node:10952) UnhandledPromiseRejectionWarning: Error: No valid connection string found
at parseConnectingString (mysql-async.js:5058:18)
at global.on (mysql-async.js:5067:18)
at citizen:/scripting/v8/main.js:193:28
Error: (node:10952) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:10952) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
you have to set the mysql connection string in server.cfg look it up on the EssentialMode SQL installation instructions
How do you even conect with mysql?? I just donât get thatâŚ
Could not find dependency essentialmode for resource es_admin-master.
Couldnât start resource es_admin-master.
Have you got a solution for this? I cant move in game after i close the home menu either
@Hanzalah you apparently have to go into es_admin, go into the ui folder. go to where index.html and edit the index.html. Anywhere in the code that says es_admin2 needs to be changed to es_admin to fix the issue. Or you can be lazy and replace the index.html with mine and the issue is resolved: index.html (6.3 KB)
When I type /admin in chat it gives me this error. I am working for 4 hours straight to fix this. PLEASE HELP. I tried so much, everything is properly setup I donât know why I keep getting this error.
InvokeNative: execution failed: Argument at index 1 was null.
Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:403: Execution of native 000000002f7a49e6 in script host failed.
stack traceback:
[C]: in upvalue '_in'
citizen:/scripting/lua/natives_server.lua:405: in function 'TriggerClientEventInternal'
(...tail calls...)
server.lua:414: in upvalue 'ref'
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>
[C]: in function 'xpcall'
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>
cfx> Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:403: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
citizen:/scripting/lua/scheduler.lua:626: in upvalue 'callback'
server/main.lua:275: in upvalue 'ref'
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>
[C]: in function 'xpcall'
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>
Maybe I overlooked this, but⌠One of my admins banned someone using es_admin2 and I cant find a folder or file that has the bans in it to remove it. How do I go about unbanning someone?