when i do this, i got error :
Triggering!
Error running call reference function for resource essentialmode: server/player/login.lua:9: attempt to index a boolean value (local 'user')
stack traceback:
server/player/login.lua:9: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
Error running call reference function for resource esplugin_mysql: 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:338: in upvalue 'callback'
server.lua:29: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[ERROR] [] Check the error above, an error happens when executing the callback from the query : "SELECT * FROM users WHERE `identifier`=@identifier; {identifier=steam:XXXXXXXXXXX}"
Sending heartbeat to live-internal.fivem.net:30110
what can i do about this or could you please have a fix ? thx! @Kanersps
Can someone help me with this?
iām new into this stuffs, can you tell here i put this āSet this convar in your server configuration: set es_enableCustomData 1ā
You need to put it in the server.cfg file in your Server
Like a resource?
Can i use couchdb too for the same essential mode?
And you recommend phpmyadmin or heidisql?
And the database will be called gta5_gamemode_essential?
I personally use phpmyadmin.
No, what I did was placed it on the very top of the cfg file and I would assume so. Itāll store the exact data thatās in your MySQL to your CouchDB. I would use one or the other.
Iām getting this error
Error running system event handling function for resource mysql-async: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: 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:338: in function citizen:/scripting/lua/scheduler.lua:331
(ā¦tail callsā¦)
lib/MySQL.lua:37: in method 'initā
lib/init.lua:3: in upvalue 'handlerā
citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123
stack traceback:
[C]: in function 'errorā
citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNowā
citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92
hitch warning: frame time of 292 milliseconds
Update:
Ok the error itās gonne, i forgot to paste something in the server.cfg that make the connection to the data base, but thanks for the info you helped alot xd
How do we set the permissions on es_admin Thanks
you have to add a group and then add yourself to that group
you have the superadmin group the admin group etc
run the server, enter the server and then come to the console here the server is opened and just do āsetsuperadmin and your idā
i think that is like this for what i remember
but now you have the new system of es_admin, enter the server and presse āHOMEā and a menu will pop up then everything is there for you xd
Is there any ban command in the new es_admin2. Because I cant find it.
Youāre welcome, yeah if Iām not mistaking that error basically means the MySQL-async isnāt set up fully like the database info inside the cfg. Good luck and have fun
Not yet, @Kanersps is planning on adding it in the next version that will have an improved system for banning
Other than what @David_Carneiro said with the āHOMEā key itās also done through your game console or a program called Icecon.
The commands you want to type are these:
āsetgroup (ID number) (Group)ā // to set admin
āsetadmin (ID number) (Permission Level)ā // to set level
Well now my localhost/phpmyadmin online page doesnāt open -.- fuck
Where do i navigate to set myself up as superadmin?
It needs to be done through Console commands in a program such as Icecon.
What do i need to type in there? Because i typed in setgroup 1 superadmin, also for some reason jobs arenāt working for meā¦ i get the UI and click on policeā¦ how do i add myself to police? Am I missing something? Like identity?
āsetgroup (ID number) (Group)ā // to set admin
āsetadmin (ID number) (Permission Level)ā // to set level
what would be considered super admin?