Logs certain events to another webserver for display outside of FiveM. Can be used for monitoring/graphs/statistics. Json file storage just for demostration, should be replaced with nosql/sql
- Add the files in audit to /txData/CFXDefault_DAFCFA.base/resources/[insert_folder_here]/audit
- Modify the host:port if changed
- Open
server.cfg
and add the lineensure audit
under the resources section - Start your FiveM server
- Build the go application by using
go build *.go
in the root directory of the webservice (skip this step if you downloaded the release) - Start the webservice by executing the binary
./server.go -port=8090
- Run
npm install
- Run
npm run serve
ornpm run build
if you have a webserver - Access the ui by going to http://localhost:8080
Setup (from release download)
- Unzip package
- Add the files in the folder audit to /txData/CFXDefault_DAFCFA.base/resources/[insert_folder_here]/audit
- Modify the host:port if changed
- Open
server.cfg
and add the lineensure audit
under the resources section - Start your FiveM server
- Run
./server_[os]
- Navigate to http://localhost:8090