Giter Site home page Giter Site logo

b-gantz / ox_core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from overextended/ox_core

0.0 0.0 0.0 1.71 MB

Player and vehicle management and persistence for FiveM.

Home Page: https://overextended.dev/ox_core

License: GNU Lesser General Public License v3.0

JavaScript 2.07% Lua 7.40% TypeScript 90.53%

ox_core's Introduction

Installation

The rewrite is still a work in progress - the docs will not be updated to reflected changes until finalised.

  • Download and install the LTS version of Node.js.
  • Open a command-line terminal (e.g. Terminal, Command Prompt).
  • Enter node --version to confirm successful installation.
  • Enter npm install -g pnpm to globally install the package.
  • Download or clone the repo with git clone https://github.com/overextended/ox_core.
  • Download and install MariaDB Community Server.
  • Execute the queries in sql/install.sql in your database.
  • Install all dependencies with pnpm i.
  • Build the resource with pnpm build.

Use pnpm watch to rebuild whenever a file is modified.

Refer to our documentation for installing and setting up ox_core on your server.

Database

This project is designed to be used with MariaDB and utilises mariadb-connector-nodejs.

Third-party resources

When releasing a resource using the this framework do not use the ox prefix. This creates confusion about the creator of the resource, and causes conflicts between similarly named resources.

Sample usage

todo

Refer to ox_core-example for some sample code. This should give some idea of how to use player and vehicle refs.

Copyright

Copyright © 2024 Overextended https://github.com/overextended

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

ox_core's People

Contributors

thelindat avatar lukewastakenn avatar github-actions[bot] avatar esk0 avatar ceebdev avatar jag3dagster avatar samshanks1 avatar dokadoka avatar slashkeyvalue avatar thefarfantomas avatar thefantomas avatar dolutattoo avatar usermacieg avatar mathu-lmn avatar mirrrrrow avatar n-fire avatar psychoshock avatar shorty avatar testaross avatar hellraisertwo avatar zan1456 avatar bitpredator avatar arlofonseca avatar tclrd avatar kevintjuhz avatar juddisjudd avatar tomstilson avatar galuzacz avatar eskeminha avatar brunosollar avatar

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.