Giter VIP home page Giter VIP logo

nfx-framework's Introduction

nfx-framework

FiveM nFX Framework (Roleplay)

logo

Installation:

  1. Create a clean installation of FX Server. (FiveM Docs) (Template Coming Soon)
  2. Leave only the sessionmanager and chat resources in your resources folder.
  3. Download, Install and Configure GHMattiMySQL. And remember to set the database to nfx.
  4. Download, nFX files. And extract them to the resources folder.
  5. Configure your server.cfg, here is an example:
    #--====================================================================================
    #-- RESOURCES
    #--====================================================================================

    #--==========================================
    #-- Default
    #--==========================================
    
    ensure sessionmanager
    ensure chat

    #--==========================================
    #-- nFX
    #--==========================================

    ensure ghmattimysql
    ensure nfx
    ensure nfx_admin
    ensure nfx_jobs
    ensure nfx_nui
    ensure nfx_status
  1. Open the nfx/nfx.sql file in your database, and run it.
  2. Basic installation complete! Browse the config folders for additional settings!

Features:

  • Player identification through license.
  • Whitelist system.
  • Temporary or Permanent Banning System.
  • Access Level System, for administrative functions.
  • Simple clothing store integrated.
  • Player Groups (Police, EMS, Mechanics), with level, and salary values.
  • Prompts & Requests to use in developing scripts that need confirmation, and input by the user.
  • Inventory system, items with weights, index and types.
  • System to save the player's status, health, armor, weapons, weapon customization, position (with heading) and clothes.
  • Monetary System.
  • Identity System, First Name, Last Name, Age, Registration, Telephone.
  • Custom Data Saving System.
  • Vehicle Database, Trunk Size, Hashes, Models, Names, Classes, Manufacturers and Prices.

Commands:

Basic

  • exit - Recommended way to disconnect from the server, save everything and then quit the game.

Admin

  • wl [id] - Open the dialog box, paste the player's license to add the whitelist.

  • unwl [id]- Open the dialog box, paste the player's license to remove from the whitelist.

  • ban [id] - If the [source] is not passed, open a dialog box asking for the player's license, and then the time in hours of banning:

    • -1 - Permanent Ban.
    • 0 - Remove Ban.
    • 1 - Banning time in hours, number greater than or equal to 1.
  • nc - Toggle NoClip.

  • money [value] - Gives the specified [value] of money to the player.

  • tpway - Teleport to the waypoint.

  • tpcds - Open the dialog box to paste the coordinates, separated by ,.

  • tptome [id] - Teleport [source] to you.

  • tpto [id][id] - Teleport you to [source].

  • setgroup [id] [group] [level] - Set the player passed by [source] in [group] and [level].

  • remgroup [id] [group] - Removes the player passed by [source] from [group].

  • vclothes - Displays the player's fitted clothes.

  • weapon [name] - Gives the weapon[name] to the player.

  • cds, cds2, cds3, cds4 and cds5 - Opens the dialog box and displays the formatted coordinates.

  • pon - Shows players online.

  • kick [id] - Open the dialog box, to inform the reason for the kick, after confirming, the player is kicked.

  • kickall - Open the dialog box, to inform the reason for the kick, after confirming, all players are kicked.

  • god [id] - Revive the player[source].

  • godall - Revive all players online.

  • car [model] - Spawn the vehicle[model].

  • tuning - Tuning the current or nearby vehicle.

  • vhash - Shows the hash of the current or nearby vehicle.

  • vinfo - Shows details of the current or nearby vehicle.

  • dv - Deletes the current or nearby vehicle.

  • fix- Repair the current or nearby vehicle.

  • heading - Shows the player's heading.

  • item [nameid] [amount] - Give the item to the player.

  • changename [id] - Opens a dialog box to change the player's[source] name.

Jobs

  • vtuning - Shows the level of tuning of the vehicle. (Mechanic Group)
  • toogle [group] - Enter/Exit Service, indicating the [group].
  • tbusy [group] - Enter/Exit Busy Mode, indicating the group.
  • call [name] - Calls the groups specified in the settings by [name].
  • preset [name] - Sets the player's clothing through a preset.
  • revive - Revive the next player.
  • treatment - Apply treatment to the next player.
  • repair - Repair the next vehicle.
  • cone [del?] - Adds a cone to the map. If the [del?] Argument is "del", delete the next cone.
  • barrier [del?] - Adds a barrier to the map. If the [del?] Argument is "del", delete the next barrier.
  • prison [id] - Opens the dialog box to enter the prison time in minutes.
  • pv - Place the next player in the next vehicle.
  • rv - Remove the player from the nearby vehicle.
  • reg [id] - Displays the record of the next player, or the player passed in [source].

Weather

  • weather [WEATHER] - Changes the server's climate to the one indicated.
  • time [hours] [min] - Set the server time.

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.