How to Add Mods, Scripts and Resources to Your RAGE:MP Server Print

  • ragemp, mods
  • 0

RAGE:MP doesn't have a mod store or a one-click plugin installer. You add mods by uploading their files into the right folders on your server. This guide shows you where each kind of mod goes and how to upload it in the game panel.

Before you start: the four kinds of RAGE:MP mods

Most mods you download (for example from rage.mp/files) are one or more of these:

Kind of mod

What it does

Where it goes

Server-side script (JavaScript)

Game logic: commands, jobs, money, saving data, logins

packages/

Client-side script (JavaScript)

Things players see: menus, HUD, speedometer, browser (CEF) UI

client_packages/

C# resource

Same as server-side scripts, but written in C# (.dll files)

dotnet/resources/

Game content (add-on vehicles, clothing, textures)

New models and files loaded into GTA V

client_packages/game_resources/dlcpacks/

Many mods come with both a packages and a client_packages folder. In that case, upload both. Always read the mod's own readme file first, because it tells you exactly where its files go.

Your server's main folder (/home/container) looks like this:

/home/container
├── conf.json            server settings
├── packages/            server-side scripts
├── client_packages/     client-side scripts and game content
│   └── game_resources/
│       └── dlcpacks/
├── dotnet/              C# resources
├── maps/                map files (.json)
└── ragemp-server        the server program (don't touch)

Step 1: Log in to the game panel

  1. Go to https://gamepanel.eastgate.host.
  2. Log in with your game panel username and password. If you don't have them, open your server in the client area (Services → My Services) or open a ticket.
  3. Click your RAGE:MP server to open it.

Step 2: Stop the server and make a backup

  1. In the panel, open your server and click Stop.
  2. Open the Backups tab and click Create Backup. If a mod breaks something, you can restore this backup.
    Your plan includes 3 backups. If all 3 are used, delete the oldest one before making a new one.

Step 3: Upload the mod files

You can upload files in two ways.

Option A: File Manager (best for small mods)

  1. Open the Files tab.
  2. Open the folder the mod belongs in (for example packages).
  3. Click Upload and pick the mod's .zip file.
  4. Right-click the uploaded .zip and choose Unarchive. Delete the .zip afterwards.

The File Manager has a size limit per file. If an upload fails because the file is too big, use SFTP instead.

Option B: SFTP (best for big mods and many files)

  1. Install a free SFTP program such as FileZilla or WinSCP.
  2. In the panel, open the Settings tab and find SFTP Details.
  3. Connect with these details:
  • Host: the server address shown under SFTP Details (it starts with sftp:// and uses port 2022)
  • Username: the username shown under SFTP Details (it looks like yourname.a1b2c3d4)
  • Password: your game panel password
Drag the mod's folders from your computer into the matching folders on the server.

Step 4: Put the files in the right place

Server-side scripts (packages/)

Each mod gets its own folder inside packages, with an index.js file directly inside it:

packages/
└── mymod/
    └── index.js

The server loads every folder in packages by itself. You don't need to list them anywhere.

Common mistake: the folder is nested twice after unzipping, like packages/mymod/mymod/index.js. Move the inner folder up one level so index.js is directly inside packages/mymod/.

Client-side scripts (client_packages/)

  1. Put the mod's folder inside client_packages:
client_packages/
├── index.js
└── mymod/
    └── index.js
  1. Open client_packages/index.js (create it if it doesn't exist) and add one line for each client-side mod:
require('mymod/index.js');

Client-side mods are not loaded on their own. If you skip this line, the mod does nothing. Players download client-side files automatically when they join.

Mods that need npm packages (node_modules)

Some server-side mods need extra Node.js packages (the readme will say npm install). The panel has no command line, so do this on your own computer:

  1. Put the mod's package.json in an empty folder on your PC and run npm install there.
  2. Upload the package.json and the whole node_modules folder to your server's main folder (/home/container).

Your server runs on Linux. Packages that include compiled code (for example bcrypt) must be built for Linux, so a copy installed on Windows may not work. Where you can, use a pure-JavaScript version instead (for example bcryptjs).

C# resources (dotnet/)

  1. Open conf.json and make sure it contains "csharp": "enabled".
  2. Upload the resource's folder (with its .dll files) to dotnet/resources/.
  3. Open dotnet/settings.xml and add a line for the resource, using its folder name:
<resource src="MyResource" />

The resource must be built for the RAGE:MP version your server runs, and it must work on Linux. Check the resource's readme.

Add-on vehicles, clothing and other game content (dlcpacks)

Each pack goes in its own folder with a dlc.rpf file inside:

client_packages/game_resources/dlcpacks/
└── mycars/
    └── dlc.rpf

Players download these files when they join. Large packs make the first join slower, so only add what you need.

Step 5: Start the server and check the console

  1. Click Start.
  2. Watch the Console tab. Each server-side package shows up as it loads. Red error messages usually name the file and line that has the problem.
  3. Join the server and test the mod.

Changing server settings (conf.json)

Most settings live in conf.json in the main folder. You can edit it in the File Manager, for example gamemode, announce or stream-distance.

Don't change port, bind, name or maxplayers in this file. The panel writes these every time the server starts, so your changes would be lost (and a wrong port stops players from connecting). Change the server name in the Startup tab instead.

Troubleshooting

Problem

What to check

Server-side mod doesn't load

Is index.js directly inside packages/modname/? Check the console for errors.

Client-side mod does nothing

Did you add require('modname/index.js'); to client_packages/index.js?

Cannot find module error

The mod needs npm packages. See "Mods that need npm packages" above.

Server won't start after adding a mod

Remove the last mod you added, or restore your backup from the Backups tab.

Players stuck downloading when joining

Large client files or dlcpacks. Remove packs you don't need.

Need help?

If you're stuck uploading files or the server won't start, open a ticket and tell us which mod you're installing (a link helps). We can help with panel and SFTP access, where files go, and server startup errors. We can't write, change or fix scripts and mods for you. For help with a specific mod, contact its author or the RAGE:MP community.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution