Git Product home page Git Product logo

fivem-rp-boilerplate's Introduction

FiveM Roleplay Boilerplate

This is a boilerplate for FiveM Roleplay Server, it might help you to save a lot of time by skipping the development of the same boring stuff.

preview1

Warning: This project is not maintained anymore and uses the legacy version of FiveM

Requirements

  • MySQL or MariaDB
  • Windows or Linux Server

What's included?

  • ID Card
  • Dirty money (automatic on "illegal recolts", money laundering is also included)
  • Admin tools
  • Illegal business (drugs)
  • Phone system (Texts, Contacts, Emergency call, Taxi call)
  • Personal menu
  • LS Customs
  • Driving and weapon license
  • Emotes
  • Inventory (35 items)
  • Foodshops
  • Clothing shops
  • Gun shops
  • Vehicle shops
  • Ranks for LSPD
  • Jobs (garage + outfit markers)
  • Salary
  • Bank Account
  • Loading Screen
  • Whitelist
  • Buildings for some jobs (Government, Hospital)
  • Transporter
  • Realistic earshot (range of 7 meters)
  • Gas Stations
  • HUD
  • Car health and speed
  • Custom cars (Audi, Police, Ferrari, ...)

How to install it?

1. Import install.sql into your DBMS (e.g. MySQL)

2. Change the credentials of server files

In order to enable all the plugins you have to edit the server.lua files and sometimes settings.lua in each packages present in the resources/directory. That means you have to fill the database name, login and password fields to allow a connection to the database.

In this package you have a file named server.lua, at the line 2 you have to add the database credentials.

Usage (in game)

K : Open your personnal menu X : Hands up (you can move) N : Talk M : Vehicle menu

Jobs

Whitelisted means you have to add manually the person (from the SQL Database or from admin commands in game)

  • Jobless (what a job...)
  • Taxi
  • Lumberjack
  • Miner
  • Winegrower
  • Trucker
  • Paramedics (named CHU) - Whitelisted
  • LSPD - Whitelisted
  • CIA (named GSPR) - Whitelisted
  • Governor - Whitelisted
  • Lawyer - Whitelisted
  • Judge - Whitelisted
  • Ministers - Whitelisted

Addons used (under license)

  • SimpleBanking
  • Prefecture
  • gb_needs
  • freeroam
  • Paycheck
  • JobSystem
  • EssentialMode
  • es_admin
  • vehshop
  • LSCustoms
  • clothing_shop
  • FiveM-Cops
  • vdk_recolt
  • vdk_call
  • warp
  • paramedics
  • weashop
  • car skins

fivem-rp-boilerplate's People

Contributors

xchopin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fivem-rp-boilerplate's Issues

Help me please.

I import install.sql and copy all resource to my resources directory . after that from [jobs], [car] i also copy sub resources like police,minor and also put that on resources directory.
That's mean, from ("resource/[jobs]/police") to ("resources/police") but what's next? When i open server.lua i found localhost. I have to put ex: "localhost:5977"??? Is it?

Whitelist

I add me on whitelist but can't play

Whitelisting not working

I put my steamID in the DB and when I connect to it i get the error message that i am not whitelisted. Any idea ?

No sql File?

Im trying to use this but i can't find the sql file for essentials

about create account problem

I try insert data to Mysql, but unsuccessful to connect.
I use Windows 10, FiveM.
Can you teach me how to create account? please.
About using cmd or mysql to create account.
I am not using business, only friends play.

FXServer

Hello
I Must Update the Version of the FXServer. Were can i find it in your package?

Hide money hud on pause

Hi,
I've been looking at your server as an example, but I've yet to come across the code that would hide the money display on pause ( Map )

wHIRELIST

hOW dO I wHITELIST THE wHITELIST ISA TURNED oFF BUT sTILL SAYING IM NOT WHITELISTED??

Connection Failed when I try to connect to the server

Hi, if I connect to the server, I get this error message:

Couldn't load resource mapmanager: Failed to open packfile: ReadBulk of header failed: Failed to fetch: Failure downloading resource.rpf: error:1408F10B:SSL routines:ssl3_get_record:wrong version number - CURL error code 35 (SSL connect error)

What is it and how do I fix it

Screen Fade interfering with script.

I was making a script recently that used DoScreenFadeIn and DoScreenFadeOut with the loading screen. spawnmanager was using these natives as well as IsScreenFadedIn and IsScreenFadedOut in a loop to finish spawning the player. My script needed to fade the screen out when the player spawned and keep it like that for a certain period of time, however when spawnmanager detected that in its loop the PlayerSpawned event was fired multiple times and the screen fade I had was removed. This caused complications with my script.

I found a solution though, but I had to manually modify spawnmanager.lua. Was wondering if there is a way to easily disable screen fading completely from spawnmanager within other scripts so that we dont have to modify the code from another resource to get it working.

ems

how do you whitelist for ems

Loading screen

"Progression: Setting up game - Règlement sur forum.cana-rp.fr"
image

Harvest / Process / Sell

Can I disable it so everyone can do most jobs that aren't white-listed without having to be that job at the job center. Also is it possible to add the police menu (f5) to the CIA job as well.

yo help me please

this version on plugins are not the same in the newest version of fivem

can you help me out to get it updated.

Loading time?

Why is it taking forever for me to get in my server with this?

Your server on zaphosting

I found your fiveM server package on github; I wouldn't want to host it from my pc but using zap hosting could you help me?

Languages

You said languages were easy to change. Not sure where to find that option but I'm going through and translating everything. Nice job though.

Version is not valid

When I try to connect this happends

Couldn't load resource mapmanager: Failed to open packfile: ReadBulk of header failed: Failed to fetch: Failure downloading resource.rpf: error:1408F10B:SSL routines:ssl3_get_record:wrong version number - CURL error code 35 (SSL connect error)

Can someone help me?

Wenn ich auf den Server will dann passiert dass,

Couldn't load resource mapmanager: Failed to open packfile: ReadBulk of header failed: Failed to fetch: Failure downloading resource.rpf: error:1408F10B:SSL routines:ssl3_get_record:wrong version number - CURL error code 35 (SSL connect error)

Kann jemand mir helfen

Quand je veux entrer le Server il dit ca,

Couldn't load resource mapmanager: Failed to open packfile: ReadBulk of header failed: Failed to fetch: Failure downloading resource.rpf: error:1408F10B:SSL routines:ssl3_get_record:wrong version number - CURL error code 35 (SSL connect error)

Est-ce que qeul qu'un peut m'aider?

sql error

Hi i get sql error and just run 54 resource
i import your dtabase and change database datalis
i dont know what i should

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.