01
What RSG Core is, and what you need first
RSG Core is the heart of the RSG framework for RedM: according to its README, it handles players, characters, money, jobs (several jobs per player are built in), gangs, permissions, commands, callbacks and notifications. Other features (inventory, character creation, stables, banking, hunting…) are separate resources, all named rsg-…, published on the official Rexshack-RedM GitHub. Its structure is reminiscent of QBCore on FiveM: a central object obtained with exports['rsg-core']:GetCoreObject() and RSGCore.Functions… functions.
Dependencies. The rsg-core README lists only one required dependency, oxmysql, and states that the core has no dependency on ox_lib: notifications, callbacks, translations, progress bars and zones are built in. Older tutorials still mention ox_lib: go by each resource's README. rsg-inventory, rsg-banking and rsg-log are listed as optional for the core.
The official recipe also requires:
- the Cfx.re server in its recommended version, on Windows or Linux (see artifacts);
- MariaDB (recommended) or MySQL, installed and running before deployment;
- a Cfx.re license key (see Cfx.re license key);
- game build 1491 and OneSync, already set in its
server.cfg;
- port 30120 over TCP and UDP, and access to GitHub during installation.
02
Install RSG with the official txAdmin recipe
This is the method described by the Rexshack-RedM/txAdminRecipe repository. Start the Cfx.re server (FXServer.exe on Windows, run.sh on Linux), then:
- open txAdmin (by default
http://localhost:40120), enter the PIN shown in the console and link your Cfx.re account;
- name the server and choose Remote URL Template;
- paste the recipe address:
https://raw.githubusercontent.com/Rexshack-RedM/txAdminRecipe/main/rsgcore.yaml
- pick an empty folder for the server data;
- enter the license key and the MariaDB database details, then run the recipe;
- wait for every task to finish: the recipe pauses now and then to stay within GitHub's limits;
- review the
server.cfg, save it and start the server.
The recipe imports rsgcore.sql into the database, sets up a full server.cfg (OneSync, voice, start order, permission hierarchy) and sorts the resources into [cfx-default], [standalone], [framework], [community] and [mapmods]. It is for the first installation only: it does not update an existing server. The guide txAdmin on RedM covers first access and the other recipes.
03
Install RSG by hand
Without txAdmin, or to understand what the recipe does:
- oxmysql: download the
oxmysql.zip archive from the Releases page (the recipe takes it from the CommunityOx/oxmysql repository), not the source code, and extract it into resources.
- rsg-core: download it from GitHub and remove the
-main suffix from the folder: it must be named exactly rsg-core, with fxmanifest.lua at its root.
- The database: create an empty MariaDB database and connect it to the server, before the
ensure lines:
set mysql_connection_string "mysql://rsg:long-password@127.0.0.1/rsgcore?charset=utf8mb4"
According to the README, the tables (players, bans, player_jobs, rsg_whitelist…) are created automatically on first start. To create them yourself, set RSGConfig.AutoDatabase to false and import install.sql, for example with HeidiSQL.
- The order: the README asks for
ensure oxmysql then ensure rsg-core. Then add the RSG resources in the order of the recipe's server.cfg (rsg-inventory, rsg-target, rsg-character…).
- The language: French is among the bundled languages:
setr rsg:locale fr.
Do not install rsg-multijob, weathersync, rsg-bossmenu or rsg-gangmenu: the recipe states that rsg-core, rsg-weather and rsg-society replace them. The connection string and its errors are explained in the guide oxmysql, which also applies to RedM.
04
Permissions and the first administrator
RSG sorts the staff into six levels, each one inheriting the rights of the next:
rsgcore.god > rsgcore.headadmin > rsgcore.developer > rsgcore.admin > rsgcore.mod > rsgcore.helper
To appoint a staff member, add their license identifier under the right section of server.cfg, remove the leading # and restart the server:
add_principal identifier.license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx rsgcore.god
- with the recipe, txAdmin adds the master account as
rsgcore.god itself;
rsgcore.god also receives every command of the group.admin group;
- in game, a
god can grant or remove a level with /addpermission and /removepermission, limited to the levels listed in the configuration.
If a staff command does not work, check the identifier, the missing # and that the server was restarted.
05
RSG or VORP: one framework per server
VORP Core and RSG Core do the same job in two different ways:
- identification: VORP recognises players by their Steam identifier (its recipe enables
sv_enforceSteamAuth), RSG by their license identifier;
- the database: VORP is installed with the
MariaDB.sql file from its recipe, RSG creates its tables on first start or with rsgcore.sql;
- access to the core:
exports.vorp_core:GetCore() on one side, exports['rsg-core']:GetCoreObject() on the other;
- resources:
vorp_… on one side, rsg-… on the other.
A script written for one does not work as is on the other. Never install both cores on the same server: each manages characters, money and inventory, with its own tables. To switch from one to the other, start from a fresh server and database. The VORP method is in the guide installing VORP Core, and adding scripts in installing a RedM script.
Updates. Stop the server, back up the database and the server folder, download the new version of each resource, read its README.md for database or configuration changes, carry over your settings, then restart while watching the console. The recipe repository warns: never run rsgcore.sql against a live database as a way to update.
06
On CloudFive
On our RedM hosting plans, RSG Core is not a one-click install: VORP Core is. For RSG, start from the basic RedM server, with no framework, then follow the manual method in this guide:
- upload the resources through the Files tab of the client area or over SFTP;
- use one of the MariaDB databases included with the plan and copy its credentials into
mysql_connection_string;
- follow the startup in the live console;
- make a backup before each new resource or update.
Servers run in France on Ryzen 9 9950X with DDR5 and NVMe, with Premium Anti-DDoS included and a profile specific to RedM, billed monthly with no commitment. If you get stuck, support answers in French, 7 days a week.
07
Frequently asked questions
What is RSG Core?
It is the core of the RSG roleplay framework for RedM, published on the Rexshack-RedM GitHub. It handles players, characters, money, jobs, gangs and permissions; other features are separate rsg-… resources.
What are the dependencies of RSG Core?
The rsg-core README lists only one required dependency, oxmysql, started before it. It states that the core has no dependency on ox_lib, unlike what older tutorials say.
How do I install RSG Core with txAdmin?
On first launch, choose Remote URL Template and paste https://raw.githubusercontent.com/Rexshack-RedM/txAdminRecipe/main/rsgcore.yaml. Enter the license key and the MariaDB database, run the recipe, then review server.cfg before starting.
Can I install RSG and VORP on the same server?
No. Both frameworks manage characters, money and inventory, each with its own tables, and their scripts are not compatible with each other. Pick one and start from a fresh database.
Is RSG Core a one-click install at CloudFive?
No. On CloudFive's RedM plans, VORP Core is the one-click install. For RSG, start from the basic RedM server and install the resources by hand, with one of the MariaDB databases included with the plan.