[Release] EssentialMode base

No version of EssentialMode ever supported MySQL. ES4+ supports custom data API, which can be utilized to have a MySQL database.

Anyone know how i can change the admin ban message? I would like to customize it. Thanks

Does this still work with couchdb?

1 Like

Whenever I try /kick or a similar command I get this error. I am using CouchDB and ES5.

[ 276922] InvokeNative: execution failed: Argument at index 0 was null.
[ 276969] Error running call reference function for resource es_admin2: Execution of native 00000000406b4b20 in script host failed.
[ 276985] stack traceback:
[ 277000] [C]: in upvalue ‘_in’
[ 277016] citizen:/scripting/lua/natives_server.lua:141: in function ‘GetPlayerName’
[ 277032] server.lua:365: in local ‘ref’
[ 277047] citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268
[ 277110] Error running call reference function for resource essentialmode: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 277110] stack traceback:
[ 277125] [C]: in function ‘error’
[ 277141] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
[ 277157] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
[ 277172] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
[ 277188] citizen:/scripting/lua/scheduler.lua:338: in upvalue ‘callback’
[ 277188] server/main.lua:213: in local ‘ref’
[ 277203] citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268

Edit: Currently working, I had to use essentialmode4 instead of 5.

Error running call reference function for resource essentialmode: server/main.lua:212: attempt to index a nil value (field ‘?’)
[ 388466344] stack traceback:
[ 388466344] server/main.lua:212: in local ‘ref’
[ 388466344] citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268

can someone help please

1 Like

Hello, i need help… When typing /kick it doesnt work, says "Error running call reference function for resource essentialmode: server/main.lua:212: in local ‘ref’
citizen:/scripting/lua/schedular.lua:277:in function
citizen:/scripting/lua/schedular.lua:268 Please help me fix this

is there es_admin1 still?

/kick command come ups with this message can anyone help

2 Likes

same issue here man, idk

ban player is not working

1 Like

Every Time I Put In A Admin Command In Game It Just Says Incorrect Player ID And Fixes?

1 Like

My server log keeps displaying “Access denied for command add_principal” whenever someone tried to connect, and then they just get stuck on “Initializing session”. How do I fix this, how do I give a resource access to the command?

How do I remove all the markers from the map? I want to only see the markers from the resources I install.

EssentialMode itself doesn’t add any map blips

Should be line 43 in your server.lua

Yes it does. We are using couchdb, and it’s working perfectly fine

How do you add the first user to the admin, mod, superadmin group if you can’t access the GUI unless you have permissions?

Please help! I swear I set everything up right but /kick ,/bring ,/freeze , etc. don’t work! they show up in the server cmd prompt but not actually in game.

1 Like

@anyone how do you get /ban working?

1 Like

there is no /ban command in “vanilla” essential mode you need a separate script