[Release] EssentialMode base

What? EssentialMode doesn’t have a job office.

when i type /info it says 0 commands loaded how do i enavle commands?

I apologize I meant to post this within ES_RP. If you don’t mind answering the question here?

Enable commands? What.

Essentialmode comes with one single command which isn’t counted. Which is /info.

I’m sorry but i answer it only in the correct topic. Please refrain from asking those questions here again.

Can I message you on discord

You need to use an rcon tool,

(Like icecon)

Then type:

(Permission Level)
setadmin (id) (level)
setadmin 1 4

(Group)
setgroup (id) (group)
Ex:
setgroup 1 superadmin

How to call chat command from client side?

I get this error when I do /admin on Essential Mode 4.2.1

Any help?

[ 138656] Error running call reference function for resource es_admin: sv_admin.lua:16: attempt to index a nil value (local ‘user’)

[ 138671] stack traceback:

[ 138687] sv_admin.lua:16: in local ‘ref’

[ 138687] citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268

[ 138718] Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes

[ 138734] stack traceback:

[ 138750] [C]: in function ‘error’

[ 138765] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’

[ 138781] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’

[ 138796] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’

[ 138812] citizen:/scripting/lua/scheduler.lua:338: in field ‘cmd’

[ 138828] server/main.lua:115: in upvalue ‘handler’

[ 138843] citizen:/scripting/lua/scheduler.lua:124: in function citizen:/scripting/lua/scheduler.lua:123

[ 138859] stack traceback:

[ 138875] [C]: in function ‘error’

[ 138890] citizen:/scripting/lua/scheduler.lua:39: in field ‘CreateThreadNow’

[ 138921] citizen:/scripting/lua/scheduler.lua:123: in function citizen:/scripting/lua/scheduler.lua:92

i still get this error aswell

Seems to have to do with CouchDB not being setup correctly.

You kind sir are a machine… i have lost patience with the human race years ago working in IT…

Just thanking you in the name of the community!

2 Likes

I had a different script conflicting with mine. As soon as I stopped the resource, everything worked again.

Where do I put the CouchDB info?

(I’m assuming db.lua)
What line on said file?

How do I spawn a vehicle and what permission level? I am in superadmin but it doesn’t show up in “/” list I can do all the other commands just fine.

Hello, sorry but I am a problem with EssentialMode adding myself as an administrator. The error code is “User Couldn’t be found!”, and I do not know how to fix the issue? Any instructions on how to manage the issue?

CouchDB info goes in Config.lua

I’m having an issue where on any of my mods if I trigger an event (client in this case) below es:getPlayerFromId, nothing will get triggered. anyone have this issue?

Triggering above that line works, but then I can’t call things correctly when needed.

Whenever I try to use a es_admin command, like freeze, slap, kick etc. Literally it just shows what I’ve typed.

Then it isn’t installed correctly.