Page cover

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.

rocket-launchGet started terminalAPI reference

server.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)

Learn more about CodexStudios

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.

book-openGuides bookDocumentation

Join the CodexStudios RedM and FiveM scripting community

Get help, share resources, and talk server dev on Discord.

Cover

discord

Discord community

Join our RedM and FiveM Discord community to ask questions, get help, and share resources with over 400 like-minded developers.

Cover

github

GitHub

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.

Last updated

Was this helpful?