Skip to content

Open RP is an open source roleplay game-mode for alt:V.

Notifications You must be signed in to change notification settings

chipsed/altV-Open-Roleplay

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

alt:V - Open Roleplay

Remember to 🌟 this Github if you πŸ’– it.


Open Roleplay is a base gamemode for Roleplay servers. It will include the ideal functionality to get the base ground work for a roleplay gamemode started. THIS IS A WORK IN PROGRESS AND IS NOT COMPLETE IN ANY WAY.

I will not be providing direct support for this gamemode; if you have an issue or come across actual functionality issues please raise an issue in the issues tab.

Installation:

The file structure below is the IDEAL and required structure you must use for this game mode. You must follow it exactly.

You're going to need these additional repositories:

You're going to need to install a base version of PostgresSQL.

altVServerFolder/
└── resources/
β”œβ”€β”€ chat/
|   β”œβ”€β”€ index.mjs
|   β”œβ”€β”€ client.mjs
|   β”œβ”€β”€ resource.cfg
|   └── html/
β”œβ”€β”€ orp/
|   β”œβ”€β”€ server/
|   β”œβ”€β”€ client/
|   └── resource.cfg
β”œβ”€β”€ postgres-wrapper/
|   β”œβ”€β”€ client.mjs
|   β”œβ”€β”€ database.mjs
|	└── resource.cfg

Important You can configure your database connection inside of:

Change the 'text' inside of SQL(<here>)

resources/orp/server/server.mjs

Example connection string:
postgresql://postgres:abc123@localhost:5432/altv

After installing the above; if you don't have a package.json in your main server directory where your .exe is you're going to need to do the following:

npm init

Then press enter a bunch of times until its done stepping you through. After you need to install the following packages:

npm install --save typeorm
npm install --save mysql
npm install --save pg
npm install --save sjcl

About

Open RP is an open source roleplay game-mode for alt:V.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.0%
  • HTML 5.6%
  • CSS 1.4%