GitXplorerGitXplorer
o

tsrp-fivem

public
3 stars
2 forks
0 issues

Commits

List of commits on branch main.
Unverified
e2322f5e52bc37cb4309d973aa8b5a0fdf47b4a5

Add cycles and motorcycles to PDM.

committed 2 years ago
Unverified
3e751ba8f644d9e881d3928507480dfa555c43f4

Delivery version bump.

committed 2 years ago
Unverified
6693ea0632d03db54e5647ac5b549af35e2c59da

Add a bike messenger flavor of the delivery job.

committed 2 years ago
Unverified
c854a132021d2d00fe2b214c6ebc4fe584db61d8

Fix wardrobe snapshot loading when the model needs to change.

committed 2 years ago
Unverified
5aac9d0fb7fb1d2021739675949663c2be647271

Fix wardrobe filters.

committed 2 years ago
Unverified
359c63d755436c9e886be9f1cc32a26a471f1541

Wardrobe version bump.

committed 2 years ago

README

The README file for this repository.

Time Served FiveM Code

This repository contains open-source code for a GTAV mod/game called Time Served.

Join the community Discord to connect with us.

Contributing

Contributions are welcome. Here are instructions for setting up a local development environment:

  1. Install Docker Desktop.
  2. git clone this repository into a local directory of your choice.
  3. Obtain your own license key from the FiveM Keymaster.
  4. Create your local config by copying cfg/server.orig.cfg to cfg/server.cfg.
  5. Modify cfg/server.cfg and add your FiveM license key at the bottom where it says MY_LICENSE_KEY.
  6. Use Docker Compose to execute compose up on the compose.yaml file.
    1. If using VSCode, the Docker plugin adds a right-click option to the compose.yaml file.
  7. In your browser, navigate to http://localhost:40125. You will see the txAdmin setup screen.
  8. Inspect the logs of the resulting tsrp-fivem container to find the pin number to setup txAdmin.
  9. Complete txAdmin setup and start the FiveM server.
    1. Select "Local Server Data" for Deployment Type.
    2. Input /fivem/server-data for Local Server Data.
    3. Input config/server.cfg for Server CFG File.
  10. Open your FiveM client and connect to localhost on port 30120.

Resources in src are linked into the running container as a volume, meaning changes will be reflected immediately.

The base FiveM-provided and mysql-async resources are linked at build time, meaning pulling in any new changes is as easy as rebuilding the image. In the future, we will probably need to change this to support a scenario where we want to fork or modify the base resources (i.e. chat). For now, it's a 1 or 0 choice to use or not use any of them which we can control from server.cfg.

Learn about development conventions by looking at the example resource template. The README files inside individual resources provide more detailed developer instructions for what the code does and how to use it.