A RAGE MULTIPLAYER Roleplay framework.
This game mode is still a work in progress, plenty features are planned to be added and a proper roadmap will be published later on.
Client Side | Server Side | Frontend |
---|---|---|
Webpack | Typescript | React |
Typescript | PostgreSQL | React Rewire |
TypeORM | MobX | |
Webpack | Typescript |
Thanks to rootcause for Command Registry
Thanks to Morbo for NoClip
- Account system (Login/Register).
- Character System (3 Available slots to create)
- Notification system
- Chat System
- Command system
Introduction:
Database setup:
This code requires you to have PostgreSQL installed on your machine, read more.
After installing posgree, connect to your database using PGAdmin or HeidiSQL and create a new database by executing a query like:
CREATE DATABASE mydb;
After creating a database successfully, head back to the server files and edit .env by describing the database connection details there. Once you're setup with that, simply start the server, and the TypeORM will start creating the required database tables on its own (see Database.module.ts for deeper info)
Code structure
ragemp-rp-framework
├───config #contains webpack configuration files
├───frontend
│ └───src
│ ├───assets #contains assets such as page images or videos
│ ├───events #contains page events which can be called from the backend
│ ├───pages #contains pages
│ ├───stores #contains temporary stores
│ ├───styles #contains global styling
│ └───utils #contains useful code methods
│
├───source #contains backend code
│ ├───client #contains client-side code
│ ├───server #contains server-side code
│ └───shared #contains shared data between server and client
│
└───.env #contains database connection details
Starting the server in development mode:
Client side:
Server side
By downloading this gamemode you agree to the LICENSE.