Es admin and essentialsmode errors

So I just installed essentialsmode and es_admin, (didn’t change anything in the files except database)
I get this error when trying to type /admin, /giverole etc…

How can I fix it?

And I’m getting this error when trying to start the server: https://pastebin.com/aZARGk9y

You did alter the files and this is why you are having this error. Download essentialmode anew and don’t touch anything.

So I shouldn’t change the database info? to my database

Reinstalled it and didn’t change anything, Still getting errors

Are you using couchDB? If no, then you shouldn’t touch anything inside essentialmode. Also more information is needed than simply “still getting errors” to help you out.

I am not using couchDB, I didn’t touch anything, I’m using es admin, and I’m getting the same errors
(https://pastebin.com/aZARGk9y and https://prnt.sc/pk45za) when typing /admin, /giverole /kick and more,

According to essentialmode documentation, you need to specify a default database. If you are not using CouchDB or any equivalents you need to set this convar in your server configuration:

set es_defaultDatabase 1

Although documentation is poor, I’ve found out that you need to rename es_admin to es_admin2. Do these things and see if it works for you.

I already renamed es_admin2, But It’s still sending me the same errors. I added set es_defaultDatabase 1 to my server config, but it didn’t work. getting this error now: https://pastebin.com/TUjRQHYU

Does essentialmode create a database file for you inside server-data directory?

Yes it does.

And your essentialmode is unaltered? Meaning you haven’t touched anything, especially config.lua. You seemed pretty eager to enter your database details somewhere in essentialmode, make sure you don’t do that. To avoid running in circles, you might wanna look into another tool for server administration. I’m pretty certain the author of es_admin made the resource as an example and not an actual script to be used on live servers, therefore es_admin could be unsafe and exploitable.

Yes I haven’t touched anything, Do you know any other good admin tools?

I’ve used EasyAdmin & vMenu. EasyAdmin has a great discord webhook feature, which allow you to see who banned who for what reason. But using vMenu made my life so much easier, especially in terms of server administration. The permissions are a very powerful tool.

Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.