[Release] EssentialMode base

I have the same problem when i enter /info or /admin it just sends a chat message no info in console either just a chat message

That means essentialmode didn’t register the command. And that /info isn’t work is concerning for you as that means that it didn’t even initialize it at all.

Just noticed because this is a fresh setup i didnt add start essentialmode and es_admin to my config

i have corrected my mistake and /info works but /admin spits out this erro

Error running call reference function for resource es_admin: sv_admin.lua:17: attempt to index a nil value (local ‘user’)
stack traceback:
sv_admin.lua:17: in local ‘ref’
citizen:/scripting/lua/scheduler.lua:277: in function citizen:/scripting/lua/scheduler.lua:268
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
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 field ‘cmd’
server/main.lua:114: 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

1 Like

I’ve noticed you love just being rude and belligerent to everyone lmao

2 Likes

Does anyone know how to fix KingOfPower2828 error because I am having the same problem too?

Update

  • Added new parameter to all ways to add commands, for examples see es_admin
  • Added addACECommand to server exports
  • Fixed some misc stuff

Example of the new parameter, works of course only for the new chat with FXServer


2 Likes

I have the same issue. For the FX Server there is no Split String

Its not being rude, hes answering questions most people should know the answer to

1 Like

And your problem its probably something on your side, I just added EssentialMode, es_rp, es_admin and my own resource on FX and all of my stuff works fine.

I also have a similar problem as KingOfPower2828 (same errors) , using the latest FxServer and EssentialMode. Tried on 3 pc’s - one running Ubuntu then moved to 2 windows 10 machines.

Didn’t have much time to look into it, will try and figure it out Later on.

Oh the fun.

How do you add people to admins then cause theres no console for FXServers?

People have asked this question 3 times and there is still no fix.

Error running system event handling function for resource textscript: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: server.lua:54: attempt to call a nil value (method ‘Split’)
stack traceback:
server.lua:54: in function ‘stringsplit’
server.lua:2: 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



**_COMMAND EXECUTED WAS_**
_/announce, or any /command that has to do with essentials._

And there is nothing wrong with it in essentialmode4? So asking it doesn’t make sense as that function doesn’t even exist anymore.

@Kanersps Hello dude. What is the licence of your code ?

Then could you tell me the command to change time of day and also how to do an announcement withing game?

If no license is specified it uses the no license license. A private license can be discussed.

Ok, thank you :slight_smile:

How do you install Mysql? CouchDB seems to me to be pretty apart from how to edit it, please how could it be for Mysql ?? Or is it just for CouchDB?

EssentialMode currently only supports CouchDB.

How do you add more jobs to the Job office here’s what I’ve done.
https://gyazo.com/fd38a2c4da8615847bfc09eb7d4056bf

it doesn’t show up in game.