Skip to content

A belgian FiveM RP server build on a custom framework

License

Notifications You must be signed in to change notification settings

NuttyShrimp/DeGrens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeGrens RP 2.0

Important

This repo is for archival reasons only hence why there is no issues tab

We also do not give support in any way, sliding in our dm's will result in a block

Dependencies

  • NodeJS
  • pnpm
  • MariaDB (We use mariaDB specific queries so a MySQL instance wil not work)
  • Graylog instance (optional)
  • Sentry instance (optional)

How to setup

go to /config folder and copy the -template.cfg files

  • mysql.cfg
    • change the convar string after "mysql_connection_string"
  • server.cfg
    • place your CFX token between the "'s after "sv_licenseKey"
    • get your Steam API key here and put it between the "'s after the "steam_webApiKey"

Next go to /packages/db`` and copy the .env.templateto.env` and set your database URL to get the DB migrations working

Now run pnpm install in the root of the repo

Following with going to /packages/db and running pnpm db:generate there

Now run pnpm build for a production build or pnpm build:dev for a development build in the root of the repo

Now you just gotta start the server via your favorite tool/script

Logs

We use graylog to store and query our logs.

All the magic that is happening for that is done in dg-logs and the endpoint is configured in configs/main.json under logServer for production logs and devLogServer for development logs

If a invalid URL is defined, a file will be created that stores all the logs

Where are the assets

Well in our original Code base those where stored in separete git submodules which contain private assets we bought or had an subscription on and aren't thus allowed to redistribute

About

A belgian FiveM RP server build on a custom framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published