CouchDB installation

Database convars

by default we are using the convars from EssentialMode for your convenience.

KeyDescription
es_couchdb_hostAdd the IP where your CouchDB is running on.
es_couchdb_portAdd the port where your CouchDBis running on
es_couchdb_passwordAdd the username and password for your CouchDB

Define the resource

Add start fs_freemode to your server.cfg after essentialmode or es_admin2
You can find a server.cfg example below

endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" # EssentialMode database settings set database_driver "couchdb" set es_couchdb_url "127.0.0.1" set es_couchdb_port "5984" set es_couchdb_password "admin:changeme" start mapmanager start chat start spawnmanager start sessionmanager start hardcap start rconlog start essentialmode start es_admin2 start fs_freemode # Disable scripthook sv_scriptHookAllowed 1 # change this rcon_password yay # Configure your server name sv_hostname "My new FXServer!" # loading a server icon (96x96 PNG file) #load_server_icon myLogo.png # disable announcing? clear out the master by uncommenting this #sv_master1 "" # want to only allow players authenticated with Steam? #sv_authMaxVariance 1 #sv_authMinTrust 5 # hide player endpoints in external log output sv_endpointprivacy true # server slots limit (default to 24) sv_maxclients 24 # license key for server (https://keymaster.fivem.net) sv_licensekey your-key-here