# Developer Platform

{% columns %}
{% column %}

### Get started in 5 minutes

**CodexCore** is a core developer library and **RedM bridge API** used in CodexStudios scripts.

It unifies common server APIs across **VORP**, **RSG**, and **TPZ-CORE**.

Write Lua once, then run the same script across frameworks.

CodexCore is not a plug-and-play framework and does not automatically convert scripts. Instead, it gives you a consistent API for common systems such as:

* player data and identifiers
* inventory and money operations
* jobs, characters, and shared systems
* framework differences abstracted away

With CodexCore, your scripts simply call one API while CodexCore handles the underlying framework logic for you.

<a href="readme" class="button primary" data-icon="rocket-launch">Get started</a> <a href="#join-the-codexstudios-redm-and-fivem-scripting-community" class="button secondary" data-icon="terminal">API reference</a>
{% endcolumn %}

{% column %}
{% code title="server.lua" overflow="wrap" %}

```lua
-- Get CodexCore object
local CodexCore = exports["codex-core"]:GetCore()

-- Get player from source
local Player = CodexCore.GetPlayer(source)

-- Add money to the player
Player.AddMoney("cash", 100)

-- Get player identifier
local identifier = Player.GetIdentifier()

print("Player identifier:", identifier)

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://2437744220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7w2YkxwQyWMNgIPM5pdy%2Fuploads%2Fck0Zlfcf3plVqQAngtWz%2Fre.png?alt=media&#x26;token=ee4f9512-1dda-47c5-97a4-f6bee029f22c" alt=""><figcaption></figcaption></figure>

{% endcolumn %}

{% column %}

<p align="center">Learn more about CodexStudios</p>

**CodexStudios** builds modular, framework-agnostic tooling for **RedM** and **FiveM** server development.

Get reusable APIs, consistent data systems, and documentation that works across frameworks.

Whether you’re creating jobs, inventories, shops, player systems, or shared gameplay features, CodexStudios gives you components that save time, reduce repetition, and improve reliability.

<a href="https://app.gitbook.com/o/REKvAOQMJg7Pvr8H6ajN/s/wEWG8PisIZxXMDi1R6GC/" class="button primary" data-icon="book-open">Guides</a> <a href="https://app.gitbook.com/o/REKvAOQMJg7Pvr8H6ajN/s/7YFvz52zvJQccQZy9lNG/" class="button secondary" data-icon="book">Documentation</a>
{% endcolumn %}
{% endcolumns %}

### Join the CodexStudios RedM and FiveM scripting community

<p align="center">Get help, share resources, and talk server dev on Discord.</p>

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><h4><i class="fa-discord">:discord:</i></h4></td><td><strong>Discord community</strong></td><td>Join our RedM and FiveM Discord community to ask questions, get help, and share resources with over 400 like-minded developers.</td><td><a href="https://discord.gg/grKXRqzZu6" class="button secondary" data-icon="discord">Join Discord</a></td><td><a href="https://2437744220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7w2YkxwQyWMNgIPM5pdy%2Fuploads%2FezC0zHBMnfK89iyVOzFj%2Fdiscord.png?alt=media&#x26;token=5564196d-9a8d-46a2-b501-f6712f4e4885">discord.png</a></td></tr><tr><td><h4><i class="fa-github">:github:</i></h4></td><td><strong>GitHub</strong></td><td>Some of our products are 100% open source and built by developers just like you. Head to our GitHub repository to learn how to submit your first PR.</td><td><a href="https://github.com/xXxNozz4rrxXx" class="button secondary" data-icon="github">GitHub Page</a></td><td><a href="https://2437744220-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7w2YkxwQyWMNgIPM5pdy%2Fuploads%2FKLq23njy3MFnz2TTOol8%2Fgit.png?alt=media&#x26;token=c392746b-12a8-4756-a20e-1b503868e465">git.png</a></td></tr></tbody></table>
