Installation NurRage
NurJS (Nurrage) makes RAGE:MP server development lightning fast ⚡. You can install and initialize it in just a few seconds.
🔹 Step 1 — Install the library
Run this command inside your RAGE:MP server folder:
// bash
npm install nurrageThis will automatically download and install all dependencies.
🔹 Step 2 — Initialize NurJS
After installation, initialize the library once.
You can do this in your main server file (for example: index.js or app.js):
// server/index.js
const N = require("nurrage");
N.command({
cmd: "testveh",
description: "test code vehicle",
adminOnly: false,
createVehicle: { model: "sultan", color1: 0, color2: 0 },
notify: "Your car is ready!",
});
console.log("✅ NurJS successfully initialized!");
NurJS automatically:
initializes all internal modules (
commands,binds,cooldowns, etc.),creates a
/logsfolder for your future log files,prepares the environment for vehicle/object spawning, notifications, and admin checks,
and confirms initialization in the console (
✅ NurJS successfully initialized!).
🔹 Step 3 — Start Coding Immediately
Now you can start writing commands and logic anywhere in your server code. For example:
That’s it — your first command is live! 🔹 Step 4 — Auto Setup (optional)
If you want to auto-initialize NurJS without manual code, you can run this shortcut once:
Then in your main file, just require it:
and start coding immediately — everything will be ready.
Install
npm install nurrage
Initialize manually
require("nurrage")
Auto setup
npx nurrage init
Ready to code
Use N.command, N.bind, N.mysql, etc.
⚡Next Step:
Explore real use cases and learn how to create more complex commands.
👉 Basic Commands →
Last updated