> For the complete documentation index, see [llms.txt](https://nurrage-lib.gitbook.io/nurrage-lib-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nurrage-lib.gitbook.io/nurrage-lib-docs/readme.md).

# Developer Platform

<h2 align="center"><strong>Welcome to NurJS (Nurrage) LIB</strong></h2>

<p align="center"><em>NurJS (also known as Nurrage)** is an open-source framework for fast and flexible development on the <strong>RAGE:MP</strong> platform.</em></p>

💡 **About the Project** \
NurJS was created from the idea that RAGE:MP scripting should be *simple and beautiful* — without spaghetti code and chaos.\
The library unites all essential logic into one clean system:

* 🔹 Commands (`N.command`)
* 🔹 Key bindings (`N.bind`)
* 🔹 Database queries (`N.mysql`)
* 🔹 Teleports, blips, and doors
* 🔹 Admin rights, cooldowns, and safe actions

Everything is done in pure **JavaScript (Node.js)** and optimized for performance.\
Instead of writing hundreds of lines, developers use one unified syntax to build powerful gameplay features.

🧩 **Philosophy**\
Our mission is to make server-side scripting faster, safer, and more enjoyable for both beginners and experienced developers.\
\
🚀 Get Started 👉 Go to the next page to begin your setup guide:

**📦 Installation & Setup →**

#### 🔗 Useful Links

* [Discord Community](https://discord.gg/GbvENBuhxU)
* [RAGE:MP Official Website](https://rage.mp/)

{% columns %}
{% column %}

### Get started in 5 minutes

**NurJS keeps your code clean and efficient.**\
Focus on creativity — the framework handles all the boring parts.

Save time and energy build your RAGE:MP project smarter and cleaner.<br>

<a href="/spaces/HspOIUyaPTTcBHV8Lw4T" class="button primary" data-icon="square-down">Installation </a>&#x20;
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// One line — endless power 💥
N.command({
  name: "garage",
  description: "Open your garage and get a car",
  adminOnly: false,
  log: "Garage opened", // лог в консоль
  logToFile: {
    file: "garage.log",              // куда писать лог
    message: "Player opened garage"  // текст в файле
  },
  checker: { prison: 0, join: true },
  createVehicle: { model: "sultan", color1: 0, color2: 0 },
  notify: "Your car is ready!",
  tpToMarker: true
});
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://nurrage-lib.gitbook.io/nurrage-lib-docs/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
