01
Prerequisites before installing VORP Core
VORP Core is a roleplay framework for RedM, written in Lua. It handles accounts, characters, money, jobs and admin commands; the other modules (inventory, stables, stores, bank…) build on it. Before installing it, you need five things.
- The Cfx.re server (the artifacts): RedM uses the same server software as FiveM, on Windows or Linux. The official VORP recipe requires the artifact marked Latest Recommended on the artifacts page.
- A Cfx.re license key, created on the Cfx.re portal with the account of the person who runs the server. The FiveM license key guide describes the process, which is the same for RedM.
- An empty MariaDB database, with a user and password that have rights on it. VORP stores accounts, characters, inventories and items there.
- oxmysql: the resource that connects the server to the database. It is the only dependency listed in the
vorp_core README, and it must start before it.
- Steam on the players' side: the official recipe marks Steam as required and enables
sv_enforceSteamAuth. VORP recognises each player by their Steam identifier: Steam must be running when they launch RedM.
Four lines of VORP's official server.cfg take care of the rest:
set gamename rdr3
sv_enforceGameBuild 1491
set sv_enforceSteamAuth true
set steam_webApiKey "none"
set gamename rdr3 tells the server it is running Red Dead Redemption 2. Without it, it starts as a FiveM server.
sv_enforceGameBuild 1491 forces every player onto the game version chosen by the recipe. Keep this value until one of your resources asks for another (see the gamebuild guide, which also applies to RedM).
steam_webApiKey takes a Steam web API key, created on the Steam website and used to read players' Steam names, or the value none.
The recipe also turns on OneSync, the mode where the server itself syncs the world between players. For the general workings of a RedM server (ports, player slots, choice of framework), read the create a RedM server guide first.
02
Installing VORP Core with the official txAdmin recipe
This is the VORP team's official method, and the shortest on a machine you manage yourself. txAdmin, shipped with the artifacts, runs a recipe: a file listing everything to download and configure. First install MariaDB and create a user (see "Creating the MariaDB database" below), then fetch the artifact. On Linux:
mkdir -p ~/redm/cfx
cd ~/redm/cfx
wget ARTIFACT_URL
tar xf fx.tar.xz
./run.sh
Replace ARTIFACT_URL with the link copied from the runtime.fivem.net/artifacts/fivem/build_proot_linux/master/ page. The recipe repository also recommends installing Git on the machine. On first launch, txAdmin prints an address and a PIN code in the console. Open the address in a browser, then:
- enter the PIN, link your Cfx.re account and choose a txAdmin password;
- give the server a name, then choose Remote URL Template;
- paste the address of the official recipe:
https://raw.githubusercontent.com/VORPCORE/VORP_txAdmin/main/vorp_recipe.yaml
- keep the suggested folder, then click Go to Recipe Deployer;
- enter your license key, open Show/Hide Database options (advanced), fill in the MariaDB user and password, and set
vorpv2 as the database name, as the recipe README asks;
- click Run Recipe, then Save & Run Server once it has finished.
The recipe then does four things: it places VORP's server.cfg, runs MariaDB.sql on the database, downloads the Cfx.re default resources, and installs close to forty VORP resources in resources/[VORP], plus the standalone resources (including oxmysql) in resources/[standalone].
The server.cfg then sits in the txData folder, in a subfolder whose name ends in .base. txAdmin includes an editor to change it. A full install on a VPS (dedicated user, systemd service, firewall) follows the same steps as for FiveM: see installing a FiveM server on a Linux VPS.
03
The core VORP resources
VORP is split into modules. Seven resources form the base, which the official server.cfg starts before every gameplay module:
vorp_lib: a library of reusable components for scripts;
vorp_menu: in-game menus, in the style of Red Dead Redemption 2;
vorp_core: the heart of the framework (accounts, characters, money, jobs, commands);
vorp_inputs: input dialogs;
vorp_progressbar: progress bars;
vorp_inventory: inventory, items and weapons;
vorp_character: character creation and selection.
Around this base, the recipe adds the gameplay modules: vorp_admin (the admin menu), vorp_metabolism, vorp_stables, vorp_stores, vorp_weaponsv2, vorp_banking, vorp_housing, vorp_police, vorp_medic, hunting, fishing, mining and more. You remove the ones you do not want by deleting their ensure line.
If you install by hand, one trap comes up again and again: the GitHub repository name is not always the folder name expected. Other resources call each module by its exact name. So rename:
vorp_inventory-v2 to vorp_inventory;
vorp_inputs-lua to vorp_inputs;
vorp_stables-lua to vorp_stables;
vorp_barbershop_lua to vorp_barbershop.
The vorp_core, vorp_character, vorp_stores, vorp_fishing and vorp_metabolism repositories used to carry a -lua suffix: the recipe and older tutorials still use those addresses, which GitHub redirects to the new ones. Finally, remove the -main suffix GitHub adds to downloaded archives. The resources folder then looks like this:
resources/
├── [standalone]/
│ ├── oxmysql/
│ ├── weathersync/
│ ├── redm-ipls/
│ └── PolyZone/
└── [VORP]/
├── vorp_lib/
├── vorp_menu/
├── vorp_core/
├── vorp_inputs/
├── vorp_progressbar/
├── vorp_inventory/
└── vorp_character/
For oxmysql, take the oxmysql.zip archive from the Releases page, not the source code: the official recipe downloads it from the CommunityOx/oxmysql repository. Install only one core: the current version of VORP Core is in Lua, and the old C# version, still visible on GitHub, must not run alongside it.
04
Creating the MariaDB database and importing the tables
On a Debian or Ubuntu VPS, install MariaDB, then create the database and its user:
sudo apt install -y mariadb-server
sudo mariadb -e "CREATE DATABASE vorpv2; CREATE USER 'vorp'@'localhost' IDENTIFIED BY 'mot-de-passe-long'; GRANT ALL ON vorpv2.* TO 'vorp'@'localhost'; FLUSH PRIVILEGES;"
With the txAdmin recipe, stop here: it imports the tables itself. By hand, get the MariaDB.sql file at the root of the VORPCORE/VORP_txAdmin repository and import it into the database:
mariadb -u vorp -p vorpv2 < MariaDB.sql
This file creates the tables for the base and the modules: users (accounts), characters, character_inventories, items, loadout (weapons), bank_users, stables, whitelist and more. It contains no CREATE DATABASE line: the tables land in the database you point it at. Import it only once, into an empty database.
Then connect the server to the database with the mysql_connection_string line in server.cfg, placed before the ensure lines:
set mysql_connection_string "mysql://vorp:mot-de-passe-long@localhost/vorpv2?charset=utf8mb4"
The oxmysql documentation advises against some characters in the string, including @, :, /, ? and #: pick a password without them, or switch to the user=…;password=…;host=…;database=… format. The database does not need to be reachable from the Internet: keep it listening locally. The oxmysql guide details the connection string and its error messages, which are the same on RedM.
05
Start order in server.cfg
A resource cannot use another resource that has not started yet. VORP's official server.cfg therefore follows a precise order: the Cfx.re resources, then the database and libraries, then the core, then the modules. Here are the essentials:
## These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure redm-map-one
ensure hardcap
## Dependencies
ensure oxmysql
ensure weathersync
ensure redm-ipls
ensure PolyZone
ensure vorp_menu
ensure vorp_lib
## Permissions
exec resources/[VORP]/vorp_admin/vorp_perms.cfg
## VORP Resources
ensure vorp_core
ensure vorp_inputs
ensure vorp_progressbar
ensure vorp_inventory
ensure vorp_character
ensure vorp_admin
ensure vorp_metabolism
ensure vorp_stables
ensure vorp_weaponsv2
ensure vorp_stores
ensure vorp_banking
Three rules keep this order healthy:
oxmysql, vorp_menu and vorp_lib start before vorp_core;
vorp_core starts before every other VORP module, and vorp_inventory before vorp_character;
- your own scripts come after the VORP block, one
ensure line per script.
Do not write ensure [VORP] to start everything at once: you would no longer control the order inside the folder.
To become an administrator, the VORP documentation asks for two settings. First a line in vorp_admin/vorp_perms.cfg, the file loaded by the exec line above, with your Steam identifier:
add_principal identifier.steam:110000xxxxxxxxx group.admin
Then, after your first connection and the creation of your character, the group column of the users and characters tables must be set to admin:
UPDATE users SET `group` = 'admin' WHERE identifier = 'steam:110000xxxxxxxxx';
UPDATE characters SET `group` = 'admin' WHERE identifier = 'steam:110000xxxxxxxxx';
Restart the server for both changes to take effect.
06
Common errors
The server console almost always gives the cause. Read it from the top, because the first error often triggers the next ones.
- The server starts, but no RedM player can get in: the
set gamename rdr3 line is missing. The server started as a FiveM server.
Couldn't find resource vorp_core.: the folder has the wrong name (for example vorp_core-main), or the archive was extracted one level too high and fxmanifest.lua is not at the root of the folder.
- An error mentioning
@oxmysql/lib/MySQL.lua when vorp_core starts: oxmysql is missing, has another folder name, starts after the core, or comes from the source code instead of the release archive.
ER_ACCESS_DENIED_ERROR: the user or password in mysql_connection_string is wrong. ER_BAD_DB_ERROR: the database named in the string does not exist. ECONNREFUSED: MariaDB is stopped, or the address is wrong.
Table '…' doesn't exist: MariaDB.sql was not imported, or not into the database named in the connection string.
No such export … in resource …: a module calls a resource that is not started or starts after it. Move that resource's ensure line up, following the order in the previous section.
- A player is refused on connection: check that Steam is running on their side before RedM is launched, since VORP identifies them through Steam.
- Loading finishes, but character creation never shows:
vorp_character or one of its dependencies (vorp_core, vorp_menu, vorp_inputs) did not start. Look for the failing resource in the server console, then open the game console with F8 for player-side errors.
- A script you added does nothing: it is written for another framework. An RSG Core resource does not run as is on VORP. Its
fxmanifest.lua must also declare game 'rdr3': a FiveM resource does not work on RedM.
Two habits prevent most of these failures: add resources one at a time, reading the console each time, and export the database before every framework update.
07
On a CloudFive server
On a RedM plan, you do none of this by hand. VORP Core installs in one click from the customer area, from the official recipe: the MariaDB database is created and filled, and the configuration completed. A plain RedM server, without a framework, is also available if you would rather set up RSG Core or start from scratch.
Our RedM servers do not use txAdmin: everything is managed from the server page in the customer area.
- The live console, to follow the VORP resources as they start and send commands. A diagnostic reads the last lines and flags what it recognises.
- Files: built-in editor for
server.cfg and the config.lua files, drag and drop, archive handling and import by URL to upload a resource.
- MariaDB databases, at least two depending on the tier: one for the server, another to try a VORP update on a copy.
- Backups, dated, kept for 5 days and restorable in one click. Make one before adding a module or updating the framework.
A tip on order: run the VORP install on a fresh server, before uploading your own resources, then add your scripts one by one. If you get stuck, the ticket starts from the server page with the context already filled in, and support answers in French, 7 days a week.
The servers run in France on Ryzen 9 9950X, with Anti-DDoS Premium included, monthly and without commitment. The tiers are on the RedM hosting page. Prefer to run everything yourself? A NVMe VPS suits the install described in this guide.
08
Frequently asked questions
How do I install VORP Core on a RedM server?
The simplest way is the official txAdmin recipe: on the server's first launch, choose Remote URL Template, paste the address of the vorp_recipe.yaml file from the VORPCORE/VORP_txAdmin repository, fill in the MariaDB database and run the recipe. It downloads the resources, creates the tables and writes the server.cfg.
Which resources does VORP Core need to run?
oxmysql for the database, then the VORP base: vorp_lib, vorp_menu, vorp_core, vorp_inputs, vorp_progressbar, vorp_inventory and vorp_character. The other modules (vorp_admin, vorp_stables, vorp_stores, vorp_banking…) are added depending on what you want to offer players.
In what order should VORP resources start in server.cfg?
First oxmysql, vorp_menu and vorp_lib, then vorp_core, vorp_inputs, vorp_progressbar, vorp_inventory and vorp_character, then the other VORP modules, and finally your own scripts. This is the order of the official server.cfg from the VORP recipe.
Do players need Steam to play on a RedM server with VORP?
Yes. The official VORP recipe marks Steam as required and enables sv_enforceSteamAuth: the framework recognises each player by their Steam identifier. Steam must therefore be running before RedM is launched.
How do I become an administrator on a VORP server?
Add an add_principal line with your Steam identifier and the admin group to the vorp_perms.cfg file of vorp_admin, then set the group column to admin in the users and characters tables of the database. Then restart the server.
Which host installs VORP Core in one click?
At CloudFive, VORP Core installs in one click from the customer area on RedM plans, from the official recipe: the MariaDB database is created and filled, and the configuration completed. The servers are in France, on Ryzen 9 9950X, with Anti-DDoS Premium included.