@KSA01 its on a server from ■■■■■■■ servers it comes as a one click install on the server but the config.lua is not in the one they have
Please could someone help me. Does anyone know how to install the essentialMode on a FiveM game Server?
Means I only can use FTP and from the provider the control panel. Hopefully theres someon who can help me.
Thanks
Hi i get an error with your new Essential Mode 4 (4.1.6)
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: server/main.lua:41: attempt to index a nil value (field '?')
stack traceback:
server/main.lua:41: 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>
any idea whats causing this?
Thanks
Hello, I have a realy very big problem x) please check this errors
Error running call reference function for resource essentialmode: server/classes/player.lua:23: attempt to perform arithmetic on a nil value (local 'newMoney')
stack traceback:
server/classes/player.lua:23: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error running call reference function for resource es_freeroam: 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 'setMoney'
server.lua:13: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
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 local 'cb'
server/player/login.lua:76: 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>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
Error running call reference function for resource jobs-system: server.lua:81: attempt to index a nil value (global 'WIJ')
stack traceback:
server.lua:81: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
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 local 'cb'
server/player/login.lua:76: 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>
[C]: in function 'coroutine.resume'
citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:123: in function <citizen:/scripting/lua/scheduler.lua:92>
[3ms] SELECT * FROM users WHERE identifier = @name
Error running call reference function for resource banking: server.lua:3: attempt to index a nil value (field '?')
stack traceback:
server.lua:3: in local 'ref'
citizen:/scripting/lua/scheduler.lua:277: in function <citizen:/scripting/lua/scheduler.lua:268>
Error invoking callback for event onMySqlQueryFetchAll: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: src
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
at System.Runtime.InteropServices.Marshal.Copy (System.IntPtr source, System.Byte[] destination, System.Int32 startIndex, System.Int32 length) [0x00000] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at CitizenFX.Core.RemoteFunctionReference._InvokeNative (System.Byte[] argsSerialized) [0x00052] in /src/code/client/clrcore/RemoteFunctionReference.cs:77
at CitizenFX.Core.RemoteFunctionReference.InvokeNative (System.Byte[] argsSerialized) [0x00000] in /src/code/client/clrcore/RemoteFunctionReference.cs:59
at CitizenFX.Core.MsgPackDeserializer+<>c__DisplayClass32_0.<UnpackExt8>b__0 (System.Object[] args) [0x00007] in /src/code/client/clrcore/MsgPackDeserializer.cs:270
at MySqlAsync.QueryProcess.Call[TParam,TResult] (System.Boolean error, System.Func`2[T,TResult] transform) [0x000b0] in <0bebf755dc10467bab62ba5f2b94590e>:0
at MySqlAsync.MySqlAsync.<MySqlAsync>m__8 (System.Int32 key, System.Boolean error) [0x0000c] in <0bebf755dc10467bab62ba5f2b94590e>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <d7e663f2f7cd4ab6929018ec5233f09d>:0
at CitizenFX.Core.EventHandlerEntry+<Invoke>d__5.MoveNext () [0x00122] in /src/code/client/clrcore/EventHandlerDictionary.cs:144
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: Failed to execute thread: server/db.lua:158: attempt to index a boolean value (local 'user')
stack traceback:
server/db.lua:158: in upvalue 'callback'
server/db.lua:197: in upvalue 'callback'
server/db.lua:73: in field '?'
citizen:/scripting/lua/scheduler.lua:219: 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>
When I start the server, there is no error,
Initializing Mono
Initializing Mono completed
Hello!
Failed to get instance for guid a7242855-0350-4cb5-a0fe-61021e7eafaa and iid 567634c6-3bdd-4d0e-af39-7472aed479b7: System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <fb8f7831037a4d3481e7bbe63117e3d0>:0
at CitizenFX.Core.RuntimeManager.CreateObjectInstance (System.Guid guid, System.Guid iid) [0x00014] in /src/code/client/clrcore/RuntimeManager.cs:39
Found new resource mysql-async in /home/gtanew/cfx-server-data/resources//mysql-async
Found new resource Prison in /home/gtanew/cfx-server-data/resources//Prison
Found new resource essentialmode2 in /home/gtanew/cfx-server-data/resources//essentialmode2
Found new resource direction_hud in /home/gtanew/cfx-server-data/resources//direction_hud
Found new resource vehcontrol in /home/gtanew/cfx-server-data/resources//vehcontrol
Found new resource taxi in /home/gtanew/cfx-server-data/resources//taxi
Found new resource gui in /home/gtanew/cfx-server-data/resources//gui
Found new resource paye in /home/gtanew/cfx-server-data/resources//paye
Found new resource skin in /home/gtanew/cfx-server-data/resources//skin
Found new resource jobs-system in /home/gtanew/cfx-server-data/resources//jobs-system
Found new resource carteid in /home/gtanew/cfx-server-data/resources//carteid
Found new resource essentialmode in /home/gtanew/cfx-server-data/resources//essentialmode
Found new resource police in /home/gtanew/cfx-server-data/resources//police
Found new resource loadout in /home/gtanew/cfx-server-data/resources//loadout
Found new resource customchat in /home/gtanew/cfx-server-data/resources//customchat
Found new resource model-menu-master in /home/gtanew/cfx-server-data/resources//model-menu-master
Found new resource Garage-Vigneron in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage-Vigneron
Found new resource Pizza in /home/gtanew/cfx-server-data/resources//[Zoldac]/Pizza
Found new resource Boutiques in /home/gtanew/cfx-server-data/resources//[Zoldac]/Boutiques
Found new resource MenuPrincipal in /home/gtanew/cfx-server-data/resources//[Zoldac]/MenuPrincipal
Found new resource AFK in /home/gtanew/cfx-server-data/resources//[Zoldac]/AFK
Found new resource timesync in /home/gtanew/cfx-server-data/resources//[Zoldac]/timesync
Found new resource Garage-Medecin in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage-Medecin
Found new resource lastpostodb in /home/gtanew/cfx-server-data/resources//[Zoldac]/lastpostodb
Found new resource Ambulancier in /home/gtanew/cfx-server-data/resources//[Zoldac]/Ambulancier
Found new resource JobsRecoltes in /home/gtanew/cfx-server-data/resources//[Zoldac]/JobsRecoltes
Found new resource LSCustom in /home/gtanew/cfx-server-data/resources//[Zoldac]/LSCustom
Found new resource vdk_truck in /home/gtanew/cfx-server-data/resources//[Zoldac]/vdk_truck
Found new resource Menu-Admin in /home/gtanew/cfx-server-data/resources//[Zoldac]/Menu-Admin
Found new resource banking in /home/gtanew/cfx-server-data/resources//[Zoldac]/banking
Found new resource Sirenes in /home/gtanew/cfx-server-data/resources//[Zoldac]/Sirenes
Found new resource Garage-Brasseur in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage-Brasseur
Found new resource carwash in /home/gtanew/cfx-server-data/resources//[Zoldac]/carwash
Found new resource Garage-Depanneur in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage-Depanneur
Found new resource loadipl in /home/gtanew/cfx-server-data/resources//[Zoldac]/loadipl
Found new resource Menu-Depanneur in /home/gtanew/cfx-server-data/resources//[Zoldac]/Menu-Depanneur
Found new resource MissionText in /home/gtanew/cfx-server-data/resources//[Zoldac]/MissionText
Found new resource Clignotants in /home/gtanew/cfx-server-data/resources//[Zoldac]/Clignotants
Found new resource Menu-Medecin in /home/gtanew/cfx-server-data/resources//[Zoldac]/Menu-Medecin
Found new resource VLib in /home/gtanew/cfx-server-data/resources//[Zoldac]/VLib
Found new resource train in /home/gtanew/cfx-server-data/resources//[Zoldac]/train
Found new resource Entreprise-Taxi in /home/gtanew/cfx-server-data/resources//[Zoldac]/Entreprise-Taxi
Found new resource AlfostRP in /home/gtanew/cfx-server-data/resources//[Zoldac]/AlfostRP
Found new resource Garage-Pecheur in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage-Pecheur
Found new resource vdk_inventory in /home/gtanew/cfx-server-data/resources//[Zoldac]/vdk_inventory
Found new resource Garage in /home/gtanew/cfx-server-data/resources//[Zoldac]/Garage
Found new resource job in /home/gtanew/cfx-server-data/resources//[Zoldac]/job
Found new resource Camionneur in /home/gtanew/cfx-server-data/resources//[Zoldac]/Camionneur
Found new resource Apartements in /home/gtanew/cfx-server-data/resources//[Zoldac]/Apartements
Found new resource MenuPrincipal2 in /home/gtanew/cfx-server-data/resources//[Zoldac]/MenuPrincipal2
Found new resource pNotify in /home/gtanew/cfx-server-data/resources//[Zoldac]/pNotify
Found new resource Voix in /home/gtanew/cfx-server-data/resources//[Zoldac]/Voix
Found new resource dmvschool in /home/gtanew/cfx-server-data/resources//[Zoldac]/dmvschool
Found new resource frfuel in /home/gtanew/cfx-server-data/resources//[Zoldac]/frfuel
Found new resource modelblacklist in /home/gtanew/cfx-server-data/resources//[Zoldac]/modelblacklist
Found new resource system in /home/gtanew/cfx-server-data/resources//[Aurelien]/system
Found new resource assets in /home/gtanew/cfx-server-data/resources//[Aurelien]/assets
Found new resource auth in /home/gtanew/cfx-server-data/resources//[Aurelien]/auth
Found new resource keks in /home/gtanew/cfx-server-data/resources//[Default]/keks
Found new resource baseevents in /home/gtanew/cfx-server-data/resources//[Default]/baseevents
Found new resource spawnmanager in /home/gtanew/cfx-server-data/resources//[Default]/spawnmanager
Found new resource sessionmanager in /home/gtanew/cfx-server-data/resources//[Default]/sessionmanager
Found new resource hardcap in /home/gtanew/cfx-server-data/resources//[Default]/hardcap
Found new resource fivem-awesome1501 in /home/gtanew/cfx-server-data/resources//[Default]/fivem-awesome1501
Found new resource mapmanager in /home/gtanew/cfx-server-data/resources//[Default]/mapmanager
Found new resource race in /home/gtanew/cfx-server-data/resources//[Default]/race
Found new resource obituary-deaths in /home/gtanew/cfx-server-data/resources//[Default]/obituary-deaths
Found new resource ■■■■■■■ in /home/gtanew/cfx-server-data/resources//[Default]/■■■■■■■
Found new resource gameInit in /home/gtanew/cfx-server-data/resources//[Default]/gameInit
Found new resource chat in /home/gtanew/cfx-server-data/resources//[Default]/chat
Found new resource irc in /home/gtanew/cfx-server-data/resources//[Default]/irc
Found new resource example_gamemode in /home/gtanew/cfx-server-data/resources//[Default]/example_gamemode
Found new resource betaguns in /home/gtanew/cfx-server-data/resources//[Default]/betaguns
Found new resource obituary in /home/gtanew/cfx-server-data/resources//[Default]/obituary
Found new resource race-test in /home/gtanew/cfx-server-data/resources//[Default]/race-test
Found new resource scoreboard in /home/gtanew/cfx-server-data/resources//[Default]/scoreboard
Found new resource fivem-map-skater in /home/gtanew/cfx-server-data/resources//[Default]/fivem-map-skater
Found new resource channelfeed in /home/gtanew/cfx-server-data/resources//[Default]/channelfeed
Found new resource fivem-map-hipster in /home/gtanew/cfx-server-data/resources//[Default]/fivem-map-hipster
Found new resource fivem in /home/gtanew/cfx-server-data/resources//[Default]/fivem
Found new resource es_freeroam in /home/gtanew/cfx-server-data/resources//[Essentials]/es_freeroam
Found new resource es_admin in /home/gtanew/cfx-server-data/resources//[Essentials]/es_admin
Started resource sessionmanager
Started resource spawnmanager
Loaded MySqlAsync.net, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1919759274
Loaded MySqlConnector, Version=0.19.4.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_1919759274
Instantiated instance of script MySqlAsync.MySqlAsync.
Started resource mysql-async
Started resource vdk_inventory
Started resource essentialmode
Started resource fivem-map-skater
Started resource baseevents
Started resource ■■■■■■■
Started resource scoreboard
Started resource Garage
Started resource Voix
Started resource MissionText
Started resource frfuel
Started resource keks
Started resource taxi
Started resource Sirenes
Started resource es_admin
Started resource Camionneur
Started resource es_freeroam
Started resource hardcap
Started resource skin
Started resource vehcontrol
Started resource timesync
Started resource direction_hud
Started resource modelblacklist
Started resource banking
Started resource paye
Started resource carteid
Started resource AlfostRP
Started resource jobs-system
Started resource gui
Started resource loadout
Started resource Garage-Medecin
Started resource job
Started resource assets
Started resource auth
Started resource system
Started resource lastpostodb
Started resource carwash
Started resource police
Started resource VLib
Started resource Garage-Depanneur
Started resource Garage-Vigneron
Started resource customchat
Started resource MenuPrincipal
Started resource Clignotants
Started resource Garage-Pecheur
Started resource Ambulancier
Started resource Menu-Depanneur
Started resource model-menu-master
Started resource Menu-Medecin
Started resource Boutiques
Started resource loadipl
Started resource LSCustom
Started resource pNotify
Started resource dmvschool
Started resource Pizza
Started resource train
Started resource Menu-Admin
Started resource Entreprise-Taxi
Started resource Apartements
Started resource Garage-Brasseur
Started resource AFK
Started resource vdk_truck
Resolved live-internal.fivem.net:30110 to 151.80.44.223:30110
Sending heartbeat to live-internal.fivem.net:30110
Current version: 4.1.6
Updater version: 4.1.6
Everything is fine!
-------------------------------------------------------------
--- No errors detected, essentialmode is setup properely. ---
-------------------------------------------------------------
Loaded System.Threading.Tasks.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 into ScriptDomain_1919759274
Loaded System.Buffers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 into ScriptDomain_1919759274
[46ms] UPDATE user_vehicle SET vehicle_state = @state
[59ms] UPDATE users SET connected = @value
[55ms] SELECT plate, item, items.libelle AS libelle, quantity FROM vehicle_inventory LEFT JOIN items ON `vehicle_inventory`.`item` = `items`.`id`
hitch warning: frame time of 335 milliseconds
Make sure you download and install the FXServer version if you are using that, or else you will get errors
Are you running essential mode on its own, Or with other scripts?
I have solution Fix es_freeroam in file server.lua change user:setMoney
how to make myself admin using this?
easy that part still worked for me in the server program type setgroup ‘in-game id’ superadmin(setgroup 1 superadmin) gives error you did something wrong
Update 4.2.0
- Issues fixed related to native money display
- Experimental ACL command system added, no idea if it works.
- Issue fixed related to source changing
- Issue fixed related to player spawn handling
Ooh an update. “Issues fixed related to native money display” now I can revert my changes heh. Thanks for the updates Kanersps
FX server doesnt work i get this trying the /admin
“Error running system event handling function for resource text: 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”`
how do i set up es_admin? how to i give players perm to kick and ban?
you can set your self as admin via rcon (setgroup ID GROUP) if es_admin is running
it requires essentialmode obviously
Got this up and running in a matter of minutes. My only request is that you add a ban system that would be much appreciated
I use the new version on FxServer but i don’t have any HUD for money . It’s normal ?
I believe you can ban people using es_admin.
es_admin can only kick there’s no ban feature yet. Unless its changed recently.
Banning isn’t added nor will it ever get added into essentialmode itself.