Files
overextended.github.io/docs/ox_core/Getting Started/index.md
T

2.7 KiB

title, sidebar_position, slug
title sidebar_position slug
Getting started 1 ./../

import ResourceLinks from '@site/src/components/ResourceLinks'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

:::caution

This resource is not production ready. Breaking changes are guaranteed, and support is limited.
Documentation may fall behind and be rendered obsolete.

:::

We strongly recommend using Git to help with version control and separating your own changes from the original source code.
Refer to GitHub's guide to setting up Git.

You can also download a Git GUI client, such as GitKraken, to improve your workflow and more easily maintain changes.

Dependencies

These resources are required for ox_core to function, and must start before it.

Installation

  • Download and install the LTS version of Node.js 16.
  • Open a terminal, command prompt, etc. and navigate to your resources folder.
  • Execute the following commands
npm install --location=global pnpm
git clone https://github.com/overextended/ox_core.git
cd web
pnpm i
pnpm build

The following resources aren't required, but should offer the best experience for your server.

ox_inventory

Slot-based inventory system with support for item metadata (uniqueness), shops, crafting, and much more.

npwd

Phone with many built-in apps such as Twitter, Marketplace, and Notes; with support for 3rd party app integration.

pefcl

Banking and financing, with support for multiple, unique, and shared accounts.
If using it with ox_inventory, open pefcl/config.json and enable framework integration.

"frameworkIntegration": {
  "enabled": true,
  "resource": "ox_inventory",
  "syncInitialBankBalance": false
},