[Release] EssentialMode base

EssentialMode doesn’t sync time, es_rp does, for a fix either remove ACL’s part of it or remove es_rp’s part of it depending on which you want to use.

1 Like

How to make players spawn in with money?

The HUD part where its supposed to show how much money is in the bank and cash isnt working how to fix?

1 Like

Also, how do you make a ban command for es_admin? We were originally using vRP so we had a ban command build it but we usually get them griefers in our server and there’s no way to ban without some tempban which is pretty useless in my opinion since we usually restart daily. Any help would be appreciated, thanks

Use exposedDB or write your own file for saving who’s banned. Then just check when they’re joining if they are banned. To append someone to such a list you can just make a command.

Im a noob at databases, and id understand if you didn’t want to help, but how would i do such a thing? Sorry for the nagging its just something im not too good at.

how to add admins? in es_admin

Go on icecon and type setgroup ID admin / superadmin / owner

also on a hosted server?

What do you mean?

20 characters

this server is hosted on a website so our server is a control panel on a website

I have no clue for that since we use a VPS for our server

Ive installed the base essentialmode and es_rp resources however I am getting a error. It has created a database however the database is empty. I am using the latest version of the resources and fxserver.

This is the error:

EssentialMode 4.4 Custom Data Plugins!

Custom data plugins

Finally what people have been wanting, MySQL support. Well kind of, there is support for intercepting data and manipulating it yourself. Anyway, this comes with a resource that will make MySQL work again for the base data that comes with EssentialMode!

How to use MySQL.

  • Download esplugin_mysql
  • Make sure you have MySQL-Async installed and working
  • Import the SQL file that comes with esplugin_mysql
  • Set this convar in your server configuration: set es_enableCustomData 1
  • Make sure that your load order is correct, make sure essentialmode starts before esplugin_mysql and MySQL-Async starts before essentialmode
  • Start the server
  • Stop whining at @Kanersps about fucking MySQL kthx

On how to implement your own data saving take a look at esplugin_mysql

Logging

You can enable logging by setting the default settings enableLogging to true, when you do that a log file will be created every day with what happened, for example when admin commands are ran or when someone is kicked. It will also log some errors that may happen

Wrappers

Client wrappers for the user are available now, you can use these by either doing:

client_script '@essentialmode/server/player/wrappers.lua'

or

local user = exports.essentialmode:getUser() In any file you want to use it in, the previous statement will make the user table available in your entire resource.

All the current wrappers can be found here

This was a huge update, now to rest

10 Likes

Thank you ! We were waiting this for a long time !

1 Like

I think you’re not so stupid as what people say xD

Thank you dude.

1 Like

thank the lord finally Mysql…

Hotfix

  • Fixed issue if you didn’t set the convar for es_enableCustomData
1 Like

Hotifx

  • Fixed something related to CouchDB not working normally anymore

Do we need to download again?