How to set up a RedM server with RSG Framework#
This guide takes you to a working Red Dead Redemption 2 roleplay server using the RSG txAdmin recipe. The recipe sets up the database tables, dependencies, framework, community scripts and map mods for you.
What you need#
- A RedM server with txAdmin
- A MySQL or MariaDB database
- A Cfx.re licence key
1. Create a database#
Make an empty database. Note the host, user, password and database name.
2. Open the txAdmin deployer#
In txAdmin, start a new server and choose to deploy from a remote recipe URL. Paste this address:
https://raw.githubusercontent.com/Rexshack-RedM/txAdminRecipe/main/rsgcore.yaml
3. Enter your database details#
The recipe connects to your database and imports the RSGCore SQL, so you don't need to import it yourself.
4. Run the recipe#
txAdmin downloads and sets up everything. It pauses between batches to avoid GitHub rate limits, so give it a few minutes.
5. Start the server and join#
Review the generated server.cfg, add your licence key, start the server and create your first character. Never share your licence key or database password.
Installing by hand#
Clone the resources into the same folders the recipe uses, and ensure oxmysql, ox_lib and rsg-core in that order. The recipe repository shows exactly what it installs. The setup generator builds an ensure list in dependency order.
If something goes wrong#
Start with the troubleshooting guide, then ask on the community forum or Discord.