[Release] EssentialMode base


#2454

Github shows latest change of 23 days ago and ES website shows 5.0.3 on it’s main page. Are users ok if they’ve updated within that time period?


#2455

Website download is latest anyway, they all link to the same download. Just didn’t update the page itself yet. And you’re only up to date if you downloaded it off github in that time period.


#2456

/admin or /noclip basically anything in the button options


#2457

Hey did u fixed it?

20 chars


#2458

Hey there gentlemen.

So I ran into a little problem and I was wondering if any of you kind souls would explain me what it happening over here.
I set up the server and essentialmode and when I start the server, everything goes fine until 5 seconds after I get a “[MySQL][Slow Query Warning]…” as show on the picture. (https://imgur.com/a/6kwfidC) Tried to find an answer for this on the forums but didn’t found a helpfull answer so I used this thread as last resort.
From what I little understand by reading the error, I believe it can’t find a DB called “essentialmode”. Is that the problem? Is there a way to fix it? If not, what is the error?

One thing I clearly didn’t understand. Do I have to have XAMPP running on the server where FiveM is (In this case a VPS) or?

Big thanks in advance and sorry for the incovinience.

Best Regards,
MiK


#2459

so i updated to the newest version of Essentialmode. The es_admin2 would be working just fine then out of no were when me or my admins try to kick or ban someone it will give all these errors.
Anyhelp?


#2460

Pls Help i become this error code

Access denied for command add_principal.
[ERROR] [MySQL] An error happens on MySQL for query “SELECT isDead FROM users WHERE identifier=@identifier {@identifier=steam:11000010c7e4339}”: Unknown column ‘isDead’ in ‘field list’


#2461

Pls help yourself, read what the error says. The column isDead doesn’t exist.


#2462

Hi guys, i have a big problem with my server :
When a new player try to join my server, the game freezes and he can’t create a character… he have to close the fivem process, then restart it, then join a second time and everything working good, he can create a character, and play.

Here is a screenshot of the bug in game :

As you can see, the minimap is not working, we can’t see any character skin too…

and, on the second connection everything is working :

So, i thought it was an addon failure, so i removed them all. In my server.cfg i only have :
start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2
start es_extended
start nb_menuperso

In my server console, i don’t have any error
And here is my citizen.fx when i first join my server : https://pastebin.com/TKR1JwTY

Thank you very much, i hope someone can help me


#2463

The Field exist in the database


#2464

This is unrelated to essentialmode. Please contact the correct technical manager of that collection of lines for further assistance.


#2465

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


#2466

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


#2467

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.


#2468

I am trying to replace the money icon ($).
I changed it everywhere possible, but it still shows $

Wtf?


#2469

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


#2470

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 :slight_smile:


#2471

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 1

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start rconlog
start scoreboard
start playernames
start essentialmode
start es_admin

start 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-Pack

sv_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 5

add 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 group

remove 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 rconlog in g:/RawfflesCorp\cfx-server-data-master/resources//[system]/rconlog
[ 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 rconlog
[ 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


#2472

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


#2473

any help with this error plz so i can start the esx modding